Results 1 to 7 of 7

Thread: Flash not displaying on web page

  1. #1
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Flash not displaying on web page

    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/...sh/gallery.swf

    Any help would be much appreciated.

    Thanks,
    Aaron

  2. #2
    Join Date
    Oct 2006
    Location
    New York, NY, USA
    Posts
    262
    Thanks
    42
    Thanked 24 Times in 24 Posts

    Default <noscripot> ??? </noscript>

    I cannot understand why this would affect <OBJECT> ... but why is it inside <NOSCRIPT> tags

    Code:
    <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>

  3. #3
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Oct 2006
    Location
    New York, NY, USA
    Posts
    262
    Thanks
    42
    Thanked 24 Times in 24 Posts

    Default curiosity

    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="clsid27CDB6E-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>

  5. #5
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    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.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  6. #6
    Join Date
    Aug 2007
    Location
    Harrisburg, PA
    Posts
    131
    Thanks
    6
    Thanked 9 Times in 9 Posts

    Default

    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/...drop_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.

  7. #7
    Join Date
    Jul 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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/...sh/gallery.swf

    Any help would be much appreciated.

    Thanks,
    Aaron


    To which arithehun replies:

    You should try this code in your html code:
    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.
    Last edited by arithehun; 07-22-2009 at 03:37 PM. Reason: needed to narrow it down

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •