header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Flexy Flex
Points:0
Posts:0

10/7/2010 3:25:11 AM

Title: Single Slider For Many video/Audio


Hello awl,

how can we have a Single Slider or any component to play (i mean kind of slider for forward/backward the clip) many videos.
kind of cursor when we keep it on a component it should start playing and slider should move as per video.

thnx in advance.



1
Connor
Points: 0
Posts:0
10/7/2010 4:53:47 AM



when a video stream is loaded you can get the lenght and set the status of Hslider with that. Then on changing the position of slider in Hslider component you can seek the video to that position.

The flow could be as following .

On button click load video in video component.
On load event of video set the slider according to length of video and current position.
Update the slider position as the video is playing, i think that's metadata event
If user clicks on slider then seek the video to that position

2
FlexyFlex
Points: 0
Posts:0
10/7/2010 8:31:09 PM



but i want a single slider for many video displays who are kept adjacent to each other.
ur answer is for playing single video display using slider.

3
RedBull
Points: 930
Posts:0
10/11/2010 9:56:13 AM



you have to create and use custom slider and attach that slider when video is selected to be played. Whenever a video is loaded you can set that video as source video for that slider, and slider will display progress related to that video. You can hide the original slider from the video component and display your custom slider where ever required.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions