Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop FLV Files

Status
Not open for further replies.

MikeCB

Technical User
Aug 12, 2004
43
GB
hi again,

Just wondered if there is anyway to stop an FLV file embedded in flash, because the one I have starts automatically and I want to have to press play before it starts to play the movie.

Thanks
 
It doesn't work because it isnt embedded in the timeline, its streaming from a webserver
 
where do I put that peice of code?
 
To stop FLVPlayback you can do either FLVPlayback.stop(); or FLVPlayback.pause();, but if you just want to stop your video starts playing automatically then you can set autoPlay to false.

Kenneth Kawamoto
 
It still won't work, I've tried putting it in the timeline and ino the clip itself but it still won't work.

LOL it is starting to get annoying now
 
You can do FLVPlayback.autoPlay = false; but if you want to do it manually, select the FLVPlayback instance on Stage, then go to Component Inspector. There you'll see "autoPlay" property listed.

Kenneth Kawamoto
 
Yep that worked!

Thanks Very Much kennethkawamoto!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top