Hello,
I'm a total beginner, so sorry if I'm asking a stupid question, but I've been googling for two hours now on and can't find the answer.
My problem is: I imported a movie into the cast, it's a DivX movie. I placed it on the Stage and it's playing fine, as soon as I start the movie. What I'm stuck on is playback control. I'd like to be able to pause the movie by clicking on it.
I tried to add a new behavior, named "Pause" with a script like this:
on mouseUp me
sprite(me.spriteNum).pause()
end mouseUp
but whenever I click the video I get an error stating that handler was not found in object.
Could anyone give me some hints?
Mike
I'm a total beginner, so sorry if I'm asking a stupid question, but I've been googling for two hours now on and can't find the answer.
My problem is: I imported a movie into the cast, it's a DivX movie. I placed it on the Stage and it's playing fine, as soon as I start the movie. What I'm stuck on is playback control. I'd like to be able to pause the movie by clicking on it.
I tried to add a new behavior, named "Pause" with a script like this:
on mouseUp me
sprite(me.spriteNum).pause()
end mouseUp
but whenever I click the video I get an error stating that handler was not found in object.
Could anyone give me some hints?
Mike