6 Replies Latest reply: May 4, 2012 2:39 PM by saratogacoach RSS

    CS5.5 Publish SWF including Main.AS script

    saratogacoach Community Member



      In Flash Pro CS5.5, I've created an Fla and scripted it (in AS3) using a separate AS file (package) which is linked. When I publish the SWF and both the SWF and AS files are in the same folder, it runs fine. If I separate out the SWF (without the AS file), and try to run it, it doesn't play (run the script).


      How do I include (embed) the AS file into the published SWF so that wherever the SWF is located, it is self-contained so that it plays using the script from the AS file?