Skip to main content
Inspiring
April 4, 2008
Answered

_visible Help

  • April 4, 2008
  • 4 replies
  • 355 views
The function below is executed and all runs well (i.e. the percentage preloader works fine and displays the percentage values in my Dynamic Text Field which has a Var label of 'loadText'. It is stored inside my percentage_mc movieclip on the main timeline), however, when the whole movie has loaded, I need to be able to hide the text field from view, but it's not working with the code I have below.

Any idea on what i'm missing? (apart from a good actionscript brain!)

Thanks for reading.

This topic has been closed for replies.
Correct answer douggler
That's great - all sorted now.

Thanks for your help.

4 replies

kglad
Community Expert
Community Expert
April 7, 2008
you're welcome.
kglad
Community Expert
Community Expert
April 4, 2008
the _visible property is a propety of textfields, but not of variables.
April 4, 2008
I looks like loadText is a text box on the stage and not a movieclip and _visible i think only applies to movie clips... you could put the box inside another movieclip and then target it so that the _visible property works.

But to save time you could simply once the condition is met tell it to:
this.loadText = "";

Cheap trick but it may work
dougglerAuthorCorrect answer
Inspiring
April 7, 2008
That's great - all sorted now.

Thanks for your help.
kglad
Community Expert
Community Expert
April 4, 2008
use the instance name of your textfield. (you're trying to assign your textfields variable's _visible property, which doesn't exist, to be false.)