Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-12-2012, 05:42 PM   #1
Registered User
Join Date: Mar 2012
Posts: 19
Default Problem with movie-clip visibility


I have a (hopefully small) problem: I'm trying to disable a button (which works fine) - and also the small icon I use to characterize the button (which doesn't work):

ActionScript Code:
if (_global.skill1 == 0){ skill_1_btn._visible = false; icon_skill_1._visible = false;} else null;

I double checked the name of the movie clip (the lower one) - it's the name of the instance not of the movie clip in general. I also tried using "alpha" instead of "visibility". Does anybody have an idea what I'm doing wrong?

Thanks in advance!
THP is offline  
Old 04-14-2012, 08:17 AM   #2
Registered User
Join Date: Mar 2012
Posts: 19

Nevermind ... found a workaround.
THP is offline  
Closed Thread

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 12:25 AM.

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.