Skip to main content
Known Participant
July 9, 2009
Answered

my child clip does not support property

  • July 9, 2009
  • 1 reply
  • 362 views

I have "myStage" movie clip on my scene1>layer 1>Frame and go is child movieclip of myStage. Default I want to hide "go" movieclip. But my code does not work any more. What was the error on my code.

Code on : scene1>Layer 1 > Frame 1

root.myStage.go.visible=false;

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

If you are on the root timeline, you don't have to reference it.  Try using:

myStage.go.visible=false;

OR

MovieClip(root).myStage.go.visible=false;

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
July 9, 2009

If you are on the root timeline, you don't have to reference it.  Try using:

myStage.go.visible=false;

OR

MovieClip(root).myStage.go.visible=false;