;

PDA

Click to See Complete Forum and Search --> : [RESOLVED] How to tell if a movie has stopped playing


Ex-Ess
08-26-2009, 09:42 AM
Hi again! Spend most of my life on here at the moment! :(

I have a movie in my library which I've assigned a class so I can attach it to the stage in my code. This movie has stop() markers along it.

all fine so far! :)

I have it fade in and play when the user clicks a button.....and it stops when it hits a marker (stop()) Now I want it to fade back out once it stops.

Is there an eventlistener that I can put in to say the movie has stopped?

I tried putting a call to the fade out function (on main timeline) in the video with the stop()'s but knew it wouldn't work.

Any help please people?! :D

Cheers

Ex-Ess
08-26-2009, 09:52 AM
Sorted it myself! :)

Used a custom listener to dispatch a stopped event.