Skip to main content
February 24, 2014
Answered

The command "_visible=false;" does not work.(AS2)

  • February 24, 2014
  • 1 reply
  • 449 views

I have written this command for a movie clip (mol_up) :

onLoad = function(){

mol_up._visible=false;

}


But it is still showing, when I press ctrl+ENTER to view my movie.

And I want that this movie clip(mol_up) only shows when a certain button is pressed.

What would be the solution for this problem?

This topic has been closed for replies.
Correct answer Ned Murphy

Just use...

    molup._visible = false;

it goes in the timeline, and you have to assign the instance name "mol_up" to the object via the Properties panel

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
February 24, 2014

Just use...

    molup._visible = false;

it goes in the timeline, and you have to assign the instance name "mol_up" to the object via the Properties panel