|
-
Hi,
Can anyone help?
I need to either:
Hide a button instance (that is not a movie clip) ie render invisible using AScript
Or
Hide a layer using Ascript
I am sure it is very easy....
Thanks very much
Ed
-
click on the button, go to insert>convert to symbol
(even thought its already a button) and convert it to a movie clip.this wont affect the button. right-click on the button, which is now in a movie clip, and select actions.
type this in
onClipEvent(enterFrame)
{
this._alpha = 0;
}
this makes its alpha go to 0...as you can see. this works too:
onClipEvent(enterFrame)
{
this._visible = false;
}
either one should work. good luck.
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
|