I have main flash file called index.swf and in that I'm loading an external movie called help.swf using the below code:
On help.swf I have a button which brings me back to the main file i.e. index.swf using the below code.
When index.swf is loaded I want it to go to a particular frame.
I tried using levels but then my print function doesn't work properly.
Need help urgently.
Instead of using loadMovie you need to use the MovieClipLoader.loadClip() method so that you can listen for the completion of the file being loaded. If you look in he help documents for MovieClipLoader.addListener it includes an example.