|
-
Loaded Movie Problems
Hi,
I have a big problem, I have a movie which image "2" is on. When I click a button I load movie "1" onto the stage. My problem is that the "2" image is a button (which loads another movie) and once I load the "1" image the actions on the "2" image are active. How can I turn off the actions of this button once movies are loaded on top of it?
Thanks in Advance!
Ryan
Last edited by xbaggypants; 03-02-2007 at 12:58 PM.
-
Registered User
hi xbaggypants,
Welcome to FlasKit.
If you want to disable the button after clicking it, you can use the enabled property.
code:
my_btn.onRelease = function()
{
this.enabled = false;
// load the external file
// do what you want...
};
-
I just tried it, does this work if the movies are on different levels?
-
Registered User
Disabling a button using the enabled property works as long as the button exists at the time you trigger the code and you specify the correct target path.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|