user3446277
user3446277

Reputation: 1

ArgumentError: Error #2109: Frame label play not found in scene Scene 1

I'm trying to get a movie clip to play when clicked.

square.addEventListener(MouseEvent.CLICK, playME);

function playME(event:MouseEvent):void
{
gotoAndPlay("play");
}

that is the code i'm using in my scene, and I have a play label in the movie clip.

I don't know how to link the action in the scene to the label in the movie clip?

I did it somehow but undid alot of the work and now I can't remember how to do it..

Upvotes: 0

Views: 2465

Answers (1)

Bennett Keller
Bennett Keller

Reputation: 1714

If the square is the MovieClip you want to play, use square.gotoAndPlay("play");

Upvotes: 1

Related Questions