XML not loading in SWF

Please, please someone help. I have been at this for days and can't see the woods for the trees any more.
I have a swf embedded in a htm file. I pass FlashVars to it with a view to setting colours for symbols already in the swf.
No matter what I do I simply cannot get the xml loaded. Can someone help and have a look at the following code and tell me where I am going wrong.
I am using Flash CS4/AS 3. The default class is com.main and all .AS files are located in a folder 'com' within the root. All fla. .swf and  .xml files are located in the root.
TIA
Default.htm
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
<p>Hello World!</p>
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="550" HEIGHT="400" id="8 - WHN Sixth Floor.swf" ALIGN="">
    <param name="allowScriptAccess" value="sameDomain" />
    <PARAM NAME=movie VALUE="8 - WHN Sixth Floor.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#FFFFFF>
    <PARAM NAME="FlashVars" value="xmlfile=myxml2.xml" />
    <EMBED FlashVars="xmlfile=myxml2.xml" width="550" height="400" src="8 - WHN Sixth Floor.swf" allowScriptAccess="sameDomain" quality=high bgcolor=#FFFFFF NAME="8 - WHN Sixth Floor.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>   
</body>
</html>
Main.as
package com
import com.*;
import flash.display.MovieClip;
import flash.display.SimpleButton;
import flash.text.TextField;
import flash.display.Stage;
import flash.display.LoaderInfo;
import flash.events.*;
public class main extends MovieClip
  public var gx:getXML;
  public var xmlFileName:Object;
  public function Main()
   //addEventListener( Event.ADDED_TO_STAGE, init );
   init();
  private function init():void 
   //removeEventListener( Event.ADDED_TO_STAGE, init )
   //var xmlFileName:Object = stage.loaderInfo.parameters;
   var gx:getXML = new getXML("myxml2.xml");
   addChild(gx);
getXML.as
package com
  // Static Class
  import com.*;
  import flash.display.SimpleButton;
  import flash.xml.XMLDocument;
  import flash.xml.XMLNode;
  import flash.xml.XMLNodeType;
  import flash.events.*;
  import flash.net.URLLoader;
  import flash.net.URLRequest;
  import flash.net.URLVariables;
  import flash.net.URLRequestMethod;
  import flash.geom.ColorTransform;
  import flash.net.navigateToURL;
  import flash.system.fscommand;
  public class getXML extends SimpleButton
   public var xmlData:XML;
    public function getXML(xmlurl:String):void
     var loader:URLLoader = new URLLoader();
     loader.addEventListener(Event.COMPLETE, LoadXML);
       var urlReq:URLRequest = new URLRequest(xmlurl);
        //urlReq.method = URLRequestMethod.POST;  
        //var variables:URLVariables = new URLVariables();
        //urlReq.data = variables;
        //try {  
                  loader.load(urlReq);
              //} catch (error:Error) {  
                  //trace ("Unable to load requested document.");  
    public function LoadXML(e:Event):void
     xmlData = new XML(e.target.data);
     //xmlData = new XML("myxml2.xml");
     var rslt:XMLDocument = new XMLDocument();
     rslt.ignoreWhite = true;
     rslt.parseXML(xmlData.toXMLString());
     //trace(result.firstChild.childNodes.length);
     for (var i=0; i<rslt.firstChild.childNodes.length; i++)
      staticClass.head_Array.push(xmlData.data[i].head);
      staticClass.color_code_Array.push(xmlData.data[i].colorcode);
      staticClass.url_Array.push(xmlData.data[i].url);
      staticClass.note_Array.push(xmlData.data[i].mc_name + "##" + xmlData.data[i].note);
      staticClass.mc_Array.push(xmlData.data[i].mc_name);
     var k = staticClass.mc_Array.length  
     var j = 0;
     for each (var val:String in staticClass.mc_Array)
      var btn:SimpleButton = SimpleButton(this.parent.getChildByName(val));
      if (btn != null)
       var rojo:ColorTransform = new ColorTransform();
       rojo.color = uint (staticClass.color_code_Array[j]);    
       btn.transform.colorTransform = rojo;
       btn.addEventListener(MouseEvent.CLICK, onClick);
       btn.addEventListener(MouseEvent.MOUSE_OVER, onOver);
       btn.addEventListener(MouseEvent.MOUSE_OUT, onOut);
       * Set mouse over separate colour
       btn.alpha = 3;
      j++;
     function onClick(e:MouseEvent )
      trace(e.currentTarget.name + "----" + staticClass.url_Array[e.currentTarget.name.substring(7, e.currentTarget.name.length)-1]);
      if(staticClass.url_Array[0] != "None")
       navigateToURL(new URLRequest(staticClass.url_Array[0] + "?Room=" + e.currentTarget.name), "_self");
      else
       fscommand("RoomType", e.currentTarget.name);
     function onOut(e:MouseEvent )
      e.currentTarget.parent.getChildByName("HoverText").text = "";
      e.currentTarget.alpha = 3;
     function onOver(e:MouseEvent )
      e.currentTarget.alpha = 1.5;
      for each (var val:String in staticClass.note_Array)
       if(e.currentTarget.name == val.substring(0, val.indexOf("##", 0)))
        e.currentTarget.parent.getChildByName("HoverText").text = val.substring(val.indexOf("##", 0) + 2, val.length);
        //e.currentTarget.parent.getChildByName("HoverText").text = "HELP ME";
