PDA

View Full Version : Movie in a button loop while I click


dunno98
07-25-2007, 07:12 AM
How to I stop the movie to loop again once I click on the button?
Help needed.
Thks everybody

Paul Ferrie
07-25-2007, 07:23 AM
on(press){
stop()
}

dunno98
07-25-2007, 07:29 AM
the movie is embedded into a button symbol,
When i do a

stop();

nothing happen,
It still loop again.
If i do a

movie.stop();

it will says
1120: Access of undefined property movie.

Paul Ferrie
07-25-2007, 07:37 AM
In the last frame of your movie put stop()
That will stop it from looping

dunno98
07-25-2007, 07:40 AM
The MC will not reach the last frame when a click event occurs
and when a click do occurs the MC will be interrupted and plays from the begining again.

So i guess adding a stop will not help, but i'll still give it a try.
Thks

Paul Ferrie
07-25-2007, 07:41 AM
Can you post the fla?

dunno98
07-25-2007, 07:47 AM
Here is it, thks

it is in AS3

but I can convert it to AS2 if required

dunno98
07-25-2007, 07:52 AM
AS2 version

Paul Ferrie
07-25-2007, 07:52 AM
Ah sorry bro i know nothing about AS3.

Paul Ferrie
07-25-2007, 07:55 AM
Here you are.

dunno98
07-25-2007, 08:06 AM
Sorry bro, I attached the wrong file.

Look at the AS2 version.

That is the correct one

Thanks bro

dunno98
07-25-2007, 08:15 AM
Thks Paul,
I got it done myself.
You are a great help.
I'm at it for almost a day yet to figure it out.

Thanks!