This content has been marked as final. Show 5 replies
you have to wait until loading is complete before you can navigate to a frame in the loaded swf. ie, use a listener for the complete event for your loader's contentloaderinfo and then use your goto method.
p.s. you'll probably need to cast your loader's content as a movieclip.
I'm not sure I understand. Are you saying after the listener for this event I should do a gotoFrame or will it have to be attached to the new .swf? I can't even imagine how that would work. Also, why would I need to cast this as a movieClip? This works great except for the fact I need it to go to a specific frame.
Other than changing 'gotoAndPlay' to 'gotoAndStop' this worked perfectly. I thought I was getting the 'shape' of functions and 'if' statements. I better expand my scripting view a bit.
Thank you very much!!!