ActionScript 2.0 :: FLV Progress Bar Freezes When Scrubber Is Used?

Feb 9, 2011

people on these forums have been really kind to me in the past, so I thought I'd try to get some feedback on a problem that I'm currently working on and have approached from a number of angles. While building my own FLV playback component (progress bar which doubles as scrubber (i.e., has a slidable knob, etc.) included), I ran into the following problem:

Once a button that begins download of an FLV is released and the FLV begins loading, the progress bar (which represents the FLV's timeline/total/loaded amounts, etc.) increases (width), however, if during this process a user starts to drag the knob, the width of the progress bar is 'stunted', in other words, while the 'onPress' event is active, the 'videoStatus' event is disabled (the event/function responsible for the proportionate increase of the FLV progress bar's width).

[Code]...

P.S. Using intervals is not really option as this entire process was originally created using intervals (if anyone else is familiar with Lee Brimelow's video tutorial on FLV playback components), however, upon realising that two simultaneously-running intervals won't do the trick, he posted an updated version using 'onEnterFrame' events... (the problem seems to be however, that whether you use two intervals or two 'onEnterFrame' events, the scrubber breaks...) therefore, going back to intervals would probably be taking a step backwards..

View 1 Replies


Similar Posts:


Actionscript 2.0 :: Progress Bar And Scrubber Won't Work

Feb 3, 2010

i'm just new flash and actioscript as well.i'm following exactly the tutorial of making a media player but on the progress bar and scrubber part, mine doesn't work.the progress bar won't progress at all while i'm playing a flv file, the scrubber works only by on loading the bytes but if i scrub it, it won't work. it will just be still works on playing the video from start to finish.

View 1 Replies

ActionScript 3.0 :: Video Player - Play Button And If Drag & Drop The Scrubber Of Progress - Bar

Jun 30, 2009

I'm building a flv_video AS3 player. I'm using steaming-video.The player is working fine, but there is something that I want to improve. Currently when I push play button and if I drag&drop the scrubber of progress-bar somewhere in the area that is still not buffered, the player doesn't start to play from that position. So I want to do it.

View 2 Replies

IDE :: Making Scrubber Bar And Scrubber Inactive

Jan 20, 2009

I am making a player that adds an advertisement before a video but don't want the user to be able to skip though the ad. I am using the progress component and an FLV Playback component for my player. I had tried to just hide the progress bar but it looks unbalanced. If anyone has an idea on how to make it so a user can not fast forward though the ad by dragging the scrubber that would be great.

View 2 Replies

Create A Progress Bar (248px Wide) With A Slider That Moves According To The Movie Progress

Jun 4, 2010

I have an SWF movie (1375 frames) and created a progress bar (248px wide) with a slider that moves according to the movie progress. I'm doing that next way:Calculating the distance for the slider to be moved each frame (248 / 1375) On each ENTER_FRAME moving the slider for the calculated distance The problem is - the movie ends far before the slider reaches the end of the progress bar.

I'm thinking that the distance (Step 1) is is somehow ends floored by Flash and the actual distance it moves the slider is smaller than required. That's why the movie ends, but the timeline control just passed the 2/3 of its way. My question is - is there any solution for the problem? Or any other way to go, if it's a wrong one?

View 2 Replies

Flex :: User GetRepeaterItem To Set The Progress Of A Progress Bar?

Mar 2, 2011

I have a progress bar inside a repeater and therefore I will need to use getRepeaterItem to set it's progress as suggested in this question.

How can I do that such that the value of progress may be taken from repMonitor.currentItem.threatLevel?

<mx:Accordion id="monAccordian" includeIn="Monitoring" x="10" y="10" width="554" height="242" change="monAccordianChange()" >
<mx:Repeater id="repMonitor" dataProvider="{monitoringArray}">

[Code]....

View 1 Replies

ActionScript 3.0 :: How FlvPlayBack Scrubber Works

Jul 4, 2010

I need an example of how FlvPlayBack scrubber works ?? what is a scrubber and wats the purpose ? i need an example of a scrubber ?? i tried example code of adobe flash, but am getting an error.

View 1 Replies

ActionScript 2.0 :: Audio Timeline Scrubber?

Feb 23, 2009

I am trying to make a scrubber that will allow me to scrub through the root time line which has streaming audio on it. I have created audio players before where the file was being streamed in from an external file, but have not dealt with it ever being on the timeline.

[Code]...

It works pretty well, however, there is a problem. When I scrub the bar, the audio stops playing. I am assuming it is related to the enterframe function, but I am not sure on how to correct the code.

View 0 Replies

ActionScript 2.0 :: Scrubber Gallery With Preloader?

Jul 20, 2009

I followed a couple of tuts and I have the gallery working, but I would like it to have a preloader, so I added a basic one to the first 2 frames of the root and moved gallery movieclip and controller to the 3rd frame.the preloader works and the movie goes to frame 3 but then my controller(scrubber) for my gallery doesnt work, in the code there is nothing refering to the _root just _parent so I am not sure where the problem is. I'm a cg artist just trying to get a website up.CODE:root frame 1Quote:

LOADED = Math.round(getBytesLoaded());
TOTAL = Math.round(getBytesTotal());
PERCENT = LOADED/TOTAL;

[code].....

View 5 Replies

ActionScript 3.0 :: Creating SWF Of Video With Scrubber?

Aug 21, 2009

I'm new to flash. I'm trying to create a swf of a video with scrubber and at a certain point through the video the web address pops up and is clickable. I have tried embedding the flv within the timeline but it warns me that things could get out of sync.

View 2 Replies

ActionScript 3.0 :: Make A Scrubber For A Mp3 Player

Jul 28, 2010

I am trying to make a scrubber for a mp3 player. I can not figure it out! Any one know of a good tutorial or code I can look at? Everything else is working, just can not get the scrubber.....

View 0 Replies

Custom FLV Player - Scrubber And Load Bar

Mar 16, 2009

I've been following the tutorials for building a custom flv player and have come across a few problems, the player can be seen online here: [URL]. I'm having a few issues with the scrubber and the load bar, they loadbar starts in the middle and stretches out towards the sides and the scrubber starts in the middle and runs off the end? I'm pretty new to actionscript as have only really used flash for simple animations before, i have attached the source file and the actions are listed below.

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);[Code] .....

