Skip to main content
Participant
November 25, 2008
Question

Can't stop the videos from playing

  • November 25, 2008
  • 5 replies
  • 629 views
Hello, I was wondering if anyone could help me. I have quite a few videos on my web pages but they play automatically when i get to the page. and all play at once. Im trying really hard to stop them so this doesn't happen. Ive tried using the behaviors and actions but nothing is working. Could anyone help?
This topic has been closed for replies.

5 replies

kglad
Community Expert
Community Expert
November 28, 2008
you're welcome.
kglad
Community Expert
Community Expert
November 27, 2008
applying the stop() method to a timeline will stop the playhead from playing that timeline (unless there's other code that executes afterwards and restarts the playhead).
ruckewAuthor
Participant
November 28, 2008
Thank you. I figured it out. I had to embed the video into the timeline for the actions to work. usually when I imported them it was the progressive which is an external movie
kglad
Community Expert
Community Expert
November 25, 2008
apply the stop() method to your flvplayback instances after you assign its contentPath. apply the play() method to start an instance.

you can check the video class or the netstream class for another way to stream video in flash.
ruckewAuthor
Participant
November 26, 2008
Thank you for your help but i think im doing something wrong. its not working. I actually used movie clips inside my timeline, and it wont stop but im going to take your advice and see if i can do it through netstream. thanks again
ruckewAuthor
Participant
November 26, 2008
sorry to bug you but before i do that do you by chance happen to know a way to stop a movie clip. the stop action doesnt work
ruckewAuthor
Participant
November 25, 2008
i used flvplayback. the only way i know how but if theres another way, I would love to know
kglad
Community Expert
Community Expert
November 25, 2008
how you do it depends on how you're starting the videos. are you using the flvplayback class or the netstream class?