×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Control .AVI playback in the movie

Control .AVI playback in the movie

Control .AVI playback in the movie

(OP)
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

RE: Control .AVI playback in the movie

(OP)
OK, I found some suggestions to use .wmv instead, I converted my clip and now everything's working great.
Still I wondr - why isn't it possible to control divx in the same way? Or is it?

Mike

RE: Control .AVI playback in the movie

Try

sprite(sprite channel).movieRate=0

Cheers~Frank

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close