Fire event when FLV finishes playing

How do you fire an event ie. play another FLV or movie clip after one FVL has finished playing. Also is there a way to control how much is buffered of a FLV and play the FLV once a certain percentage has been met?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dushan De SilvaTechnology ArchitectCommented:
Hi clickclickbang,

Sometimes following solution might helpful for you.

BR Dushan
Aneesh ChopraCommented:

here I have uploaded a sample FLA for you..

"FLVPlayback" class support a event "onComplete" which can be used to raise an onComplete event.
sample FLA shows how to attach a listner object to listen oncomplete event.
It shows "movie finished" message on movie complete.

here is the code for reference
my_FLVPlybk.contentPath = "myVideo.flv";
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void
my_FLVPlybk.addEventListener("complete", listenerObject);
movieComplete = function ()
      movieState.text = "movie finished";

yes, you can control how much to buffered to play.. if you select the "FLVPlayback" component instance in FLA and see the parameters tab,
there is a parameter "bufferTime", set the value here for buffering...


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.