|
Prev: Tools Question
Next: Smoother Blending?
From: Scott_K on 5 May 2008 10:10 I have a flash applicaiton that initializes by reading in an XML file. It runs fine as a swf. but I inserted it as a swf in Director and it is flashing on the screen showing some kind of error is occuring. How do I get this to work? this is the only way I'll be able to use Director on this project as I need to control the play of Quicktime movies.
From: Scott_K on 5 May 2008 10:45 This is the error in the Director message box: -- Error #2044 text=[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2035"] -- Error #2044 text=Error #2032 -- Error #2044 text=Error #2032
From: Rob Dillon on 5 May 2008 13:47 Which version of Flash and which version of AS? If you are trying to import an XML file then be sure that you link the .swf to the Director movie and not fully import it. The .swf must remain outside the Director movie so that it can get to the external xml file.
From: Scott_K on 5 May 2008 17:41 Hi Rob, It seems importing it (AS3) into Director 11, the flash file cannot load the xml file, but when the same file is run in Flash, it can load the file. Is this a security limitation? You seem to be indicating that I could load, other than importing into the Director authoring environment, the flash file? I'm hitting with Director the same difficulties I remember so well. The Flash sprite cannot be referenced in the code, its functions cannot be reached by myFlash.myFunction() from within the Director timeline. I was thinking I could just import the XML files (they are local for this app), then feed them to the Flash XML object?
From: Sean Wilson on 5 May 2008 17:50
> It seems importing it (AS3) into Director 11, the flash file cannot load the > xml file, but when the same file is run in Flash, it can load the file. Is this > a security limitation? I think it's rather a limitation in the Flash Asset xtra insofar as it can't handle AS3 swfs |