|
-
Control multiple video files simultaneously
Hello,
I have five videos playing at the same time in a .swf. They are each .flv files of the exact same length, I'm keeping them external rather than embedding the files within the Flash, and it's imperative that they each play at the exact same time so I'm avoiding using streaming.
They all need to be kept at the same time code as any other of the movies at any given time. Is it possible to make a scrubber or other controls that will allow the viewer to move positions within these videos simultaneously?
Any help is greatly appreciated.
Thanks!
Chris.
-
Anyone have any links or ideas? Even just a Pause/Play button would be good. But ideally I'd really like a scrubber.
-
*Bump*
Please?
-
what you trying to do?
have one scrubber control all videos at the same time?
-
Yeah.
-
so whats the problem then?
do you know how to make scrubber for one video?
if so, just call these actions on all videos.
i presume the videos are same length
-
Hi regbolD, thanks for your continued efforts.
I don't know how to make a scrubber for one video, no. Would I have to make one from scratch or can I use one of the built-in Video Components and adjust its properties in order to do this? Either way is fine with me, but an answer on the best method and a link to a relevant tutorial would be fantastic.
-
stay away from built in flv component and learn how to create your own video class, you will have much better control over the video.
i dont have any links now, but google should you find you something.
-
Great, thanks for your guidance, it now looks a lot more possible. I found this tutorial:
http://www.thetechlabs.com/tutorials...3-videoplayer/
Can you advise me at all on how I might go about adjusting the code to control all five videos at once? It seems as though it's all pulled from one variable at the moment, being the one video. Here's the changes I've made so far, to no avail:
Code:
**ORIGINAL**
// url to flv file
var strSource:String “movies/livingroom.flv”;
**REPLACEMENT**
// url to flv file
var strSource:String “movies/livingroom.flv”;
var strSource2:String “movies/bedroom.flv”;
var strSource3:String “movies/bathroom.flv”;
var strSource4:String “movies/kitchen.flv”;
var strSource5:String “movies/corridor.flv”;
**ORIGINAL**
// attach net stream to video object on the stage
vidLivingRoom.attachNetStream(nsStream);
**REPLACEMENT**
// attach net stream to video object on the stage
vidLivingRoom.attachNetStream(nsStream);
vidLivingRoom.attachNetStream(nsStream);
vidLivingRoom.attachNetStream(nsStream);
vidLivingRoom.attachNetStream(nsStream);
vidLivingRoom.attachNetStream(nsStream);
-
I can do this for you as a custom work. Contact me through my profile if you are interested.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|