Results 1 to 4 of 4
  1. Can't load flash file in html :$


    I am designing a website for a Christian Broadcasting Network and I have trouble loading a flash dock menu in html.

    I got the code at,

    and I improvised the following to try to load it:
    HTML Code:
    <script type="text/javascript">
    		var flashvars = {};
    		flashvars.xml = "icons.xml";
    		var attributes = {};
    		attributes.wmode = "transparent"; = "slider";
    		swfobject.embedSWF("dockmenu.swf", "dock-menu", "960", "50", "9",  flashvars, attributes);
    I think it isn't loading the xml file, for I see just flash whitespace in the dimensions I provided in the code.

    Here is the live version of the site:

    Any help in getting this handled would be immensely appreciated.

  2. #2
    Join Date
    Apr 2011
    Austin, TX
    What I use in situations like this is Fiddler ( - seems I need 5 posts for a real link). Fiddler acts as a local proxy - when I use it with FireFox and force all traffic through it, it captures all requests. So if your XML is not being loaded by the flash, you WILL see a 404 and the exact path it is looking for.

    So I looked at your site via fiddler2 and Firefox, and sure enough, I see a 404 calling /church/font.swf. But this is not your problem . . .

    What I don't see in fiddler is dockmenu.swf being called at all. My guess is that its because there is no div with an id of "dock-menu" and so your swf embed fails silently.

  3. #3
    Join Date
    Jan 2002
    United Kingdom
    It looks as if you are also missing additional HTML code to display the flash.

    Something like this:

        <script language="javascript">
    	if (AC_FL_RunContent == 0) {
    		alert("This page requires AC_RunActiveContent.js.");
    	} else {
    		AC_FL_RunContent( 'codebase',',0,0,0','width','728','height','90','id','728x90_bannaz','align','middle','src','728x90_bannaz','quality','high','bgcolor','#ebebeb','name','728x90_bannaz','allowscriptaccess','sameDomain','allowfullscreen','false','pluginspage','','movie','728x90_bannaz' ); //end AC code
          <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=",0,0,0" width="728" height="90" id="728x90_bannaz" align="middle">
            <param name="allowScriptAccess" value="sameDomain" />
            <param name="allowFullScreen" value="false" />
            <param name="movie" value="728x90_bannaz.swf" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#ebebeb" />	
            <embed src="728x90_bannaz.swf" quality="high" bgcolor="#ebebeb" width="728" height="90" name="728x90_bannaz" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="" />          
    Bannaz™ | Amazing HTML5 Banner Ad Designer!
    Leading designers in online advertising
    Need banners? Visit our Website

  4. #4
    Join Date
    Jan 2011
    have you inserted the code in header
    then please copy paste your inserted code here then only we can help

Similar Threads

  1. attached .html file for html e-mail
    By infotq in forum Web Design and Content
    Replies: 2
    Last Post: 07-02-2006, 09:28 PM
  2. Someone convert RAW stats (.gz file) to Awstats html file for me?
    By LPan in forum Hosting Software and Control Panels
    Replies: 0
    Last Post: 08-30-2005, 10:59 PM
  3. Tracing file path requests from a FLASH swf file...
    By mouseattack in forum Programming Discussion
    Replies: 4
    Last Post: 03-23-2005, 05:36 PM
  4. Show a a flash file before showing another flash file
    By Niklas in forum Web Design and Content
    Replies: 5
    Last Post: 12-20-2003, 06:01 PM
  5. Flash / PHP file upload (w/out standard HTML form)
    By tetraxor in forum Programming Discussion
    Replies: 3
    Last Post: 06-21-2003, 04:49 AM

Posting Permissions

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