PDA

View Full Version : homemade pause button for MediaDisplay component


barman008
05-31-2006, 05:19 PM
Any help would be greatly appreciated!

I need to make a pause button for an FLV. The FLV is in the MediaDisplay component (from mx2004) and I'm using cue points to activiate event animations. I don't want to use the playback component - I just need a pause button.

My problem:
It would be easy for me to use the new Flash 8 individual component buttons, but this needs to run in Flash 7 player and it's my understanding that these new components don't work in FLash 7 player.

I've researched this and found that it's easy using NetStream method (doh!), however, it's too late for me to go back and do it over again (I would have to do the actionscript for all the cue points, rather than just leaving them in the component inspector.)

So the question is, what would be the script for this button that would pause the action of a video inside the old MediaDisplay component?

THanks,
barman

barman008
05-31-2006, 05:34 PM
I need to create a homemade pause button for the MediaDisplay for Flash players 6-7.

My problem:
--I can't use the new Flash 8 individual component buttons, because I'm building this presentation for flash 7 player.
--I researched this and found that it would be easy using NetSream method with video object (doh!), but I use a lot of cuepoints to activiate event animations throughout, which means I would have to reenter all the cuepoints in actionscript rather than simply leaving them set in the component inspector. I'm not prepared to do that right now, unless someone can convince me it's easy to do.
--I don't want to use the MediaPlayback component for aesthetic reasons. see video at --

http://cybersmart.org/flash/welcome/welcome.htm

My question:
What would the script be for a pause button for the MediaDisplay component?

Thanks!!!
barman008