PDA

View Full Version : is there a way to play/stop an embedded swf video


oksoft
07-14-2007, 03:38 AM
I want to know if there is a way to play/stop an emdedded swf video by script So when the user click on a hotspot,it can play the video and then stops when the pano enters into another view?

Thanks

clodomi
07-18-2007, 10:23 AM
Hello Oksoft !

Did you see this:
http://flashpanoramas.com/blog/2006/12/27/hotspot-example-review/
Maybe it will help you!

oksoft
07-20-2007, 03:23 AM
Thanks Clodomi

I have already checked that example but didnt find what i need.

What i need is to be able to catch the ending of a embedded video clip so when the video clip ends,the pano will then load another pano. I tired to use timer,but this doesnt work well.So i want to know if there is a better way to know catch the event.

Thanks

jaaaab
07-20-2007, 08:05 AM
Hi,

To me the best way to do that by compiling your own flvplayer.

Catch the event in AS3 into flvplayer.fla (source provided with FPP2.1) , and then send a loadpano using localconnection (have a search in the forum ;)

++

Denis
07-28-2007, 02:10 PM
Yea, Jaaaab is right (as always :)), you need to write some Actionscript code (similar to flvPlayer.fla), Flash video is an internal movie's object, no common way to control it...