Siebe
12-03-2008, 09:54 PM
Hi guys,
I've successfully added a .stop(); event to an flv instance:
this.Content.FilmPanel.FilmContent.mwh.stop();
but apparently this only works when the flv is actually playing. When it's not, I get an error message.
So I tried to detect whether the flv is playing or not:
function stopAllMovies():void {
if not (this.Content.FilmPanel.FilmContent.mwh.playing == false) {
this.Content.FilmPanel.FilmContent.mwh.stop();
}
}
But apparently this doesn't work. Is there a way that does work?
Cheers,
Siebe
I've successfully added a .stop(); event to an flv instance:
this.Content.FilmPanel.FilmContent.mwh.stop();
but apparently this only works when the flv is actually playing. When it's not, I get an error message.
So I tried to detect whether the flv is playing or not:
function stopAllMovies():void {
if not (this.Content.FilmPanel.FilmContent.mwh.playing == false) {
this.Content.FilmPanel.FilmContent.mwh.stop();
}
}
But apparently this doesn't work. Is there a way that does work?
Cheers,
Siebe