Hey guys,
I’m a web developer with some Flash experience, and I was trying to tackle the problem of listening to events (play, pause, etc.) in instances of FLVPlayback.
What I’m trying to do is keep people from randomly starting up several FLVPlayback instances I have in my Flash movie all at once. When they go to play another video, I want any others currently playing to pause themselves.
This is a lot more difficult than I thought it was going to be because I can’t find how to listen for the different commands in each of my FLVPlayback instances.
I guess I’m looking for two things:
-
How to correctly set up a listener to pay attention to whenever a video has it’s play button clicked.
-
How to tell all the other videos to pause as soon as the other is played.
Any help here would be great!
Thanks,
- EI