ActionScript 3.0 :: Seek Button For FLV Component?

Oct 29, 2009

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.

View 4 Replies


Similar Posts:


Flash :: Flex Component - Show The Stream Progress On The Seek Bar

Jul 2, 2010

I am developing a audio player in flex. I need a seekbar kind of like on youtube's video player. To implement the basic seek functionality the HSlider component is enough. But I also want to show the stream progress on the seek bar. (youtube colors the already streamed part of the seekbar red). Is there a way I can achieve the same? drag and drop audio player component with play/pause and seek functionality.

View 1 Replies

ActionScript 3.0 :: Makes Button Visible...but Button Stays Visible If They Seek Back In Video?

Mar 30, 2011

when the video reaches 1 minute, a button appears. is there a way to hide the button again if the user uses the seek bar to go back to the 30 second (or any time before 1 minute) point?

View 2 Replies

Flex :: 4 - Null-component - Checking If The Cancel Button Component In The Child Component?

Jun 23, 2011

I have a component "child" which has a cancel button. Now this component is placed in a state called "newChildComp" I also have another component called "parent". In the parent component, i have a button that dispatches an event. Here is the event code:

[Code].....

so, basically,i am checking to see if the cancel button component in the Child component, while i am still in the parent Compoent, was clicked, if it was clicked, call the cancelButtonHandler. The problem is by the time the addNewChild handles the event, that cancel button was still null. My question is how do i solve this without using the itemCreationPolicy on the cancel button?

View 1 Replies

Flex :: Remove A Component Using A Button In The Component?

Sep 29, 2010

I'd like to use a button within a component to remove it. So, you click it and the component is gone. But, I haven't figured out how you reference the component from within the component. What should I put in click=""?

My component: popCanvas

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Panel width="200" height="200" title="hello"
click="remove=">

[Code].....

View 1 Replies

Flash :: Add Button-like Behavior To A Video Player Button Component?

Feb 23, 2011

I'm trying to create a simple "universal" media player which presents the same user interface (or as similar as possible) for video and audio playback. Unfortunately, FLVPlayback seems not to be able to handle audio files as far as I can tell, so I'm using a Sound and SoundChannel.

My video playback is handled using an FLVPlayback component which is "wired" to standard controls on-the-fly when needed. What I want to do is wire them to the Sound / SoundChannel when I'm playing a sound so that the same UI widgets work in both cases. I'd like to avoid building all my components from scratch because the FLVPlayback component does a lot of nice stuff "for free" but it's starting to look tricky.

The standard PlayPauseButton is a MovieClip with two layers, one containing the Play button (and with the instance name play_mc) and the containing the Pause button (pause_mc). Inside one of these is a movie with some code like this:

stop();
this.upLinkageID = "PauseButtonNormal";
this.overLinkageID = "PauseButtonOver";
this.downLinkageID = "PauseButtonDown";

[Code]....

View 1 Replies

Professional :: Toggle Button Via The Button Component?

Oct 18, 2010

I'd like to learn how to use Components in Flash, and the documentation and tutorials I find are beyond my comprehension. I usually go to FlashKit and just rehash someone's code... but again, I'd love to learn how to use Flash Components.So I did a tutorial on the toggle button, but it was:1. Click button, and a window pops up at different location on canvas2. Click button again, and the same window dissapears.This is for a videogame, and I'd like a button to be click and that same button be populated with a new graphic. What I mean is, the graphic is a skull, and I'd like to have it start as a dark skull (as if a negative value) and when you click it the skull appears... click it again and it's gone (or that negative or dark skull representing it's off).So this differs from the tutorial I did because the pop-up window is the button itself, and the window that pops up would obstruct me from click it again.

View 3 Replies

Use Seek() In Flowplayer With An FLV File?

Nov 16, 2009

Is it possible to use Flowplayer (flowplayer.org) and the seek() function with an FLV file?

View 3 Replies

Actionscript 3 :: Seek Bar In Flash?

Jun 1, 2010

I 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 Replies

ActionScript 2.0 :: Seek Bar For Streaming Mp3?

Aug 4, 2008

I 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.

View 9 Replies

ActionScript 2.0 :: Clicking FLV Seek Bar?

Oct 24, 2008

if 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 Replies

ActionScript 2.0 :: Add Seek Bar MP3 Player?

Sep 24, 2009

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 Replies

ActionScript 2.0 :: Clickable Seek Bar?

Sep 29, 2011

iam 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].....

View 1 Replies

ActionScript 3.0 :: Timeline Seek Bar For Animation

Oct 27, 2008

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 Replies

ActionScript 3.0 :: H.264 .mov And NetStream.seek Not Working?

Apr 6, 2009

When 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 Replies

FLV Playback Seek Bar Handle Not Disappearing?

Sep 22, 2009

I 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. 

View 2 Replies

ActionScript 3.0 :: Flv Length/creating A Seek Bar?

May 15, 2010

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;

View 1 Replies

ActionScript 3.0 :: VideoDisplay Seek Always Goes To The Same Location

Aug 2, 2010

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 Replies

ActionScript 3.0 :: Seek To Cue Point Vs Time

Mar 26, 2011

I 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 Replies

Media Server :: Seek Bar Updation In DVR?

May 30, 2011

Currently 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 Replies

ActionScript 3.0 :: FLVPlayback: Seek Is Not Accurate Enough

Jul 18, 2011

My 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].....

View 6 Replies

C# :: Unable To Seek In Flv Movie On IIS7

Jul 15, 2010

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

View 1 Replies

ActionScript 2.0 :: Getting Flv Video Seek Bar Control?

Aug 3, 2009

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 Replies

ActionScript 2.0 :: Seek Bar For An Embedded Video?

Nov 19, 2010

Does 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.

View 0 Replies

ActionScript 2.0 :: FLV Playback - Seek Bar Not Moving

Dec 17, 2010

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] .....

View 1 Replies

ActionScript 2.0 :: Circular Seek Bar Is Missing

Jun 21, 2011

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 Replies

Actionscript 2.0 :: Seek Bar Making For FLV Player?

May 22, 2009

Now i am doing a FLV Player. But how to make a seek bar for that.?

View 5 Replies

ActionScript 2.0 :: Make Seek Bar In My MP3 Player?

Apr 23, 2008

I want to make seek bar in my MP3 Player.

View 1 Replies

ActionScript 3.0 :: Disappearing Seek Bar Handle

Mar 21, 2009

So 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.

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







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