ActionScript 3.0 :: RemoveChild If FLVPlayback Seekbar Moved Away From Cuepoint

Dec 12, 2010

I have a FLVPlayback component with an FLV. I have it setup so that when the FLV reaches a cuepoint at the end, a button appears to rewind and play the video, and remove the button. This all works fine. My question is if there is a way to remove the button (removeChild) if the user goes back in the video using the seekbar in the FLVPlayback component?

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Activate Movieclip Via FLVPlayback CuePoint?

Apr 22, 2010

I'm working on a more interactive movie. It basically just has effects over the video that go outside of the FLVPlayback's dimensions to seem more "realistic." It seems very basic, but I am unsure where I would begin. Let me tell you the basics: It's offline, I imported the video from my computer and used the "Load external video with the playback component."My FLVPlayback on the stage is called:

fla_movieTrailer It has cuepoints already in the .FLV video. I have one Event one named "blacksmoke." If the video reaches the cuepoint "blacksmoke" I want it to play the MovieClip named fla_blacksmoke. So how do I have it activate fla_blacksmoke?

View 3 Replies

ActionScript :: Flash FLVplayback SeekBar Noise

Oct 7, 2011

my issue is with flash FLVplakback control with a seekBar attached to it. example can be found here. for some unknown reason when i try to rewind using the seekbar, it produces a loud noise at the start. whereas if i let it play out the entire movie (mp4) and then play again using the play button it does not produce such noise. in case i rewind using the seebBar after playback has completed even then it does not produce the noise.

View 1 Replies

ActionScript 3.0 :: Flash Creating A Seekbar For FlvPlayback

Jun 13, 2010

I'm trying to provide a seekbar for a FLVPlayback. I have MovieClips (Graphics) for the base bar, fill bar and thumb. How can I attach these MovieClips to the FLVPlayback using AS3 code? Do I have to create a skin, if so then how? I'm using the Flash CS4 (Not Flex).

View 1 Replies

ActionScript 3.0 :: Flvplayback Seekbar Doesn't Work

Oct 14, 2010

I'm using the standard flvplayback component v.2.5.0.26

When I load a flv file in it, all UI buttons and buffering work correctly with the exception of the seekbar - when I drag the seekbar handle forward, the video doesn't go to that position, after I release the handle, it jumps back to the beginning of the video and it keeps playing from there

Does anyone know if it happens because of the specific flv file or I need to add some AS3 code to the seekbar to make it work?

View 12 Replies

ActionScript 2.0 :: [CS3] FLVPlayback SeekBar And Embedded Event Cue Points?

Aug 23, 2011

I have been looking all over for a solution, and I find a lot of posts that ask the question, but sadly no answers.

I am using an flv (videoClip) with embedded event cue points. These cue points bring on bullet points based on where the video is in the playback. Sadly when I use the seekbar the bullets will stay on until the next cue point is reached. I think I am getting close, but am hoping someone can help me finish it out!

[Code]...

View 1 Replies

Flash - FLVPlayback Custom Ui: SeekBar Component Never Creates SeekBarHandle?

Feb 28, 2011

I've setup an FLVPlayback 2.5 component with no skin. Then I've added all the UI components and assigned them to the FLVPlayback instance. I'm using a PlayPauseButton, a SeekBar, a MuteButton, a VolumeBar and a FullScreenButton. All of the components had their graphics customized. Extra care was taken not to rename or delete any movieclips.

If I try the custom components by publishing the movie, everything works fine.The problem arises when I dynamically load this SWF into another one. The parent SWF loads the playback controls and instantiates everything and starts the video playerback.

What doesn't work is the SeekBar's and VolumeBar's Handle. It just doesn't appear. If I put a trace() in those MovieClips, they never appear on the console, as if they are never created.

View 1 Replies

ActionScript 3.0 :: Flash Access Seekbar Handle (SeekBar Component)

Jun 15, 2010

My big question is how to access the instance of the "SeekBarHandle" of the seekbar component which is created at runtime? I have a AS3 project (flashplayer 9) with a FLVPlayback component and custom FLV controls, partially build from standard FLV control components (play/pause component, stop component, seekbar component, volumecontrol component). The FLV control components are added at 'root' level of the project. What I'm trying to do is to switch the visiblity of the custom FLV controls where the seekbar and volumebar are the party poopers because of the on runtime created handle bars.

