Play movie button

i have a button … and i want it to play a movie when i RELEASE the mouse1 key

after the movie is done playing , i wanna be able to click on other buttons to view other clips

i.e.

if i click on a button Z ----> play movie1
if i click on a button Y -----> play movie2

Frame 1 has a stop(); action with your buttons.

Frame 2 has the first animation.

The animation starts on frame 2 and ends on frame 22.

Frame 22 has a gotoAndStop(1) action to go back to the buttons.

Second animation starts on frame 23.

Second animation ends on 43.

Frame 43 has a gotoAndStop(1) action to go back to the buttons.

Button for first animation has this action …

on (release) {
gotoAndPlay(2);
}

And the button for second animation has this action …

on (release) {
gotoAndPlay(23);
}

I hope this point in a direction helps you.

i already have an .avi made , i want a button that will play that avi when i press on it.

Oh, I have never worked with AVIs imported into Flash so I can’t help you there.