staticClass.as
package com
import flash.display.MovieClip;
public class staticClass
   public static var head_Array:Array = new Array();
   public static var color_code_Array:Array = new Array();
   public static var url_Array:Array = new Array();
   public static var note_Array:Array = new Array();
   public static var mc_Array:Array = new Array();
   public static var url_Array1 :Array = new Array();

i don't think you're using Main or you would see error messages.
what's the following trace() reveal:
oh, i can see an error in Main, too:
Main.as
package com
import com.*;
import flash.display.MovieClip;
import flash.display.SimpleButton;
import flash.text.TextField;
import flash.display.Stage;
import flash.display.LoaderInfo;
import flash.events.*;
public class main extends MovieClip   // main should be Main
  public var gx:getXML;
  public var xmlFileName:Object;
  public function Main()
trace(this)
   //addEventListener( Event.ADDED_TO_STAGE, init );
   init();
  private function init():void 
   //removeEventListener( Event.ADDED_TO_STAGE, init )
   //var xmlFileName:Object = stage.loaderInfo.parameters;
   var gx:getXML = new getXML("myxml2.xml");
   addChild(gx);

Similar Messages

  • Crossdomain.xml Not Loading

    This may be a newb question. I’m trying to figure out why my swf file, running from localhost, is bypassing the crossdomain.xml when loading a xml file from a remote domain.
    I stored the crossdomain.xml at the root of the domain.
    http://www.mydomain.com/crossdomain.xml
    When I checked the HTTP headers, there’s no request sent out to get the crossdomain.xml file.
    Another issue is that the Security.sandboxType is always localTruested. Could that be the reason that the swf file is not checking the crossdomain.xml? If so, how can i change the sandboxType.
    Any help is appreciated!
    Thanks

    Can you look at the name of the file you're loading before you load it? So, if it contains .swf don't load? Aside from that, you can get the content type before the image/file is finished loading. You do it with the LoaderInfo object... something like this:
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
    function initHandler(event:Event):void {
        var loader:Loader = Loader(event.target.loader);
        var info:LoaderInfo = LoaderInfo(loader.contentLoaderInfo);
        trace(info.contentType);
    If you load a jpeg you will see: image/jpeg
    If you load a .swf you will see: application/x-shockwave-flash

  • Will not load transparent SWF

    I have problems using an SWF i have made. The SWF is
    displayed with an absolute layer above it. This means it must be
    set to transparent. This works fine in Safari and Opera, but in
    Firefox the SWF will not load at all when the property is set to
    transparent. When that property is not set, it works perfectly.
    Also, it does not work in IE when loaded from the cache, something
    I avoid by using a random variable from a php script.
    Does anyone have any idea what I have done wrong? This is my
    first SWF file compiled with mxmlc, so I may have coded something
    in a bad way?

    steviln wrote:
    > I have problems using an SWF i have made. The SWF is
    displayed with an absolute
    > layer above it. This means it must be set to
    transparent. This works fine in
    > Safari and Opera, but in Firefox the SWF will not load
    at all when the property
    > is set to transparent. When that property is not set, it
    works perfectly. Also,
    > it does not work in IE when loaded from the cache,
    something I avoid by using a
    > random variable from a php script.
    >
    > Does anyone have any idea what I have done wrong? This
    is my first SWF file
    > compiled with mxmlc, so I may have coded something in a
    bad way?
    >
    Transparency is purely browser end, nothing to do with the
    movie.
    Could you provide problematic URL? Funny thing tho, this
    problem never occurs in IE or Firefox
    but more commonly in Safari, while in your case, the other
    way round.
    Anyway, if possibly, give us the URL so we can check it out
    first to find out whether it's
    your end or general problem, then will try to go from there.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Using external XML to load an swf

    Here's the deal - I have a main SWF with lots of loaders. Can
    a hyperlink in an external XML file load another external swf in
    the root flash doc? I have a list of links load in main SWF from an
    external XML file. From these links, I'd like to load other
    external SWFs in the main flash document. I can get the XML links
    to control my browser... can I get them to control what happens in
    my flash doc?
    Thanks!

    nothing in an xml file can load anything. but you can load a
    string that you use in your swf indicate which target file to
    load.

  • Stream Shoutcast + External XML not loading

    I can run the swf locally as a exe and it will correctly
    stream the sound.
    Heres the url:
    http://mikemikhjian.com/sampler/test.php
    This connects to xml file, determines which shoutcast server
    works best, and then it is supposed to stream it.
    I set the security to allowdomains and insecuredomains with
    not sure why its not going tho!
    +
    Just checking as well, my xml that is being loaded from
    external domain wont come up. But still doesnt make sense cause ive
    got:
    System.security.allowInsecureDomain("*");
    System.security.allowDomain("*");

    Just checking as well, my xml that is being loaded from
    external domain wont come up. But still doesnt make sense cause ive
    got:
    System.security.allowInsecureDomain("*");
    System.security.allowDomain("*");

  • Flash/AS3/XML - not loading after XML edits

    HI all,
    I apologize in advance for not being able to give a lot of information. I'm working with a proprietary template for e-learning and trying to get it to work. But, regardless, here's the situation.
    Building e-learning using a Flash and AS3 template that has several parts and relies on one XML file for all content. There is an index (Flash) page that serves as the shell for the entire module. That index page 'hosts' a language selection menu, main menu, and the stage for .swf files that are 'pages' of each chapter. Each 'page' has several 'clips' inside of it (images, text, audio, etc.).
    The XML is structured as such (N = number of items total, X = specific number of that item):
    <xml>
         <course (with title and several other attributes)>
              <chapter type="chapter" title="Title of Chapter">
                   <page>
                        <file><![CDATA[pagedirectory/pageX...N.swf]]></file>
                        <clipX1...N audio='audiodirectory/audio_X...N'> <![CDATA[If there is any on-screen text, this is where it goes.]]></clipX...N>
                        <ccX...N><![CDATA[This is for the closed captioning; all script/audio text is here.]]></ccX...N>
                   </page>
              </chapter>
    etc. for as many chapters as there are.
    The XML file structure is a little odd, but it works...usually. For some reason though, I broke it.
    I put in "chapter 0" which is the introduction. Everything runs smoothly, but then when I add another chapter, the main menu won't load. I assumed this to be something in my XML syntax; however, I've checked over it, including the new stuff I added. BTW: The main menu is populated by the "Chapter" attributes in the XML.
    So, I guess my question is two-fold, and I understand that I may only get very general answers (or questions that relate to specifics):
    Are there things in XML files that when used by AS/Flash simply don't work? I've already checked for "&" and other characters... but are there some other ones?
    Any other guesses as to why the main menu loads when only one chapter is in the XML, but not when there are two? Again, I've check for tag accuracy, etc. What could I be missing though?
    Thanks!
    Andy

    Update. Flash preview gives me this error:
    "TypeError: Error #1085: The element type "cc5" must be terminated by the matching end-tag "</cc5>"."
    I have checked all "cc5" tags in the XML and all are closed by </cc5> ... ?
    AS

  • Firefox will not load my swf file. Runs perfectly in all other browsers. Help!

    I've developed a website (www.fit-mamas.com.au) whereby you click on the black & white image and get a pop-up window running a video. The video is an .flv file running via a .swf file loaded from an html file. The .swf file was produced using Flash CS3. The video loads perfectly in all browsers except for Firefox which just displays a blank screen with video controls. I've been researching online for hours, as this problem is a common one, but nobody else's solutions are working for me. Any help would be appreciated. My code is as follows:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    id="fit-mamas" width="640" height="400">
    <param name="movie" value="fit-mamas.swf">
    <param name="bgcolor" value="#FFFFFF">
    <param name="quality" value="high">
    <param name="allowscriptaccess" value="samedomain">
    <embed type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    width="640" height="400"
    src="fit-mamas.swf" name="fit-mamas"
    bgcolor="#FFFFFF" quality="high"
    swLiveConnect="true" allowScriptAccess="samedomain"
    ></embed>
    </object>

    The video works for me on Linux. The server seems to be slow and playing stops all the time.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Loading external swf  not complete

    Hi, I'm trying to load external swf (with more than one frame and actionscript 3 on every frame - I used there "timeline" coding) from my main swf.
    code for loading external swf into main swf:
    var loader01:Loader;
    function openGame1(evt:Event):void
    loader01 = new Loader();
    var requestSWF01:URLRequest = new URLRequest("game01.swf");
    loader01.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, processHandler);
    loader01.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
    loader01.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
    loader01.load(requestSWF01);
    addChild(loader01);
    function processHandler(evt:ProgressEvent):void
    var loaded:Number=evt.target.bytesLoaded;
    var total:Number=evt.target.bytesTotal;
    var stav:Number=loaded/total;
    loaded_txt.text=(Math.round(stav*100))+" %";
    function initHandler(evt:Event):void{
    loaded_txt.text="";
    function errorHandler(evt:IOErrorEvent):void
         trace ("Error: " + evt.text);
    I found out that this works only for loading swf, which has only one frame (and all actionscript on that frame)... It seems that if there are more frames, than it will not load complete swf (hmm maybe it is caused, because not all objects on frames are export in first frame). Preloading starts but after for example 20 % the event.INIT is fired and the external swf starts to play (and crashes..).
    You can see this here http://bvyborcik.xf.cz/  If you click on the blue building on the left with blinking text "Start hry" you will see what happens - preloading is not completed and after clicking on first floor btn, the swf crashes...
    Please is there a solution for this kind of problem?  Any help or pointing is welcome.
    regards Boris

    just curious, is the file you want to load the swf into set up exactly the same way with the same stage size, fps, and layers?

  • SWF Loader - not loading from variables

    <mx:SWFLoader 
    id="imgComp" width="250" height="150" source="C:/projects/Flexprj/file1swf" autoLoad="true" complete="fnTest()"/>
    The above code is working find and it is loading the swf fine
    The problem comes when I read a list of files and load it..  I read a CSV file,  to get a list of SWF names.
    Then I have the following
    for  
    (var iLoop:int=0;iLoop<_arrBanners.length;iLoop++) {      imgComp.source =       imgComp.source =
    _arrBanners[iLoop];     imgComp.load();
    1. If I give something like this. It is not loading the SWF and
    2. If I give a URL for the imgComp.source , does that download the SWF each time. If so, is there any way to download all the files to local and load from thr.
    Thanks & Regards
    mxvx

    I'm not sure I understood the question, but if you use SuperImage from
    quietlyscheming.com, it will cache images in memory so if you try to get
    them again it will be very quick.

  • AS3 load external swf problem, please help...

    Hey guys, I am really in need of an answer here. I would tremendously grateful if someone has the answer. I'll keep it simple and right to the point:
    1. I have created "index.swf" in AS3. Has it's own "MainClass" class.
    2. I created "holder.swf" which is the main landing page. Has 2 buttons, for the viewer to load the site in fullscreen or standard.
    3. In the timeline of "holder.swf" I have created 2 frames, 1st frame containing the buttons, second frame containing the AS3 external swf loader script.
    It does not seem to want to load my "index.swf".
    I have tested a million different ways, it load other swf's just fine, AS2 and AS3, but for some strange reason it just will NOT load "index.swf".
    This is driving me crazy, I have a feeling it has something to do with a class conflict. I have tried (import MainClass;) in the first frame of "holder.swf" and no luck.
    PLEASE GUYS, LET ME KNOW IF YOU KNOW THE ANSWER!
    THANK YOU SO MUCHO.
    Michael

    Hey kglad,
    Thanks for the quick reply!
    Well here is the problem... With the exception of a few things I need to update, as well as implementing some better preloaders etc... the site is running alright...
    About a week ago I decided that I wanted to site to start with the above landing page. A simple "holder.swf" which would give the viewer something to look at before entering the site... (ideally I want to find a script that will begin loading "index.swf" while the viewer is still on "holder.swf", but I'll figure that out later).
    Anyhow, I created "holder.swf" as I have many times before, and for some reason it does not seem to want to load "index.swf" into the second frame when instructed to do so... does that make sense?
    So... ideally I would like the site to start on the above graphic, then once the button is clicked, "index.swf" opens up...
    It's driving me crazy, because my code works on other swf's I've tested it with, just not with index.swf, which leads me to believe there is something in the MainClass.as file which is causing it not to load...
    What are your thoughts?
    Oh, and many thanks again!!!
    M

  • Load a swf-access network only

    I have created a main swf which can access local files only
    to load another swf that can access network only;
    the two swf are all in local,when I test it in Flash CS3 ,it
    is OK;but when play the main swf in my computer ,it can not load
    another swf file(access network only) ,thanks for your help!

    Im trying to accesing to the functions of Slide4.swf in http://b.elementfx.com/  from other server, in the same server i call the functions and it works, but it doesnt from other.

  • Swf file not loading over Https(SSL) on Internet Explorer...

    hi ,
    I have a .swf file used in html file and i try to browse using "https(SSL)".it will loads fine in Firefox, but in Internet Explorer wont able to load. When right-clicking it says "movie not loaded".
    even i googling for the same and i got below option but i am still not able to get flash on html page. it will working fine in Internet Explorer,FireFox etc when we use"http".
    1) add headers like "Cache-Control: must-revalidate" or "Cache-Control: max-age=0" or "Cache-Control: no-store" etc
    2) use CrossDomain.xml
    we also able to load swf in https on Internet Explorer but for that we have to do below settings in Internet Explorer browser.
    1) Go to Tools --> Click on Internet Option --> click on Advanced tab --> Now in security section checked mark on "Do not save encrypted pages to disk".
    but above way is not a proper way to resolve the https issue
    Thanks.

    found this within the Adobe forums, seems to solve your issue.
    I would make sure to use the crossdomain file as well.

  • SWF files not loading onto page in Catalyst output.

    Hello,
    This is a new one that I have not yet seen.  I have a large assortment of SWF files set up in Scroll Panes and they are not loading up when I check the project using Firefox or Safari.  The site is here:
    www.electronic-lifestyle.com
    Go into any page linked from the top row and then hit a sub page.  When you see a scroll bar come up on the right side of the film strip yet nothing inside the film strip you will see the issue.
    This is really serious and could screw up my entire project so any advice would be really helpful.  I need to figure out why the SWF files are not loading in on the browser with the files from the server when they work just fine using the local deploy files.  Everything works just fine from the machine but when I try to get it to download from the server nothing.
    All of the SWF files are built in Flash CS5 using AS3 and contain some simple links and commands.  Some of the SWF files are coming up just fine, it is just the latest batch of files I have uploaded that are giving me the problem, but only off the server.  The same files work just fine in local mode.
    Thanks in advance,
    Brett

    Chris,
    This is not an apples to apples comparison but I think it will Illustrate the differences.  This is a sample of code from Catalyst that works:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:fclib="com.adobe.flashcatalyst.components.*" xmlns:d="http://ns.adobe.com/fxg/2008/dt">
        <fx:Script>
            <![CDATA[
                protected function mac_btn_clickHandler():void
                    navigateToURL( new URLRequest( encodeURI("http://www.mcintoshlabs.com")), "_blank");
                protected function integra_btn_clickHandler():void
                    navigateToURL( new URLRequest( encodeURI("http://www.integrahometheaters.com")), "_blank");
            ]]>
        </fx:Script>
        <fclib:SWFController loadForCompatibility="true" source="assets/images/ElectronicMain2c.swf" x="0"/>
        <s:Button skinClass="components.Button1" x="0" y="1328" d:userLabel="Mac_btn" click="mac_btn_clickHandler()"/>
        <s:Button skinClass="components.Button1" label="Button" x="0" y="1768" d:userLabel="Integra_btn" click="integra_btn_clickHandler()"/>
    </s:Group>
    This is an example of the AS3 code that was confounding the SWF load on the example I gave:
    button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);
    function fl_ClickToGoToWebPage(event:MouseEvent):void
        navigateToURL(new URLRequest("http://www.mcintoshlabs.com"), "_blank");
    button_2.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_2);
    function fl_ClickToGoToWebPage_2(event:MouseEvent):void
        navigateToURL(new URLRequest("http://www.integrahometheater.com/"), "_blank");
    Now these are from the same page, the first of which is online right now here:
    www.electronic-lifestyle.com/AS/Main.html
    This particular code is used on the Electronics page.  When I look at the two side by side it seems there are some syntax differences but I do not know enough about AS3 to tell what the important differences are.
    Thanks for looking,
    Brett

  • SWF not loading on website---Help please...

    Hi everyone,
    I'm not really new to Flash; I know how to get around persay. Though this task has me almost in tears. I'm trying to put a video playlist on my website. It has 3 videos. The playlist requires a few files in which I put in a folder named "video testing". Heres what I did:
    I created a video playlist in Adobe Flash CS4 with some Actionscript.  I published it in html and flash(swf). Afterwards, I saved the playlist as “MyVideoPlaylist”.  I put all of these files in a folder named “video testing”. This folder contains:   “MyVideoPlaylist.swf”   “MyVideoPlaylist.fla”   “playlist.xml”   “video”  “thumbs”. The video folder contains all the videos for the playlist and the thumbs folder contains the thumbnail images for the playlist. I opened up Filezilla and uploaded all files in that folder to the “flash” folder within the root directory. Since I’m using wordpress I browsed to the page that I wanted to put the flash in and placed the following code in the html section:
    <object width="425" height="344"><param name="movie" value="http://www.burnnoticefanatic.com/flash/MyVideoPlayer.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.burnnoticefanatic.com/flash/MyVideoPlayer.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
    After pasting the code, I viewed the page and saw that the video was not loaded, just a blank white background. Though, when right-clicked, you see the flash options. When I type in the full URL to the swf, the playlist loads correctly. You can see it here: http://www.burnnoticefanatic.com/flash/MyVideoPlaylist.swf
    When its embedded with the code above, it doesn’t work.  
    To see what I mean can be found on the page:  http://www.burnnoticefanatic.com/video-gallery

    What does "http://www.burnnoticefanatic.com/promo.swf" have to do with the file you have been talking about? 
    As far as you saying "it could be that the swf file needs the videos and thumbs to play it correctly"... I assumed you were attempting to use them.
    It's hard to solve this if the right players aren't in the game.  The code you are using in the web page is old-style code.  I would expect that if you publish an html file using Flash and use that code for embedding your file it will solve some potential problems, though those may not have been encountered yet.

  • Problem when load more swf files work with xml files into my movie

    hi ;
    I have one flash file & more of swf files which work with xml files .
    when I load one swf file into my flash file  and remove it and load anther one on the same movieclip in my flash file it load the old swf file.
    when i load one on movieclip and remove it and load anther swf  on anther movieclip the file doesn`t work  and stoped.
    when test my flash file to load and remove swf files without xml file it work fine but when repleaced the swf files with other work with xml files the problem hapend.
    thanks;

    YOu should trace the names of the files that are being targeted for loading to see if they agree with what you expect.  If you want help with the coding you will need to show the code that is relevant to your problem (not all of it)

Maybe you are looking for