Solved

stop flv at cue point

Posted on 2004-09-24
8
711 Views
Last Modified: 2012-08-14
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
0
Comment
Question by:AndySinger
  • 4
  • 4
8 Comments
 
LVL 7

Expert Comment

by:fixitben
ID: 12146338
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
0
 

Author Comment

by:AndySinger
ID: 12146559
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
0
 
LVL 7

Expert Comment

by:fixitben
ID: 12146851
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
0
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 

Author Comment

by:AndySinger
ID: 12147555
ok i will check that out....
0
 

Author Comment

by:AndySinger
ID: 12148186
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 ?
0
 
LVL 7

Accepted Solution

by:
fixitben earned 200 total points
ID: 12148216
I would create a new layer but it doesn't really matter.    And you would put it on the key frame or you could add it to a button such as

on(release){
media.pause();
}

or
on(release){
media.play();
}


Here is an example  http://theyac.org/experts/media.fla

Fixitben
0
 

Author Comment

by:AndySinger
ID: 12165901
Ok that worked, thank you !!
0
 
LVL 7

Expert Comment

by:fixitben
ID: 12166036
Your Welcome Glad I could Help!!!!!

Fixitben
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error 2032 in all the browser 6 2,837
video live streaming 1 123
Flash Player Action Script Error 1090 5 207
Download Adobe Flash Player 6 65
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question