0

I have created movieclips on my timeline from actionscript... yet whenever I try to reference them, it says:

Symbol 'puzzle1', Layer 'AS3', Frame 1, Line 27 1120: Access of undefined property piece1.

But it's there. I can see it, and I can see where I gave it the instance name. Do I need to call instance names another way if they're not physically on the stage in my FLA when I publish it?

0

1 Answer 1

0

Based on the content of the error I can assume that you're trying to access piece1 which is on the stage from puzzle1 which is also on the stage.

If this is the case, piece1 will need to be referenced via:

MovieClip(root).piece1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.