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?
Thanks
LVL 1
clickclickbangAsked:
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.

http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_21793569.html

BR Dushan
0
Aneesh ChopraCommented:
Hi,

here I have uploaded a sample FLA for you..
http://s63.yousendit.com/d.aspx?id=3TP5GV9XG7OIH0WJIOHGEI504V


1.
"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
----------
import mx.video.*;
my_FLVPlybk.contentPath = "myVideo.flv";
//
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void
{
      movieComplete();
};
my_FLVPlybk.addEventListener("complete", listenerObject);
//
movieComplete = function ()
{
      movieState.text = "movie finished";
};
---------

2.
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...


Rgds
Aneesh
0

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.