Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding forms with ScrollPane

Status
Not open for further replies.

siituser

Programmer
Sep 30, 2002
67
CA
I've got a movie with 2 forms - both have scrollpanes in them. I hide one onload (which works) I've created 2 buttons - each should make one form visible and the other not visible. In my actionscript for one button I have:

on (release) {
_root.application.FORM1.visible=false;
_root.application.FORM2.visible=true;
}

Nothing happens. Does anyone know what I'm missing? I'm not sure if it has to do with the scrollpanes or just my ActionScript.

Thanks
 
Missing an underscore?

on (release) {
_root.application.FORM1._visible=false;
_root.application.FORM2._visible=true;
}
 
Found the problem - I had True, not true - ActionScript 2 is case sensitive... Thanks for getting back to me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top