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


Similar Posts:


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 :: 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 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 :: Match Values In Two Arrays Of Different Length, Possibly Unsorted

Mar 9, 2011

I want to compare one value against all values in the other array and extact a match. These are different in length.

Imagine one column of unsorted ID's and one column of ID's and names. I came up with this, but it doesn't work.

private function mergeCollections():void
{
for (var k:int = 0;k <= idArray.length;k++)
{

[Code].....

my arraycollections arrive from database.

The real thing I'm doing here is recieve values from a table full of ids and a table full of those ides, plus the name (they are separate because, normalization dude!) And I want to put them inside a datagrid that will only display the name.

I say possibly unsorted because the second column might reach a point of several deletes and inserts and might end up unsorted. But for this case I have one unsorted column against one sorted column.

My current output is just one name printed, and the rest dismissed completely.

NOTE: Also take in account that the nameArray has always MORE or EQUAL values to the ID table. and the Id table will always have values that match the names table.

View 1 Replies

As3 :: Flash - Fastest Method To Search Next Higher/lower Value In Unsorted Array?

Mar 15, 2011

how to deal with unsorted arrays to get the next higher or next smaller value?

var _myArray:Array = (1,pizza,2,6,8,test,11,16,17,cola)
_myArray.splice(4,1) // > remove number 8 !
trace(_myArray) // > array contains now: (1,pizza,2,6,test,11,16,17,cola)

how can i get the next higher value (= 11) ?

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

Professional :: Playing An External Video File And Upon Video Being Played, Move Onto Next Frame?

Dec 16, 2011

I suppose the title says it all.  I can load an external video file (FLV) and I can have it play.  I also have the custom buttons made to control the clip.  The only thing I have left to do is to have the main timeline move onto frame 2 once the external video reaches its end.  I am using actionscript 3 and flash cs 5.5. 

View 7 Replies

Flash :: Html5 Video Tag - Searching Which Browsers Support Which Video File Types

Apr 29, 2011

Looking into HTML5 video tag, and researching which browsers support which video file types, and my initial thought is things just got harder than just using flash. I am wondering if there is some skeleton code (combined with development approach for videos) that someone has figured out to do the following: If flash is available, use it If not, try html5 video ogg format If that doesn't work, try html5 video h.264 format If that doesn't work, try html5 video webM format Based on what I am seeing, am I correct in thinking that now, in order to accommodate all users on all browsers, a video needs to be published in 4 formats? If so, this HTML5 video thing is an epic fail!

View 2 Replies

Media Server :: FLV Video Freezes After Camera Switched On But Video 'is' In File

Aug 12, 2009

I had an flv recording from a webcam.It mostly recorded fine, but there's one point where I paused the broadcast for an intermission.A few minutes later the broadcast started again but the video doesn't play beyond that point, only audio plays.A few minutes later in the recording the broadcast switched to another camera and the video starts playing again just fine from there.I can't seek past the frozen point either to skip a couple of seconds ahead.The freeze is at about 9:00.If I seek to 9:01 it jumps ahead 8 minutes to where the camera switches.What's strange in this is that the video is *definitely* in the file.Using Moyea's FLV Editor Pro I converted the FLV to an MPEG and the whole video is there, so it's not that the camera stopped transmitting, it's just that the playback isn't working.

View 2 Replies

Flash :: Save Video Stream From Webcam As An Image Instead Of An Flv Video File Using ?

Jun 30, 2010

This will create an flv video file on flash media server:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.publish("yourCamera", "record");
ns.attachVideo(Camera.get());

How can I generate an image for the current video frame every 2 seconds?

View 1 Replies

ActionScript 2.0 :: Make A Graphic Visible When "complete" Cuepoint Is Detected, But Function Doesn't Work?

May 24, 2007

I'm using Flash 8 (in case you need know what version I'm using).There's three flvs I have assigned a cuepoint, "complete". The goal is to make a graphic visible when "complete" cuepoint is detected, but this function seem doesn't work, any feedback on function?:

Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);[code]....

View 1 Replies

Actionscript 3.0 :: Display Video File In An Imported SWF File Fullscreen In Flash?

May 23, 2011

I am using a flipbook Flash/Actionscript 3.0 framework for a digital magazine[url]...

You can have videos embedded in the pages of the flipbook, but they can not be display fullscreen like Youtube videos, for example.

The flipbook can also import swf files to display as pages of the flipbook, so another way of embedding videos into a page of the flipbook would be to have the video player in the swf page you are embedding. This gives you more control over the style and the positioning of the video.

My question is: Is there a way with AS3.0 to togle the embedded video from normal predefined size to fullscreen and back?

View 1 Replies

Professional :: Put A Video Player Swf File Inside A Flash File?

Aug 17, 2010

i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial [URL] that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?

View 1 Replies

Professional :: When Save The File As A .swf File To View It In Browser The Video Gets Really Big?

Apr 15, 2011

When i save the file as an .swf file to view it in my browser the video gets really big (sized the flash document 250x240 px) . How can i easily control my flash video sizes?
 
another thing: When im doing a video and work with things that are outside of my white document (in the gray area) for instance things that are to be faded into the document and so on. These things also show up in outside of my video when i view it in my browser.

View 1 Replies

ActionScript 3.0 :: Put A Video Player Swf File Inside A Flash File?

Aug 17, 2010

i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial (search on google for 4906532_within-another-flash-swf-file.htm since i cant add links) that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf.

View 2 Replies

ActionScript 3.0 :: How To Download Audio File And Video File

Sep 27, 2009

i am new to actionscript i need to download .mp3 and vedio file form my remote server how to do this give me any example source code for this.when i download .pdf its downloading properly. but not audio.

View 1 Replies

Professional :: Play Video With A .swf File Instead Of A .flv File?

Jul 31, 2010

I have a slash template that I will be inserting video into, the template is set up for a .flv file ? what would I change in Dreamweaver or Coda to edit this file so that it can play video with a .swf file instead of a .flv file? here is the template
 
<dat video="dat/Images/Folio/video.jpg" title="sample" des="video samples" flvPath="dat/Videos/test.flv"/>
 
I want to change this to test.swf instead of test.flv

View 2 Replies

IDE :: Save This Swf File To A Video File?

Apr 29, 2010

Im trying to upload it to you tube and needs to be in a video file..

View 1 Replies







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