PDA

View Full Version : Flash not displaying on web page



ennis_inc.
07-14-2009, 02:59 PM
Hello

I have a web page with a Flash insert that wont work. Link here http://www.adamsmcclure.com/newsite/products.html

Flash file link here:
http://www.adamsmcclure.com/newsite/gallery_flash/gallery.swf

Any help would be much appreciated.

Thanks,
Aaron

auntnini
07-14-2009, 08:05 PM
I cannot understand why this would affect <OBJECT> ... but why is it inside <NOSCRIPT> tags


<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="960" height="500" title="Adams McClure Products">
<param name="movie" value="gallery_flash/gallery.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="gallery_flash/gallery.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="960" height="500" wmode="transparent"></embed>
</object>
</noscript>

ennis_inc.
07-14-2009, 08:21 PM
I don't have a answer of what those tags are for but thats the way Dreamweaver inserts it. We have a flash insert on another page that has the same tags and its loading and playing fine.

auntnini
07-16-2009, 12:26 AM
Please forgive me for being a "curiosity cruiser," but I was hoping someone would explain Dreamweaver's putting your <OBJECT>... inside <NOSCRIPT> tags.

http://www.w3schools.com/TAGS/tag_noscript.asp <NOSCRIPT>

Use of the <noscript> tag:
<script type="text/javascript"> document.write("Hello World!")</script>
<noscript>Your browser does not support JavaScript!</noscript>

Definition and Usage
The <noscript> tag is used to provide an alternate content for users that have disabled scripts in their browser or have a browser that doesn'tít support client-side scripting. The noscript element can contain all the elements that you can find inside the body element of a normal HTML page. The content inside the noscript element will only be displayed if scripts are not supported, or are disabled in the userís browser.

Frankly, I don't give up control of my Web pages to Dreamweaver or even Flash. I do FLASH File>Publish Settings .... >Publish [Flash][HTML] to generate all that <OBJECT> stuff and numbers, but then I cut and paste the code output into my HTML page so I have full control (usually have to check/change the path to the Flash.swf file). I don't know if that would help?

Often the simplest and most obvious solution is the hardest to figure out, so forgive me further for asking a dumb "nerd" question (but it has happened): "Is that the correct file path/name (value="gallery_flash/gallery.swf") in relation to the page at http://www.adamsmcclure.com/newsite/products.html?"

The movie shows up at http://www.adamsmcclure.com/newsite/gallery_flash/gallery.swf

Otherwise, does the problem involve the version of ActionScript and/or the Flash Player designated in the Publish Settings?


<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="960" height="500" title="Adams McClure Products">
<param name="movie" value="gallery_flash/gallery.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="gallery_flash/gallery.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="960" height="500" wmode="transparent"></embed>
</object>
</noscript>

thetestingsite
07-16-2009, 12:57 AM
The way it inserts the code is by using Javascript (AC_FL_RunContent script). The noscript is just a fallback in case the user does not have javascript enabled in their browser. You should try using SWFObject instead to add flash files to a webpage as it is easier to use and understand. As far as the OP's question, I'm really not sure what's going on with it as it seems to load the movie (if you right click on it, you can see the Flash context menu that allows you to zoom in and out of the movie); however, it doesn't seem to show anything. I'm going to have to examine this a little further to be able to troubleshoot it.

Hope this helps.

punstc
07-16-2009, 06:43 PM
I just took a look at it in safari. It's not finding a couple of files. This is what it is looking for:

http://www.adamsmcclure.com/newsite/gallery.xml
http://www.adamsmcclure.com/newsite/css/images/nav/blankdrop_black.gif

a lot of modern browsers won't load flash all the way if it cannot find all of the pieces that it is requesting. Make sure everything is linked up properly.

arithehun
07-20-2009, 07:25 PM
Here is the original message:

Hello

I have a web page with a Flash insert that wont work. Link here http://www.adamsmcclure.com/newsite/products.html

Flash file link here:
http://www.adamsmcclure.com/newsite/gallery_flash/gallery.swf

Any help would be much appreciated.

Thanks,
Aaron

To which arithehun replies:

You should try this code in your html code:

<center>
<embed
src="(your file name).swf"
width="300(or desired width)"
height="300(or desired height)"
allowscriptaccess="always"
allowfullscreen="false"
/>
</center>

But first make sure your DWT file is in them same place as your SWF file.

You can create a .swf out of your .fla file by pressing CTRL+ENTER
I hope this helps.