Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use actionScript to play a Movie Clip when another finishes

Status
Not open for further replies.

GGROD

Programmer
Feb 7, 2002
68
US
I have this action script in a frame:

if(button_name == "button1"){
tellTarget ("frameTransition") {
gotoAndPlay(14);
}
}

In this movie clip it plays what I need starting at frame 14 of the movie clip and stops at frame 26. I'd like to add code here that says:

When frame == 26
tellTarget ("frameButton1") {
gotoAndPlay(2);
}

I know "When frame == 26" is not valid. Can someone tell me what is the statement to determine the frame postion within a movie clip?

Thanks

Rod

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top