This content has been marked as final.
Show 3 replies
-
1. Re: Set visibility to 0 is not working
brooksrv Aug 11, 2010 9:12 AM (in response to INVT)Try: visible = false;
-
2. Re: Set visibility to 0 is not working
smilelilac Aug 12, 2010 5:42 AM (in response to INVT)when a movie is on the main stage it sholube represented as _root.spec2
try this one
on a toggle button
For on Button:
on (release) {
gotoAndStop(2);
setProperty("_root.spec2", _visible, "1");
}For off Button:
on (release) {
gotoAndStop(1);
setProperty("_root.spec2", _visible, "0");
} -
3. Re: Set visibility to 0 is not working
Ned Murphy Aug 12, 2010 6:00 AM (in response to smilelilac)The use of "_root" references should be tempered to only necessary situations. Too often people use it when there is no need for it, and in this scenario it is not necessary.



