|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
using a button to load an external movie
Hiya,
I've been reading through the articles and have seen something similar,.,. but I still can't quite grasp how this is supposed to work so.. . I have a main.swf into which I am loading my menu.swf with createEmptyMovie. **createEmptyMovieClip("menu_holder", 3); menu_holder._x = 0; menu_holder._y = 0; menu_holder.loadMovie("menu.swf");** I have a button in menu.swf that I want to use to display page1.swf in layer 2 of main.swf so that the menu shows when page 1 is loaded. I'd really appreciate any help here, basically I'm new to flash mx and its a bit of a mystery. Thanks Cat ^.^ |
|
#2
|
|||
|
|||
|
Hi, if your menu.swf is ordered so that all the buttons are in the top level of that particular movie then this should do it:
Code:
on(release)
{
_parent._parent.loadMovie("page1.swf", 2);
}
|
|
#3
|
|||
|
|||
|
meow
ay! thanks mate - it turns out this is the code to solve my problems:
_root.content_holder.loadMovie("blank.swf"); I was just missing the _root heh.. live and learn. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > using a button to load an external movie |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|