This content has been marked as final. Show 7 replies
<objectinstance>._visible = false
don't forget the "_"
Hmmm?? Get the same Error...
**Error** Scene=Scene 1, layer=Layer 1, frame=5:Line 16: There is no property with the name '_visible'.
01._visible = false
Total ActionScript Errors: 1 Reported Errors: 1
what kind of object ist this "01"? isn't that the instance name of the button you want to hide?
Yes, the 01 is the instance name of the button in the properties folder and the name of the button in the library folder.
Is that a problem that the instance name is the same as the name of the button in the library folder?
referring to the "Naming Guideline" of flash, avoid using name like below
// includes a slash
// includes a space
// includes a dot
// begins with a number
5warthogs = 55
these applied to all instance name, variable name, & function name.
renaming helped get ride of the error.
Changing the instance name to something other than the symbol name did the rest of getting the button to disappear.
Thank you guys for helping me get to the bottom of this problem!