FLV Component Ends then gotoAndPlay labeled frame - using actionscript3

I am trying to add action script that will do the following.

after intro video finishes playing
gotoAndPlay a labeled frame in my timeline.

I have tried everything I can think of, but have had no luck.
Please help... I'm in a crunch to get this done :(
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.

Aneesh ChopraCommented:
here is the sample AS3 code,

change followings in the code below:
1) all occurance of "my_FLVPlybk" with your actual FLVPlayback instance name
2) udpate FLV Path at:"<FLV VIDEO PATH HERE>";
3) update frame label at: "<FRAME LABLE HERE>";

import fl.video.FLVPlayback;
import fl.video.VideoEvent;
my_FLVPlybk.source = "<FLV VIDEO PATH HERE>";
my_FLVPlybk.addEventListener(VideoEvent.COMPLETE, cp_listener);
function cp_listener(ev:VideoEvent):void {
	trace("FLV ENDS");
	gotoAndPlay("<FRAME LABLE HERE>");

Open in new window

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
ao_mAuthor Commented:

it works perfect.
Aneesh ChopraCommented:
To close a question, you should also accept a comment as solution if you are satisfy with it.
otherwise it will remain as an opened question.
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
Web Development

From novice to tech pro — start learning today.