Using a button, I am loading an external swf into a blank movie clip on my main timeline. In that external swf, again using a button, I am loading another external swf into a blank movie clip on it’s timeline. Doing this, the last external swf loaded (the one loaded into the external swf that was loaded into an mc on the main timeline) doesn’t work. Any buttons or actions do not function and it’s not positioned properly.
I think this has something to do with levels or depths or something but I am very confused. If someone has some insight on this, please share.
Please include the script if you can, I’m new at this…
make sure the paths to your movies are named correctly,
say we were to press a button on the main timeline so to effect the movie in the nested swf in the external swf. the last one in other words.
this code would look into the blank Mc which i called " 1 blank MC", then go to the 2 blank Mc which i called " 2 blank MC" then it would do the action you request which is in the 2 blank mc.
Thanks for your help, but I’ve got a more pressing problem: I can’t even see my buttons in the last external swf when it’s loaded. Any idea what gives?
my problem is the same, I have a blank mc (mc1) on top of a second blank mc (mc2). Mc1 is my topbar with a simple mousefollow type highlighter. Mc2 is my background. If I ONLY have Mc1 loaded, the mousefollow works. but if Mc2 is loaded with Mc1 loaded on top layer- All functionality of Mc1 is gone, it becomes a really cool 45 hours-to-make picture. Also if Mc1 is loaded INTO Mc2 it still does not work. I have to have both mc’s separated becase I want the mousefollow resricted to the topbar only and not over the rest of the site. HELP!!!
Maybe this will help, i mocked up something to show you a swf being loaded into a mc, then another swf being loaded to a 2ndblank MC from the external swf main time line.
Ive made some button to load and unload the swf, you will notice that when you get down to the last swf , the nested one in mc 2, that the buttons on mc2 still work.
*Originally posted by Soulty *
**p13 and AplusIGX could you both post your fla’s?. **
Thanks for all your help so far. I downloaded your example but for some reason applying it to my site didn’t seem to help. Here’s my fla’s for you to check out:
hey P13 you have to change some of your paths in portfolio swf. since your loading to a target mc , the _root will always be the first movie, your main movie, so for all your code to work in the portfolio section you have to change where you are targeting the button to load the swf in.
Your code (illustration button)
on (release) {
loadMovie("illustration.swf", "_root.blanket");
}
this will make the movie look for a instance mc called blanket on the the main timeline , you dont want to do that you need to follow the path to where your instance “blanket” is .
on (release) {
loadMovie("illustration.swf", "_root.blankhost.blanket");
}
I was wondering if it was possible to load the 2nd MC into it’s own new popup window, instead of loading it onto the root/main page? I know this can be done into a new HTML window but I don’t want to do that.
I would like to enable a button to launch a smaller sized window that contains text and I’d like to do it using swf/movie clips.