Groups | Blog | Home
all groups > flash (macromedia) > october 2005 >

flash (macromedia) : Playing multiple Flash videos in one frame



ryansebiz
10/29/2005 11:50:56 PM
On the DVDs page of my web site I have one area for my Flash videos to play.

There are four Flash videos I would like to play inside that one frame.
Ideally, the user could click on the DVD disc and the corresponding video will
play in the same frame.

How do I do this?

The page is located at www.ryanjburnett.com/dvds.

I currently have the page set up to play one video, not all four. I?ve heard
of iframes but have never used them. What?s the best way to do this?

I have Dreamweaver 8 and Flash 8 and am fairly new to both.

Thanks in advance for your help.

Equan
10/30/2005 12:00:00 AM
you can place 1 instance of the MediaPlayer in 1 movie. I would have 4 frames
and this code on eace frame
mc = instance name of MediaPlayer.
frame 1
mc.contentPath = "myVideo1.flv"
frame 2
mc.contentPath = "myVideo2.flv"
and so on
then have a button to take the user to the frame containing the movie to be
shown on that frame.
This way u don't have to reload the entire page to see each movie.
You could also place 4 MediaPlayers on 1 frame each with their own instance
name and set the contentPath to each flv.
Make sure the autoPlay is set to false so the user can play the movie by
clicking the playbutton on the Mediaplayer.
Hope this helps:cool;
ryansebiz
10/31/2005 8:02:42 PM
Equan,

Thanks for your reply.

Do the changes you suggest all take place in Dreamweaver or do some take place
in Flash? I'm new to both programs and I'm trying to figure out the best way to
implement your ideas.

The media player was created by DW when I inserted the flash videos into the
page. It inserted FLVPlayer_Progressive.swf and Halo_Skin_3.swf into the root
folder of my web site.

All that I did in Flash was encode the video from avi to flv.

So what exactly do I need to do next?

Sorry if I sound like a noob. Thanks again for your help.
Equan
10/31/2005 10:56:01 PM
AddThis Social Bookmark Button