View 1 Replies

Actionscript 3.0 :: Timeline Scrubber For Swf (not Flv) Movie?

Mar 29, 2009

Are there any examples or tutorials on AS3 scrubbers? I cant find any that don't deal with flv control... I need swf timeline control and dont have the knowhow to convert an as2 version.

View 14 Replies

Actionscript 3.0 :: Cannot Get The LoadBar And Scrubber To Work

May 1, 2009

I have created a video player in AS3 using some of the code from Lee's tutorials to create the loadBar and Srcubber. My video works, the play, pause and rewind buttons work. However, I cannot get the loadBar and scrubber to work.

[Code]....

View 12 Replies

Actionscript 3.0 :: Scrubber Bar To Control External SWF?

Feb 3, 2010

how to build a scrubber bar to control an external SWF. I have a template built that will load external SWF files into a content area. I already built a play/pause button into it but cannot figure out how to make it so the progress bar moves and is scrubbable. I know it has something to do with the total frames/length of the loaded SWF, the width of the progress bar and making the progress bar's tab draggable/constrained but not sure how to put it all together to make it work. I've tried a few things but none of them worked (I'd attach the code I tried, but I trashed it and reverted back to what worked last time).

View 1 Replies

ActionScript 3.0 :: Video Scrubber/Seek Bar?

May 11, 2009

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 Replies

ActionScript 1/2 :: Controller / Scrubber For Animation With Scenes

Apr 8, 2010

I would like to make a player controller with a scrubber for an animation I am creating. I do not want to control a video (mp3, flv, or other). I want to control the animation on the timeline. My Flash file has scenes. Is there a tutorial for applying a controller for this kind of file?

View 1 Replies

ActionScript 3.0 :: FLVPlayback Live Update Scrubber?

Nov 25, 2010

I am building a video player using FLVPlayback and some custom controls (AS3). At the moment when you click the thumb in the progress bar the video pauses and you can drag to a new position on the track and resume playing from there when you release the thumb (this is done using FLVPlayback.seekPercent()).I need to update this so that as you are dragging the video is constantly updating to the correct frame.
 
I tried using the working that fires on release and calling it on enterframe while the thumb is dragging and everything went wrong. I can't see any reason for this to be a problem and the code so far is pretty straight forward.

View 1 Replies

ActionScript 3.0 :: Move Scrubber-before And After Effect On 2 Photos?

Feb 23, 2011

I want to use an interactive move scrubber like the one used on this link [url]...

View 2 Replies

Professional :: Timeline With Scrubber - OnReleaseOutside Not Working Right

Aug 4, 2011

I am building a timeline with a scrubber. The handle on the scrubber is a movie clip, and it was all working fine. But I didn't like that when you clicked on it, the hand icon would be glued to the left hand side of the handle. So I changed to registration of the handle file so that it would be in the middle. Now my 'onReleaseOutside' command quit working. If I set the registration back, the release command works again.

Basically, if I drag the handle all the way to a side and have the mouse continue past the flash file and release it, it wont register it has been released until I move the mouse back over the flash, which also moves the scrubber handle to _x location of the mouse for where ever it entered the swf. Is there something obvious I am missing? Or do I have to deal with an un-centered handle?

View 3 Replies

ActionScript 2.0 :: Custom FLV Player Scrubber Inconsistency

Feb 17, 2009

I'm working on building a custom FLV player and I'm having issues with my scrubber. When I drag and drop it, the spot in which it falls and plays is inconsistent. Example, if I drop it in one spot, the video will pick a spot a second or two past. Then when you mouse over the scrubber it wiggles when your on an edge. [URL]

My scrubber code is:
ActionScript Code:
//---Handle Code---//
scrubbar.mcHandle.onPress = function() {
this.startDrag(true, 0, this._y, 455, this._y);
delete this.onEnterFrame;
trace(this);
[Code] .....

View 0 Replies

ActionScript 3.0 :: Circular Video Scrubber Functionality

Jul 8, 2010

I will tell you what exactly i need. I need a video scrubber and it should be in a circular shape. I will tell you how it has to work. I want to rotate with a small circle on top of a big circle. lets assume that small circle is called a dragger. Now i need to drag that on top of the circle either in clock wise direction or in anticlock wise. If am dragging in clock wise, the loading video has to seek forward. suppose in case if am dragging in anti clock wise, i need to see the video backward. This is the functionality am going to implement in FLASH CS3/FLASH CS4.

View 1 Replies

ActionScript 2.0 :: Scrubber Is Not Exactly Pointing When Loader Click?

Aug 2, 2010

i have an mp3 player that works well but when i click on the loader bar, plays from that clicked part, time is also updated, but the scrubber is way to far from the that clicked part of the loader.how can i make the scrubber points exaclty to part when a user seek from the loader bar?

View 6 Replies

Actionscript 2.0 :: Making A Working Scrubber On A Video

Feb 14, 2011

I'm making a working scrubber on a video, but having problems. The scrub itself it starting out in the middle of the loadbar. I've looked everywhere, trying to find out what is wrong with it. Here is the code and link to my .fla [URL]

[Code]...

View 1 Replies

IDE :: FLV Video Scrubber - Clicking And Dragging Left Or Right

Jun 8, 2007

I am playing flv files on a site. The way I am bring them is via the import video from the library (not using flv component). I am loading the videos via using netStream. So far so good. Everything works fine. I want to be able to scrub through the video by clicking and dragging left or right on the video itself. I plan to make the mouse cursor turn into a symbol that has a left and right arrow when you roll over the video hence letting you know that you can click and drag left or right to forward or rewind through the video. IS this possible? If so, how can I accomplish this?

View 5 Replies

ActionScript 3.0 :: Make A Scrubber For A Timeline In Swf File?

Feb 18, 2010

how do i make a scrubber for a timeline in swf file? so i can scrub back and forth?

View 3 Replies

ActionScript 2.0 :: [Flash] Video Player Scrubber?

Dec 14, 2010

I have created an XML driven Video Player based on Lee Brimelow's Video TutorialI have a MC called loader which contains two MCs- a circular shaped clip called scrub which can be used to seek to particular time of the video. and anoder MC called loadbar which denotes the amount of video loaded by expanding correspondingly.Everything works fine except the video scrubber (the playhead). when the scrubber reaches the end of the movie; instead of stopping at the end of the loader MC it goes beyond it.here's the code:

Code:
function videoStatus() {
amountLoaded = ns.bytesLoaded/ns.bytesTotal;

[code]....

View 1 Replies

ActionScript 3.0 :: Scrubber Bar - Consistent Volume And Clickable Playlist

Jul 22, 2009

How to get my audio scrubber to work, make the volume consistent whether you stop the song and restart or move to the previous of next song. Also, I just finally figured out how to add columns to my XML playlist by using a Datagrid but I do not know how to hook the playlist up to the XML in order to call the particular song that is clicked on.

I started this project working as a tutorial, but the tutorial only gave the basic XML audio jukebox set up, since then, I've been scouring forums, google, tutorials on youtube, etc. But I find that the code is so "method" specific, meaning that everything hinges on your particular way you decide to get to the end result.

1)Volume slider works, but the volume keeps reverting back to the default volume everytime the song is stopped and re-started or a new song is advanced to with the Previous or Next button - The volume needs to stay consistent at whatever volume level that the slider is left on.

2)PlayList needs to be functional. Right now, you can advance through the play list by using the jukebox previous and next buttons, but the playlist should have the ability to highlight whatever song is playing from the list as well as play songs independently when any song in the list is clicked. (I was able to do this successfully with the tutorial version which used a list component, but the only problem with that is that List components only allow 1 column - so I had to change to a datagrid to allot for my 3 columns)

3)Scrubber - I would like the scrubber to do what a scrubber does for each song when the song is being played.

The files can be found here [URL].

View 2 Replies

ActionScript 3.0 :: Custom FLV Video Player - Loadbar And Scrubber

Jan 16, 2009

I am working with the scrub element in my custom video player. The code for this in AS2 is as follows (this is the whole of it). How the scrub portion is coded in AS3?

HTML Code:
var nc:NetConnecttion = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("vegas.flv");
[Code] .....

View 0 Replies

ActionScript 3.0 :: Looked For 2 Hours On The Web For Video Scrubber Functionality

Jan 23, 2009

I've got nearly all of it working but the drag action of the scrubber. Seeks on MouseDown but doesn't drag. Oddly I've got this very functionality working for the audio volume scrub bar but not the playhead.

Here is the troubled portion of the code. Happy to send a src file:

Code:
// ScrubHandle Dragging Variables
var ratio_play:Number;
var playTrackBounds:Rectangle = controls.trackbar.getBounds(controls);
var playXpos:Number = playTrackBounds.x;

[Code].....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved