View Full Version : Can't see my FLASH on live web page-HELP!
I recently upgraded from Flash MX 2004 to Flash CS3 and Dreamweaver CS3 and cannot see my flash animation banner/file when I publish my webpage. It shows up no problem in the local web preview mode in DW. No error when the page is live...just no flash :( Never had this before with older versions.
Also, I embeded the Flash on my HTML page, tried to simply copy the code from the HTML page that Flash created (everything between the body tags) and pasted it into the appropriate place in your existing page. Also made sure that other files that Flash created .JS (AC_RunActive...) are put into the same folder as that page on the server as well. Still NOTHING!
HELP! This is driving mad! :confused:
TORCH511
12-05-2007, 12:51 PM
I recently upgraded from Flash MX 2004 to Flash CS3 and Dreamweaver CS3 and cannot see my flash animation banner/file when I publish my webpage. It shows up no problem in the local web preview mode in DW. No error when the page is live...just no flash :( Never had this before with older versions.
Also, I embeded the Flash on my HTML page, tried to simply copy the code from the HTML page that Flash created (everything between the body tags) and pasted it into the appropriate place in your existing page. Also made sure that other files that Flash created .JS (AC_RunActive...) are put into the same folder as that page on the server as well. Still NOTHING!
HELP! This is driving mad! :confused:
The reference to the flash animation (or the JS file) is incorrect. For whatever reason. Perhaps if you linked to the page so the source could be viewed....
Putting the FLA and JS files necessary in the same folder as the web page they will be viewed on does not do any good if the Object tage does not POINT to the same folder.
Thanks AIRPRO,
Well I changed the refrence and pointed (full path) to the FLA file in the HTML page and JS file and still nothing. Perhaps I am doing something wrong.:confused:
It does not work even "insert, media, flash" form the DW menu. I've never had this problem with older versions, why did they change this. Very frustrated and ready to go back to my older version -- MX 2004.:mad:
"The reference to the flash animation (or the JS file) is incorrect. For whatever reason. Perhaps if you linked to the page so the source could be viewed....
Putting the FLA and JS files necessary in the same folder as the web page they will be viewed on does not do any good if the Object tage does not POINT to the same folder."
Below is the code in the HTML file. Works locally, but not when live.
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','650','heigh t','250','title','YRSA','src','Flash/YRSA_banner_11_07','quality','high','pluginspage', 'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','Flash/YRSA_banner_11_07' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="650" height="250" title="YRSA">
<param name="movie" value="Flash/YRSA_banner_11_07.swf">
<param name="quality" value="high">
<embed src="Flash/YRSA_banner_11_07.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="650" height="250"></embed>
</object></noscript>
TORCH511
12-06-2007, 08:40 AM
<param name="movie" value="Flash/YRSA_banner_11_07.swf">
That line is bothering me. You said the SWF file was in the same directory as the web page. If so then it should be:
<param name="movie" value="YRSA_banner_11_07.swf">
The other thing is make sure the following line is in the head of the document
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
Make sure you adjust the reference to reflect where the file is located. For example. Normally, all pages minus the index (home) page are located in a subfolder called "pages" the scripts would be located in subfolder called "includes"
If I were to be including the flash on the home page, the line would look as follows:
<script src="includes/AC_RunActiveContent.js" type="text/javascript"></script>
If it were on any other page it would be:
<script src="../includes/AC_RunActiveContent.js" type="text/javascript"></script>
Hi AIRPRO,
Thanks for your help!!!! My flash is live on the web is working :D
The problem was the path to the AC_RunActiveContent.js file in my HTML page -- I had it incorrect as it was in a sub folder. What a dumb error on my part and I thought I checked my code.
THANK YOU SO MUCH:):):)
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.