Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-07-2003, 12:37 PM   #1
i like chips
Registered User
 
Join Date: Sep 2003
Posts: 26
Default can't disable button??

Hey everyone,

I'm having some trouble disabling a button and I'm not really sure what's going on. I have a MC on a scene. As soon as this MC loads I want to disable buttons that are on the scene. ie I have sort of a " movieclip popup window." and when it pops up I want the buttons behind this movie clip to be disabled so the user only interacts with the mc. I've tried:

ActionScript Code:
_root.btnEmail.enabled = false;

but it doesn't seem to work. Any ideas? Would this have to do anything with the fact that the button I'm trying to disable (btnSend) contains a mc as well??

Help! hehe
i like chips is offline   Reply With Quote
Old 10-07-2003, 12:41 PM   #2
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579
Default

enabled is an mx action

you'll need to put your buttons inside mcs...then say on frame 2 of each mc you have the button graphic but its just shape (or a graphic symbol or whatever)

then when you want to disable the buttons you send each clip to frame 2

cheers
__________________
Billy
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Old 10-07-2003, 12:45 PM   #3
i like chips
Registered User
 
Join Date: Sep 2003
Posts: 26
Default

hm wow that was quick. thanks and I will do that
i like chips is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:43 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.