I read many many threads about people trying to access the instances of the handle bars but for the most of us out there with no luck. I know that the instance of the handle bar is created at the same level as the instance of the seekbar component but I can't trace/access/find the instance of the handle bar. NOTE: I don't want to add the seekbar component to a container mc/sprite because of the changing width of the seekbar. When I do it's disformed because by the scaling of the parent.

[Code]...

View 4 Replies

Adding Child At Video CuePoint, Then Removing Child At Another CuePoint?

Aug 4, 2009

However, either I'm declaring my variables at the wrong bit/way or there is another problem, as I have been able to add the child I want to from the display list (sidepoint: is it right to call the display list everything in the library on stage at runtime plus those things you have exported for actionscript usage??!)...but when I want to remove it at the next cuepoint nothing happens. I feel this is a basic principle that is alluding me here.

Code:
vid.addEventListener(MetadataEvent.CUE_POINT, cueText);
function cueText(e:MetadataEvent): void{

[code]....

View 1 Replies

Actionscript 3 :: Error #1006 RemoveChild Is Not A Function. Timer Delay RemoveChild

Mar 29, 2010

I'm trying to build a conditional statement that will addChild and removeChild at different Timer Delays. Before I go any further, I thought, I should mention that I'm usinig TweenMax to ease the alpha of ease Child from 1 to 0 and back during the process to imitate a fade-in/out.

I'm getting issue with only one line - inside a conditional statement.It's running "OK". The movie runs as I want it, but the remove/addChild transitions are not at the speed I want it at. I am getting an error message in the output, but other than that, the movie runs fine.

stop();
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;

[code]....

View 2 Replies

CuePoint Is Stopping Playback?

Nov 5, 2009

I've encoded an flv with cuepoints. When I play the video, it freezes at the cuepoint. I'm useing as3 on windows 7. I've removed the metaData callback from the code below as the problem occurs with and without the callback.

nc = new NetConnection();nc.connect (null);ns = new NetStream(nc);
vid = new Video();vid.attachNetStream(ns);ns.play('names1680.flv');

View 1 Replies

ActionScript 3.0 :: Get Button To Appear AFTER Cuepoint

Jul 1, 2011

I have an flv inside an swf. when the flav gets to either 22:00 or a certain frame I need an invisible button to appear ONLY after the cue point where the flv will display a click here graphic and the invisible button will be on top.I was able to add the button to the stage but it is clickable throughout the video, how can I get the button to appear AFTER the cuepoint.

View 7 Replies

ActionScript 3.0 :: Set CuePoint To NetStream?

Feb 8, 2010

Currently I'm using a rtmp server to streaming a video (m4v format), and now I need to set a cuePoints to call this one.

The problem is,

I'm using a simple video playback with NetStream and NetConnection, till here its okay, the video is streaming correctly, now appears the necessity to show some graphics in middle of the video.

How can I set the cuePoint name? addCuePoint()? The simple video player support it?

View 1 Replies

ActionScript 3.0 :: Cuepoint To Stop The Flv And Go To The Next Frame?

Apr 29, 2009

I have added a cuepoint at the end of a movie while converting it into flv file, how do I use the cuepoint to stop the flv and go to the next frame? I am new to all of this, can animate a little, but not hand-coding. This is what I received from a co-worker trying to make something happen with Flash and PHP

"Basically, at the end of the video, display in the Flash something simple like this: [URL] Feel free to format as needed to look good in context. Freeze on that frame so that they can retype that confirmation code in a form. Let's use these two variables: confirm_code (unique 7-digit alphanumeric string) video_control (to turn on video controls for testing, to turn off default) You can output a basic HTML page with hardcoded variables, and from there, I can modify it for use on the dynamic PHP page interfacing with the database."

View 1 Replies

Actionscript 3 :: OSMF - Add Cuepoint To A Video?

Jun 5, 2010

I'm trying to add a cuepoint to a video using OSMF. I built an OSMF video player, and I'd like to use this instead of the FLVPlayback component, which seems like the only way to add an actionscript cuepoint? Anyhow, I created a cuepoint by writing this:

[Code]...

View 2 Replies

ActionScript 3.0 :: XML CuePoint Loading Graphics

Aug 24, 2009

So I have this bit of code that pulls text from within the "caption" tags in the XML file and displays it in sync with the cue points...it works great.

Code:
caption_mc.setText(String(xmlData.cuepoints.cuepoint[i].caption));

I sorta understand how it works but not enough to convert it to pull a graphic. I assume it would be something like:

Code:
graphic_mc.setGraphic(URL(xmlData.cuepoints.cuepoint[i].caption));

View 0 Replies

ActionScript 3.0 :: Calling Action From FLV Cuepoint?

Aug 24, 2009

I have an FLV file that I am loading in with the FLV Playback component. Within this FLV is a cuepoint called "endvis" that I want to trigger an MC's visibility (make it visible).

View 1 Replies

ActionScript 2.0 :: CuePoint To STOP Video On The Last Frame?

Dec 3, 2008

I have imported a video into Flash CS3 and I want to be able to stop the video on the last frame. If I say false to autoRewind, it goes to a black screen and if I say true to autoRewind, it goes to a white screen. I believe if I use a cuePoint on the last second to STOP then it would work.

View 3 Replies

ActionScript 1/2 :: Unsorted CuePoint In FLV Video File

Jul 10, 2009

I hava an application which heavily uses cuepoints for al kinds of navigation and event purposes. To properly handle the cuepoints I use some sorting etc. of the cuepoints when the onMetaData fires. The video is played as a NetStream from a WOWZA rtmp server. In the production it will probably run from FMS. Today I received the final flv from the client which contains about 300 cuepoints of type navigation and event. The file is generated in AE CS4. With this specific file the onMetaData event does not fire at all anymore (or it generates error below), the onCuepoint event does fire as expected.

Testing with playback trhough the flvplayback component generates the folowing error:
1002: Illegal cue point: Unsorted cuePoint found after time: 93.16
There are two cuepoints set at that point in the video (never thought that was possible...). Could the 'duplicate' cuepoint be the reason onMetaData does not fire? Any preferably cross platform, tool that just inserts cuepoints into an FLV instead of rendering the whole thing again? (I don't think FLVmetainjector does).

View 1 Replies

Actionscript 3.0 :: Add Cuepoint Using Custom Flv Player (not The Component)

Oct 27, 2008

I have this custom flv player and now I want to add cue points to it, but I don't know how. I've been doing research online. I know that if I use the component flv playback I can use addASCuePoint to add cue points in actionscript, but what about custom flv player?

View 3 Replies

ActionScript 2.0 :: Button That Loads And Then Plays A Specific Cuepoint?

Jul 30, 2009

This should be simple but...I have several buttons "Questions" on the main timeline. The answers to these Questions are at specific cuepoints in the flv. This .flv has nav.cuepoints inserted during encoding.Click the button needs to load the flv,then automatically go to the specific cuepoint. Then it needs to run, eventually, to the end of the flv.I dont want the user to have to load the video first then use the cuepoints.I also dont want the video to load at the start, only after one of the questions(buttons) have been clicked.

Will the flv buffer from the cuepoint or does it have to buffer from the start of the video regardless of the cuepoints?

code Im playing with:

import mx.video.FLVPlayback;
//play at start
var my_flvPb:FLVPlayback;my_flvPb.autoPlay = true;[code].....

View 2 Replies

ActionScript 3.0 :: Cuepoint Listener Can't Target Dynamically Loaded Swf

Mar 15, 2011

I'm having trouble adding a cuepoint listener to a dynamically loaded .flv which targets a dynamically loaded .swf. I'm also adding cuepoints via actionscript.

Basically everything loads okay but I get a compile error in the the function cuePointHandler when referencing mc_slideLoader.

Scene 1, Layer 'Actions', Frame 1, Line 601061: Call to a possibly undefined method gotoAndPlay through a reference with static type flash.display:Loader.

I'm still a rookie with AS3 so I'm thinking the Loader class doesn't have a gotoAndPlay property and some how I have to get it to act like a MovieClip?

Here's the actionscript.

ActionScript Code:
// using Flash version CS5
import fl.video.*;
import fl.video.FLVPlayback;

[Code]....

View 7 Replies

ActionScript 3.0 :: Flv Cuepoint Handler Update On Scrub For Synced Slides?

Dec 15, 2009

What I have is a video that plays and has nav cuepoints which, when reached, trigger the movie to display a new frame, each frame being a "slide" of bullet points that correspond to what the person in the video is discussing. This all works well, but I the only problem is that if the viewer scrubs the video backwards or forwards the slide doesn't update to display the appropriate slide unless the user plays through the nav cuepoint again. I would like to make it so that when the user scrubs, it will check for the last nav cuepoint and jump to the appropriate movie frame/slide but without taking the video back to the last cuepoint.

I'm pretty new at actionscript 3 but I believe I need to use some combination of onScrubFinish and findNearestCuePoint, but I don't know how to implement this.I should do this? Here's my code so far:

Code:
// *************************
// Stop the timeline

[code]......

View 2 Replies

How To Disable SeekBar

Dec 2, 2009

using an FLV, with SeekBar component...works fantastic, but the scrubber clashes with my cuepoints when dragging along the timeline. So i want the scrubber to be inactive. Tried everything but can't get it to disable.disable this, I've looked everywhere, seems a few people have asked here but with no solid response

View 3 Replies

Adding A Seekbar Bar Timer?

May 6, 2009

I would like to add a timer that keeps track of total time and also current time that runs next to my seek bar component for my flash movie. How can I do this? For example: 1:11 | 2:04 ... the 1:11 displays the current time of the movie and the 2:04 would represent the total time of the video.

View 20 Replies

ActionScript 3.0 :: Add A Seekbar To My Netstream?

Nov 27, 2009

I'm trying to figure out how I can add a seekbar to my netstream.I have the duration of the flv through metadata and the current time of the stream, but I can't understand how I should connect them to pass a position to a seek handler. And allso to be able to drag the handler to positions in the stream.

View 1 Replies

IDE :: FLV - Button Does Not Appear When Seekbar Fade Out

Mar 2, 2010

Basically I have a FLV that has a custom seekbar and seekbarhandle that you can see in the below image. The seekbar and seekbarhandle are under the layer "seekbuttons". Everything works perfectly but when I fade the seek bar out at the end of the FLV the seekbutton doesn't disappear instead it stays on the stage which shouldn't be possible cause I put a blank keyframe where it is.

View 13 Replies

ActionScript 1/2 :: Flv Cue Points And SeekBar Component

Oct 7, 2008

I have a quick question regarding cue points. I am creating a file (flash CS3 using AS2) that includes an FLV video with cue points. The video is an FLVPlayback component (vs. a video object), and the cue points have been embedded in the FLV using the Flash Video Encoder. The video is a simple video capture of a person presenting a slide show. The video does not include the slides that this person is presenting. When the video plays and the cue points are reached, I have set slides (not part of the video, just separate elements on the stage) to appear on the stage, and change as each cue point is reached. The slides display at the appropriate point in the presentation, and this seems to work well.

The issue comes in with the scrubber. I am using the SeekBar component to show progress through the video and to allow the end user to scrub through the video, if they wish. However, when they scrub, the slides do not change. Meaning, if the user moves the scrubber forward or backward, the slide does not change to match the new location of the playhead, so the slides are out of synch with the presenter in the video. Is there a way to "read" the current cue point, based on the location of the playhead, so that the appropriate slides display at the proper scrubbed time in the movie?

View 1 Replies

Professional :: How To Create Seekbar For Timeline Using AS 2.0

Feb 6, 2012

I have a timeline that contains a video track and an audio track. I have created a working play button and pause button, but cannot get a seek bar or volume control to work. I cannot use ActionScript 3.0 because I have the video embedded into the timeline since I have hotspots throughout the video. How can I create a seek bar using behaviors/actions with actionscrip 2.0 to control the video/audio?

View 18 Replies

ActionScript 2.0 :: SeekBar Handle Won't Alpha Out

Aug 7, 2006

I have a seekBar component that controls a video clip. I want the seekbar to be invisible (alpha = 0) when the video first comes up,a nd then when someone rolls over the video, have the seekbar tween to alpha = 100; I got the seekbar to do this, but the handle on the seekbar is always visible and I can;t figure out how to control it. The id of the handle is SeekBarHandle, but when do something like SeekBarHandle._alpha = 0, it still doesn't work. I have searched the forums for an answer and can't figure it out. Has anyone had this problem before and know how to control the handle on the seekbar?

View 8 Replies







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