This content has been marked as final. Show 5 replies
yes, you can. where do you want this code to reside?
if the code is on the same timeline as the target movie (say targetMC) into which you load your external swf (say external1.swf) and your external swf contains a button on its main timeline with instance name extButton, then you can use the following to cause a button press to replace external1.swf with external2.swf:
I think I want the code to reside inside the loaded swf... sooo... the button in my loaded swf should have this code on it correct?
if you want the code to be inside the loaded swf, you would use the following on the main timeline (if that's where your external button is located):
I've tried a few things... including what you suggested, but either I'm still not putting the code in the right spot... or the code isn't working like it should. I have a zipped folder of the project files on my server if you could download and take a look. I have a readme file in there too explaining exactly what I want accomplished.
ok, I figured it out myself. Basically what I had to do was list the parent + the child in the movie clip where the button was located.. so for example there is a panorama movie, which has a child parorama holder, which has inside it, the bitmiap panorama where the buttons are. so it would look like this:
holder being the area where the swf files were being loaded and contained.