Today I was having some troubles embedding my flash file in Dreamweaver. I have done this so many times never having a problem before. It would play just fine in Dreamweaver CS3 but as soon as I would open my browser to view it, it wouldn't play. I used Firebug which can be downloaded for firefox as an add on to help me troubleshoot the error. The error that was being generated was AC_FL_RunContent is not defined. Dreamweaver automatically creates a Scripts directory with a JS file inside called AC_RunActiveContent.js when you save your file with the embedded flash.
After doing a little research I realized when I defined my site within Dreamweaver CS3 I defined it outside of the root of my www directory. This was my problem. Your scripts directory must be located within your web root. I cut the directory from outside my web root into my www directory and there it was. Just another important lesson on properly defining your sites within dreamweaver.
this was a very helpful article indeed. But I had to add an extra step. I had to include the AC_RunActiveContent.js in the page by adding this line
<script type="text/javascript" src="Scripts/AC_RunActiveContent.js"></script>
to make it work online. In local machine there was no issues though.
<script type="text/javascript" src="Scripts/AC_RunActiveContent.js"></script> Dreamweaver should have included this for you when you embedded your flash.
Any ideas?
I was thinking I need to adjust my arguements inside the js file, but since I am not a javascript guru I wouldn't know where to start..
When I looked at your view source you have your .js file sitting in the Scripts directory? I think you need to change your mapping to the JS file so it should look like this... There is no AC_RunActiveContent.js in your scripts directory.
<script type="text/javascript" src="http://www.theatreworks.com/includes/js/AC_RunActi..."></script>
Nicole
Let us know if it works.
-Nicole
You can change de directory of the scripts in IIS too... I have been do this and work perfect...
For de brasilian guys....
Olha só, se alguém chegou aqui e quer saber que raio de erro é esse, é que o IIS têm uma pasta chamada SCRIPTs e o Dreamweaver CS3 cria uma também... aí dá um pouco de conflito. No IIS você pode trocar a pasta de scripts para essa pasta aí do seu site... resolve o problema. Valeus!
Thanks people...
http://www.peachtreebaptist.net
It's been working and then all of a sudden it stopped and I can't see any reason why it stopped. But that's the error I get: AC_FL_RunContent is not defined. But I haven't edited it or changed anything - it just stopped. Any ideas?
Please help!
http://www.gold4power.com
<a href="http://www.lszwjx.com">????</a> <a href="http://www.lszwjx.com">?????</a> <a href="http://www.lszwjx.com">????</a> <a href="http://www.lszwjx.com/about.htm">?????</a> <a href="http://www.lszwjx.com/about.htm">?????</a> <a href="http://www.lszwjx.com/news.htm" target="_blank">http://www.lszwjx.com/news.htm">????</a> <a href="http://www.lszwjx.com/news.htm" target="_blank">http://www.lszwjx.com/news.htm">????</a> <a href="http://www.lszwjx.com/product.htm">????</a> <a href="http://www.lszwjx.com/product2.htm">?????</a> <a href="http://www.lszwjx.com/plist493.htm">?????</a> <a href="http://www.lszwjx.com/product2.htm">?????</a> <a href="http://www.lszwjx.com/plist490.htm">?????</a> <a href="http://www.lszwjx.com/product2.htm">?????</a> <a href="http://www.lszwjx.com/plist495.htm" target="_blank">http://www.lszwjx.com/plist495.htm">?????</a> <a href="http://www.ruian2machine.cn">???</a> <a href="http://www.ruian2machine.cn">?????</a> <a href="http://www.ruian2machine.cn">?????</a> <a href="http://www.plastic-thermoforming-machine.com/product.htm">thermoforming Equipment</a> <a href="http://www.packagemachinery.cn">bag making machine</a> <a href="http://www.todesign.com.cn">????</a> <a href="http://www.todesign.com.cn">????</a> <a href="http://www.tzonegroup.cn">??</a> <a href="http://www.tzonegroup.cn/about.asp">??????</a> <a href="http://www.tzonegroup.cn/products.asp">???</a> <a href="http://www.rajayj.cn">???</a> <a href="http://www.rajayj.cn">?????</a> <a href="http://www.ashuashi.com.cn">????</a>
<a href="http://www.gowowpowerleveling.com">power leveling</a> <a href="http://www.gowowpowerleveling.com">wow power leveling</a> <a href="http://www.zhongke-china.com">paper box</a> <a href="http://www.zhongke-china.com/about.asp" target="_blank">http://www.zhongke-china.com/about.asp">paper box equipment</a> <a href="http://www.plastic-thermoforming-machine.com">thermoforming Equipment</a> <a href="http://www.plastic-thermoforming-machine.com">Plastic Machinery</a> <a href="http://www.plastic-thermoforming-machine.com/about.htm">Plastic Machine</a> <a href="http://www.wzbtjx.cn">??</a> <a href="http://www.wzbtjx.cn">????</a> <a href="http://www.wzbtjx.cn">???</a>
To the spammers out there. Go funk you self
It actually looks like it there for a nano second then the status indicator says 'done'.
Also wanted to note that I can open the swf directly without an issue... just can't get it to load when it is in html.
Thank you -C
Code:
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style><body bgcolor="#000000">
<div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/...=7,0,19,0','width','423','height','565','title','Nocturnal Media Player','src','http://www.mattdarey.com/mp3player/myspace','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','myspace' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/...=7,0,19,0" width="423" height="565" title="Nocturnal Media Player">
<param name="movie" value="myspace.swf" />
<param name="quality" value="high" />
<embed src="http://www.mattdarey.com/mp3player/myspace.swf" target="_blank">http://www.mattdarey.com/mp3player/myspace.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="423" height="565" ></embed>
</object></noscript>
</div>
http://www.levelvip.com http://www.wotlkgolds.com
http://www.superpowerleveling.com http://www.wlkgame.com
http://www.wotlk-powerleveling.com http://www.uweddingdress.com wedding dresses
<b><a href="http://www.nfljersey.us/football-houston-texans-c-...">Replica Houston Texans jerseys</a></b>
<b><a href="http://www.nfljersey.us/football-houston-texans-c-...">Houston Texans jerseys on sale</a></b>
<b><a href="http://www.nfljersey.us/football-indianapolis-colt...">Indianapolis Colts Jerseys</a></b>
<b><a href="http://www.nfljersey.us/football-indianapolis-colt...">Cheap Indianapolis Colts jerseys</a></b>
<b><a href="http://www.nfljersey.us/football-indianapolis-colt...">Replica Indianapolis Colts jerseys</a></b>
<b><a href="http://www.nfljersey.us/football-indianapolis-colt...">Indianapolis Colts jerseys on sale</a></b>
<b><a href="http://www.nfljersey.us/football-jacksonville-jagu...">Jacksonville Jaguars Jerseys</a></b>
<b><a href="http://www.nfljersey.us/football-jacksonville-jagu...">Cheap Jacksonville Jaguars jerseys</a></b>