Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-18-2009, 09:33 PM   #1
Senior Member
Cazz's Avatar
Join Date: Feb 2005
Location: Sweden
Posts: 302
Default clear flvplayback

Hi I have this code as a preloader for flvplayback and it work ok

ActionScript Code:
mcfilm.flvplayer.progressInterval = 001; mcfilm.flvplayer.contentPath = "sakerhet350.flv"; var listenerObject:Object = new Object(); listenerObject.progress = function(eventObject:Object):Void {     BytesTotal = eventObject.bytesTotal;     if(eventObject.bytesLoaded >= eventObject.bytesTotal/10){     mcladdar._visible=false;     mcfilm.flvplayer.play();      } } mcfilm.flvplayer.addEventListener("progress", listenerObject);

I have the flvplayback (flvplayer) inside a movieclip (mcfilm)

all this I have in a function so I can easy call it when I need the movie to run.

The problem is that it run the first time but if I stop it with a button and want to play it again, nothing happend, it just say loading (the mcladdar show)
Cazz is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:15 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.