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


Similar Posts:


ActionScript 1/2 :: Update NetStream.time During Scrub?

Dec 3, 2009

Just want to throw this out first that I am very new to ActionScript.  I am trying to integrate Omniture tracking with a custom Flash player.  Here is my dilema.I have this function which populates the "currentVideotime" variable with the current time in the video:

function videoStatus() {  amountLoaded = ns.bytesLoaded / ns.bytesTotal; if(initialized == "yes"){  controllbar_mc.loadbar.loadprogress._xscale  = amountLoaded * controlload_width; controllbar_mc.scrubhandle_mc._x = ns.time / duration *
 
[code].....

View 7 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 2.0 :: SetTimeout - Animation To Do Is First MC Slides In From The Right - Pauses Then Slides Off To The Left

Nov 24, 2009

I have 2 movie clips, one names mc_frame01 and another mc_frame02. I've tried to set variables and arguments to make it easier when theres more mc_frameXX's. All I want the animation to do is first MC slides in from the right, pauses, then slides off to the left. Then repeat for each MC. With the code below, both MC's seem to slide in from the right at the same time and that's it.

[Code]..

View 9 Replies

Actionscript 3 :: Flex Multiple Spark Lists With Scrolling Synced?

Apr 10, 2012

I have several horizontal scrolling lists with differing item widths stacked inside a Vertical Group. On an item click all any selected item from the other lists will be cleared. When any of the lists are scrolled all the other lists should scroll exactly the same amount in the same direction, simalar to [URL]

The synced scrolling is throwing an undefined error and has crashed the adl(it is a mobile app) on one occasion. This happens only when I add more than 2 synced scrolling lists via event listeners.

So my question is: Can anyone see why this errors or is there a better way to achieve this type of horizontal scrolling multi-list, possibly a really wide data-grid or group of buttons inside a scroller?

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code]....

View 2 Replies

Professional :: Music-synced Text Scroller Design - How To Scroll The Text

Jul 16, 2011

I want to make a Flash app that will scroll text whilst music plays. The music part is easy, but scrolling the text...I've tried simply importing ALL of the text, resizing, and scrolling that one giant object upwards, but when the screen was full of text it began to slow down. I need the speed uniform to sync it with the music in the background.
 
I could have a 70,000,000,000 frame movie and move each element individually, avoiding the heavy load, but the amount of work on my end this would require would be so astronomical that it just wouldn't be worth it. Ideally I want something like a component that I can dump text into and have it deal with making the scroll speed uniform.
 
It would also be a major plus point if it could be used/created by another program, so that someone without Adobe Flash could produce a similiar kind of movie simply by putting in their text and MP3 file and hitting a "Generate" button.

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

Flash :: Professional - Update Via SCUP - The Client Is Not Supposed To Be Interfered With The Update Progress

Nov 17, 2011

I am deploying Updates via SCUP and SCCM to hundreds of Computers. Fortunately Adobe provides an SCCM Update Catalog for both Adobe Flash ActiveX and Adobe Flash Plugin. But now my Problem: After publishing the Update via SCCM, the client is not supposed to be interfered with the Update Progress (which is working) I figured the Updater works like this: First SCCM checks if a Update needs to be deployed, if this is the case, The Flash Updater begins. First the old Flash Version is beeing uninstalled. But now: if the Client has a Browser Window (IE, or Firefox) open, the Updater is not able to install the new Flash Version and quits with an Error. This leaves the Client PC without any Flash (because its being uninstalled before) How can I prevent Flash being uninstalled due to the Update progress not working while a Browser window is open?

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 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 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 3 :: Movieclip Using A Timer To Update Dynamic Text. No Update?

Dec 12, 2011

I've got a movieclip, which has got a dynamic text element.The movieclip uses a package for its codeThe package if obviously derived from the MovieClip classI've got a timer, that updates the dynamic text field every second.When debugging the code, I see that the timer works well. Its updates the value of the dynamic text field.

View 2 Replies

Scrub Bar For SWFs

Sep 14, 2009

what i am looking for is an FLV player type component (doesn't have to be an actual component) that will play SWFs. i need it to have all the same functionality (play, pause, scrub bar, etc...) it seems crazy that there isn't one out there i have even looked in the Exchange area and only seem to find ones that control FLVs or MOVs, not SWFs.

View 4 Replies

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

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 2.0 :: Scrub Through The Timeline With A Key?

May 1, 2009

Just curious if anyone has ever discovered a way to scrub through frames one by one on the timeline? I'm not referring to action script nextFrame() kinda thing, I'm referring to the Flash editor only. Seems like a <control> + <right arrow> ought to do something like that but no luck.

View 1 Replies

ActionScript 2.0 :: Flash8 Add A Scrub Bar To MP3 Player

May 10, 2009

I am trying to find out how to make a flash mp3 player. I have downloaded the source codes from the following website : [URL] (Slim version 0.2.3) and have made some minor modifications to fit my needs.

However, I am still clueless as to how to add a "scrub bar" (or progress bar) that would move as the file is playing and go to the location (minute) where i click on.

View 1 Replies

Flash :: Scrub Audio On Timeline In It?

Jan 28, 2010

Is there a way to scrub audio on the timeline in Flash?

I'm trying to sync a soundtrack with animation and need certain sections to match up.

View 1 Replies

Professional :: How To Scrub Timeline Using Shortcut

Nov 3, 2010

I want to scrub the timeline using a shortcut. What I mean is... I want to use something like the arrow keys to go forward and back and frame, each keypress taking me back and forth, without having to manually scrub. Hitting Enter and Enter again is not useful enough for what I'm seeking.

View 4 Replies

ActionScript 3.0 :: Can Scrub A MP3 Sound Like With A Video

Oct 21, 2009

are you able to scrub an mp3 sound with a slider bar? im looking through the Sound class but there appears to be no properties that would aid in that (like NetStream.time())

View 0 Replies

How To Create Scrub Bar To Control SWF Files

Dec 5, 2007

How to create a srub that can control movie clips (SWF)? I can created a scrub bar to control FLV but was not able to create one for controlling SWF.

View 14 Replies

Actionscript 3.0 :: Scrub Bar For Custom FLV Player?

Mar 27, 2008

So I have a copy of the actionscript 3.0 cookbook... trying to figure out the scrubby code ...using the actionscript 3.0 cook book I come up with:

Code: Select all   
import flash.display.Sprite;
import flash.net.NetStream;

[code]....

Returns no compiler errors.... I get the scrub bar... but it doesnt work... it just slides back and forth. I know its problaby something simple that is missing and one of you advanced flash coders are snickering and making fun of me under your breath but thats fine..

View 6 Replies







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