You dont have any attach action on your last frame. Place this code on your last frame:[AS]port_btn.onRelease = function() {
myBlank_mc.attachMovie(“subMenu”,attachedSub,1);
};[/AS]
Now I feel really stupid…
I missed those quotation marks and I assumed since the mc gets exported in the first frame that’s also where I should put the action.
Which brings up 2 more questions:
Would it still work if I put the action in the first frame?
In your opinion, is it better to use swf’s and loadMovie or the library and attachMovie for the navigation? (and Why?..OK, so this one is 2 parts…)
BTW, I love this website !!!
Great tutorials and instant help on the forums
Just because the movie clip was exported in first frame doesnt mean the actions should go on first frame too.
Your main timeline has 45 frames and a stop action on its last frame. So it means when the movie reachs its 45th frame, it will stop. Since the attachMovie action was defined on frames 1 to 44, when you reach frame 45 and click the button, nothing will happen because the action is not defined on the current frame.
[edit]and what you mean by navigation? you mean the content of your page?[/edit]
kax, that was my afterthoughts too. If I need to make changes to the menu I wouldn’t need to edit the main movie.
I’d be curious to know how long it takes to load the external movies over 56k though. I guess I’ll put a sample together and find someone who’s still on the slow end. (They’re getting harder to find).