I created a swf file using actionscript 3.0 in flash builder. And I want to use this swf file in a after effects script(which is extendscript).
- Now, my swf file need to load a xml file from a relative path. If I export the swf file from flash builder as a debug version, then load the swf file in the scriptui, I can load the xml file.
- But, if I move the swf (debug version) to a different location (the relative path for the xml file is still right), I can't load the xml file anymore.
- If I export the swf file as publish version, then I can't load the xml file no matter where I keep the swf file.
I'm using the "./sample.xml" style path and "URLLoader" and "URLRequest" to load the xml file. Can anybody help me with this? I really appreciate it! Thanks guys!!!