Link to home
Start Free TrialLog in
Avatar of AndySinger
AndySinger

asked on

stop flv at cue point

I am horribly new to flash...here is what i want to do.  

I have a linked FLV file working with the media control and display component. It is a 30-second clip and i would like to place 2 or 3 cue points on it.  

At each cue point, I would like the flv to stop playing, and have text appear next to it.  When someone is done reading the text, they can continue the flv.  There is alot of text, which is why i need the video to stop playing completely.  

I am using this tutorial http://www.macromedia.com/devnet/mx/flash/articles/vidtemplate_corppreso.html to get some text headers to display in synch with the cue points, but i need to have the video stop playing completely at each cue point, and then have the person click play to continue it once they are done reading.

I'm sure this is relatively easy given the complexity of flash, but i just dont know how to do it.

Thanks!

-andy
Avatar of fixitben
fixitben

Have look at this http://www.devarticles.com/c/a/Flash/Adding-Video-and-Sound/8/

And the stuff before it.  If you load your video this way you can pause and play when ever you like.  But I know no way of having the video pause with the media component.  

So if you want to load the flv this way I can help you.  But if you insist on the media component  I have no idea how to get it to do that.

Fixitben
Avatar of AndySinger

ASKER

Isn't there some kind of actionscript that can pause the media display component at a certain cue point ?

If not, i guess we will have to do it that way with that netstream method, but it looks complicated...

-andy
Ok I did a little research  what you have to do is give the media component a instance name of what ever  I chose media.  Then Where you want the video to pause just put this in a keyframe there media.pause();  then when you want it to start again place this in the keyframe media.play();  

To give a instance name click on the component on the stage then in properties there is a place on the left hand side to type in a instance name.

Fixitben
ok i will check that out....
ok, where do i put that keyframe ?  the same layer that the media component is in ?

and do i add that code to the component's actionscript or to the keyframe ?
ASKER CERTIFIED SOLUTION
Avatar of fixitben
fixitben

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok that worked, thank you !!
Your Welcome Glad I could Help!!!!!

Fixitben