ActionScript 2.0 :: Clicking FLV Seek Bar?
Oct 24, 2008if Flash can listen for a click/drag on the seek bar playhead from the FLV player controls? I'm attempting to perform an action when a user drags the playhead through the video.
View 2 Repliesif Flash can listen for a click/drag on the seek bar playhead from the FLV player controls? I'm attempting to perform an action when a user drags the playhead through the video.
View 2 RepliesI have drawn intersecting lines. The user can click on a region inside the angle formed by the two lines.When the user clicks inside the area, the small region formed by the arc between the two lines showing the angle should change. How can I do that.the region between the intersecting lines is sprite object to dispatch event listener, but the arc is shape object.
View 1 RepliesIs it possible to use Flowplayer (flowplayer.org) and the seek() function with an FLV file?
View 3 RepliesI have created a flash movie in AS3, I wanted to have a seek bar [or a Back and Forward button] to move my movie forward/backward.
View 1 RepliesI am working on a music player where the music list is loaded using xml. I am using sound object and the streaming property is set to 'true'. Now I want to calculate sound.duration, but I don't get the actual value when it is streaming, probably because the entire file is not downloaded at once because of streaming, and it is returning the duration of the portion of the file downloaded. So I am unable to develop a seek bar which shows the current position of the music.
I even tried to get the file duration using ID3 tag but the TIME property does not seem to work either.
Another options could be using php to get the duration of the mp3 file and generate an xml file which specifies the duration of the file.
I built an MP3 player a couple years back in AS2. I have tried various tutorials and can't seem to implement a basic seek bar. I am hoping for something with a draggable scrubber bar.I have attached the .as file, and stripped out all my failed seek bar code. It's currently published to work with Flash Player 8, and works fine - except for no seek bar.
View 2 Repliesiam using media display for display video , and media controller for controlling flv video, i want the seek bar to be clickable ,i made the clicking,but how to make the video to jump to the clicked time line. iam editing the mediacontroller.fla in .../en/components/ and coverting it into swc and using it
on(release)
{
var mcli = _parent._tray._xmouse;
[code].....
I'm building an flv player using the cs4/as3 video playback component as a basis with custom buttons on the interface. I'm trying to figure out how to do rewind or fastfoward using a button instead of a scrub bar. I've seen plenty of tutorials on how to develop a scrub bar but I can't figure out a way to apply the theory to a button you hold down and it fast forwards/rewinds until you mouse off.
Obviously a mouse_down event only fires one signal and causes a jump effect if you click repeatedly, so is there a way of firing multiple events whilst holding down the mouse button?
Code:
flvPlaybackComponentname.seek(flvPlaybackComponentname.playheadTime + fastForwardSeekAmount);
to achieve the skip through the video, but this only happens as I said with multiple clicks.
I'm not able to create a working seek bar (or progress bar or timeline bar) to give the viewer complete control for where they want to play an animation. The animation is a .fla file, which moves frame-by-frame with motion tweens). There are 4446 total frames (at 12 fps), so I'd like the viewer to be able to skip ahead or back as they desire. The instructions I've found so far all have to do with FLV files instead of FLA.I've tried the following Actionscript, but I get errors(which are also listed below). As the seek bar object, I'm using the UIScrollBar (with a horizontal direction).[code]I'm more than willing to try a different Actionscript.
View 4 RepliesWhen working with MOV files using the h.264 codec and AAC sound I am unable to get netStream.seek to work correctly. No matter what argument I pass to netStream.seek it will always seek to 0. I have this problem on both a legacy as2 and a newer as3 video player I have built. Regular flvs work perfectly on both players.
View 1 RepliesI have child movie in a project that contains a FLV Playback instance with an associated Seek Bar component. The child movie fades in and fades out when a button is pressed. When a the child movie fades-out, the handle of the seek bar is retained. If I watch the movie multiple times, multiple seek bar handles remain behind.
[URL]
Click the "View Entry Footage" button and then click the "Return to Map" button.
I'm using the following code to load a flv:
var connection:NetConnection = new NetConnection();var stream:NetStream;var videoMain = new Video(600,340);var metaObj:Object = new Object();
function onMetaData(data:Object):void{}
[Code].....
I can create play/pause funtionality just fine with stream.play(); and stream.pause();, but I also want to have a seek bar for the user to scrub. I'm just starting this, and I think I can do it once I figure out how to call the flv total length and link it to a custom seek bar movieclip. So is there a way to call on the total length of a flv file?
such as:
var videoLength:uint = videoMain.length;
Do you know why the VideoDisplay.seek() would always go to the same frame at 1 second, no matter whether it is asked to seek forward or backward? This happens to some MP4 and other others. Is there some functions or variables I need to set?The MP4s that don't work with VideoDisplay.seek(), can be seeked using Quicktime.
View 5 RepliesI know seeking to a cue point is known to be inaccurate at times so I'm wondering if the accuracy of seeking to time and secs better. So far I've seen no true difference.
View 12 RepliesCurrently i am working with the dvr functionality here i need to set the seek bar for the video. This could be used to seek the video to the particular position. I don't know how to set the maximum time on the seek bar dynamically (Since its DVR maximum time will be increase if publishing video is continues) .I think through the metadata we can get the total time of video Tell me how to call the metadata externally .
View 5 RepliesMy FLV is paused and I do a seek to FLVPlayback.playheadTime-1. This i.e. equals to 22-1=21. It works, but than VideoEvent.PAUSED_STATE_ENTERED is called and my trace shows playheadTime = 22 and nothing changed. If I seek to playheadTime+1. This i.e. equals to 22+1=23 my onPaused trace shows playheadTime = 24 and my FLV advanced 2 sec. not 1. So there is always 1 sec. added to playheadTime and its cut to absolut .000 numbers.
It seems like FLVPlayback alligns my seek into blocks of 2 seconds. But I need to position more accurately and jump in half seconds even.
[Code].....
I have 2 identical ASP.NET applications, one running on Windows Server 2003 with IIS6 and another running on Windows Server 2008 with IIS7.
The one on IIS6 runs perfectly, but on IIS7 I'm unable to seek while playing my video. They are both using the exact same HTTP-handler for streaming.
I'm using the JW player for Flash (v. 5.2) and Sorenson Squeeze 6 for converting the videos from .mpg to flv. The FLV stream-handler is very (but not completely) similar to the one on this site
The one on IIS6: demo.orbicon.dk/wgv
The one on IIS7: kloakkort.nk-forsyning.dk/webgrafvideo/?filename=15050
i am working in Flash AS2. still now i want one flv video play back with seek bar control animation script (not a Flvplayback component).
View 0 RepliesDoes anyone know of any tutorials that explain how to make a seek bar with a handle that will be linked to the main timeline, so that when you move the handle the animation will move too, e.g. if you drag the handle to the centre of the bar then it will skip to the middle of the animation?
I currently have a handle that move on the x axis with in a set boundary, but not sure how to link it to the main timeline.
I'm using the FLVPlayback component and using ClearExternalAll as my skin. I noticed that the SeekBarHandle does not move while the video is playing. I can drag the handle to go to different parts of the video, but it does not move by itself as the video plays. All other buttons work fine. I've already tried setting the total FLV video length in the parameters, but that didn't work. How to make the slider move as the video plays. Is there any other skin i can download from ??
I am using
import mx.video.*;
if(movB == 1){
vidPlayer1.load("images/01.flv");
vidPlayer1.isLive = true;
vidPlayer1.totalTime = 165;
}else if(movB == 2){
[Code] .....
I'm trying to build a circular player. I've done it with a mask but the seek bar is missing. I couldn't find a circle one. The seeking is not necessary. I want to at least show how much played of how much.
View 0 RepliesNow i am doing a FLV Player. But how to make a seek bar for that.?
View 5 RepliesI want to make seek bar in my MP3 Player.
View 1 RepliesSo I have a flash file I'm working on. I have an FLVPlayback Component inside a movie clip called mcVideo. I have that clip set up with a MainVideo class which sets the player and all the controls.
Everything works except that I do not receive a seekbar handle, ever. I get a seekbar that shows the loading progress, but the handle never appears. Whether I create an instance of the seekbar in the AS3 class or if I drag an instance of it onto the stage of mcVideo. The loading progress always shows, but never the actual handle.
I'm looking for a tutorial on the interwebs to create a scrubber for the length of a movie clip.For example:If a movieclip is 300 frames long, the beginning of the scrubber would be Frame 1 and the end would be Frame 300 with Frames 2-299 in the middle.I'd like the user to be able to scroll through the movie much like a Quicktime VR
View 2 RepliesI have a series of movie clips (flv's). All are the same movie clip of a rotating object but it's different colour in each clip.When one clip is playing and I click to play another, I would like the clicked movie clip to start playing from the same position at which the previous clip was at. So if a clip had played for 3 seconds and I click a different clip, I would like it to seek and play from 3 seconds instead of 0.[code]Can anyone tell me how I would go about tracking the data of how many seconds of a clip has played?My guess is that it will either be metadata or NetStatusEvent related.
View 4 RepliesI'm using fl.video.VideoPlayer and I'd like to be able to seek arbitrarily within the video. seek() works unless the given time isn't yet loaded, in which case the video hiccups and continues playing normally. I'd like it to seek to the specified second even if it's not yet loaded, loading/buffering as necessary. I've tried seek() and play() and haven't been able to make this work.
View 1 RepliesUsing the FLVPlayback skins in CS4 (ActionScript 2.0). When I play the swf and the video is local, everything works great. When I switch everything to stream from http server, everything works except the seek bar handle doesn't move as the movie plays. It just stays at the beginning. I can manually move the seek bar handle and it does scrub the video but when I stop, the movie will play from that location and the seek bar handle just sits where I left it.
View 1 RepliesI have a fla (Home) with a flvplayback component. If I load it using a loader using this script
var loader:Loader = new Loader();var req:URLRequest = new URLRequest("Home.swf");loader.load(req);addChild(loader);stop();
when I preview it in Firefox or IE and click on the seek bar or volume bar the control slider 'sticks' to the mouse cursor instead of jumping to the spot where I clicked. If I just compile it and play it in Flashplayer the seek bars work as expected. If I preview Home.fla directly they also work properly.Could this be a loader-flvplayback bug?
implement a seek bar for a video player. I know some basics about that. If possible send me any tutorials for that.
View 2 Replies