WordPress.org

Ready to get started?Download WordPress

Forums

Flash Not working :-( (3 posts)

  1. spags88
    Member
    Posted 3 years ago #

    Can anyone tell me why my flash is not working on my site? I have tested the flash file and it is working ok I have also inserted this code to link up to the flash so it works on the site and still no joy

    <!-- start FLASH Object -->
    <div id="flashcontent">
    <div class="aligncenter">

    <img src="http://www.adobe.com/images/shared/download_buttons/get_adobe_flash_player.png" alt="" />
    </div>
    </div>

    <script type="text/javascript">
    var fo = new FlashObject("http://www.safetysolutions.ie/wordpress/wp-content/themes/11745/flash/header_cs4.swf", "mymovie", "823", "540", "7", "#336699");
    fo.addParam("quality", "high");
    fo.addParam("scale", "noscale");
    fo.addParam("wmode", "transparent");
    fo.write("flashcontent");
    </script>
    <!-- end FLASH Object -->

  2. illynl
    Member
    Posted 3 years ago #

    I've had the same problem, if i start the SWF in the standalone flashplayer it loads just fine.

    After opening the source file ".fla" i found that there are some vars declared for the XML file, the Picture folder but not for the stylesheet.

    try changing the code on second frame from the layer "actiions"

    var xmlSrc;
    var picSrc;
    if (xs==undefined) {
    	xmlSrc="tfile_main_XML.xml";
    } else {
    	xmlSrc=xs+"tfile_main_XML.xml";
    	cssSrc = xs+"tfile_main_CSS.css";
    }
    
    if (pic==undefined) {
    	picSrc="";
    } else {
    	picSrc=pic;
    
    }

    into:

    var xmlSrc;
    var cssSrc;
    var picSrc;
    if (xs==undefined) {
    	xmlSrc="tfile_main_XML.xml";
    	cssSrc = "tfile_main_CSS.css";
    } else {
    	xmlSrc=xs+"tfile_main_XML.xml";
    	cssSrc = xs+"tfile_main_CSS.css";
    }
    
    if (pic==undefined) {
    	picSrc="";
    } else {
    	picSrc=pic;
    
    }

    Now make sure that the stylesheet file is in the same directory as the xml file.

  3. flacleco
    Member
    Posted 3 years ago #

    Hello,Spags88
    I have the same problem as you knew and saw that your site your flash was ok now.
    What forestay the solution to your problem

    thank you

    Bonjour,
    j'ai le même probléme que toi et j'ai vu que sut ton site ton flash était ok maintenant.
    Quelles étai la solution a ton probléme

    merci

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.