PDA

View Full Version : Need javascript help please to control FLVPlayer



nebstar
12-18-2008, 02:33 PM
Hi, I need some help to create some javascript as i can understand Java when reading it but am not to sure on writing it (if that makes sense?).

I have a FLVPlayer object on a layer on my webpage and it currently plays fine.

However, I have multiple layers with different movies, images etc.
The problem at the moment is that if you click play on the movie it will continue to play even when the layer is hidden.

So ideally I would like to create some script which tells the FLVP object / player or layer is hidden reset, stop or I asme autoplay= false so the flash movie will stop streaming.

If anyone could give me some pointers in the right direction on how to script this I would be eternally grateful

Many thanks