1 person found this helpful
When you import an swf into a file, all actionscript is stripped from it. You need to load it dynamically and it should work if you do, although there may need to be some tweaking depending on how the loaded swf is designed/coded.
Thank you Ned, is there a KB I could find out how I would do that?
theoretically possible, it must be loaded dynamically and should know the name of the old variables swf, to send the new settings and should also know the name of the functions, which initiate the search
How you load the file will depend on which version of Actionscript you are using for the main file.
I am using Actionscript 3.0
THen you can use the Loader class to load the file. Just get loading it to work first to see if the file works as hoped when it is loaded.
var ldr:Loader = new Loader();
(hopefully I didn't miss something basic in that)
After is is loaded and working you can deal with placement and adding dressing for it. If you want to you can add it into whatever skin movieclip using...
instead of the last line above.