1

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).

  1. 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.
  2. 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.
  3. 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!!!

4

1 に答える 1

0

おそらく、パブリッシュされた SWF のセキュリティ設定を変更する必要があります (リモート ファイルのみにアクセスすると思います)。

于 2013-11-28T05:51:11.453 に答える