all groups > flash (macromedia) > december 2006 >
You're in the

flash (macromedia)

group:

Object Visibility Setting



Object Visibility Setting Chaz03
12/26/2006 8:09:33 PM
flash (macromedia): Ok, I'm not sure what I am doing wrong and could use a new set of eyes. I have
a button that has the following script that toggles the visibility of an object
instance called "Next":

on (release) {
this._root.Next._visible=!this._root.Next._visible;
}

The toggling works fine. The problem is I cannot find a way to start Next's
visibility to false. I would like it to be invisible until the button is
clicked making it visible.

Thanks in advance!
Re: Object Visibility Setting Chaz03
12/26/2006 9:14:43 PM
Well, thanks, I got it anyways. For some reason, I had to put this script in
the second frame instead of trying to put it in the first:

Next._visible=false;

Not sure if it just couldn't be in the 1st for some reason or if it had to be
in the same frame that the MC "Next" started in.
AddThis Social Bookmark Button