Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Flash Not working :-(’ is closed to new replies.