ActionScript 3.0 :: Create A Flv File Thats Got Multiple Event Cuepoints

Sep 20, 2010

I used After Effects to create a flv file thats got multiple event cuepoints. When i try to use these cuepoints in Flash, it says :

[Code]...

81.88 is the first position where two Cuepoints are set on the same point of time. I named them 81.88a and 81.88b in After Effects but it wont make a difference. Each of these points has some important parameters (cornerpoint data) so that i need them all.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: How To Create Reactions To CuePoints

Dec 14, 2010

I am having some issues creating reactions to CuePoints when using NetStream();. I can get what I want to work when the video is embedded directly onto the stage by using the following code:

vid.addEventListener(MetadataEvent.CUE_POINT, cp_listener);
function cp_listener(eventObject:MetadataEvent):void {
obj = eventObject.info.parameters;
for (key in obj) {
if (key == "CuePointName1") {
[Code] .....

The trace statement is returning the name of the CuePoint correctly, but 4 times like this:
CuePointName1
CuePointName1
CuePointName1
CuePointName1
Which I assume is why the if statement isn't picking it up.

View 3 Replies

ActionScript 3.0 :: Create A Function Which Will Search The Cuepoints For A Specific Time?

May 24, 2010

I have the following XML file structure:

Code:
<VideoData>
<CuePoints>[code]....

And I am trying to create a function which will search the cuepoints for a specific time, I'd also like the function to be re-useable, so I could just feed it a xml tree path and a search term then it would return a reference to the matching node.So far I have only managed to return what is in the node:

Code:
public class Search
{
public static var returnData:Array = new Array();[code].....

View 2 Replies

Java :: Create Multiple File Downloader Without ActiveX?

May 18, 2010

I want to create multiple file downloader without Activex on web page.

View 1 Replies

ActionScript 1/2 :: Create A Multiple File Uploader Using FileReference?

Sep 27, 2009

i'm trying to create a multiple file uploader using FileReference. The user should be able to select more than one file but i don't want to use FileReferenceList for this. So instead the user opens the Browse dialog, picks a file then opens up the Browse dialog again, picks another file etc.
 
To make this work i'm trying to copy the FileReference object into an array, but this isn't really working. Here's how i do it:
 
fileref.as
import flash.net.FileReference;
class fileref { public var fileRef:FileReference;// = new FileReference();}

[Code].....
 
And how can i make it so, that i can add multiple files..??

View 3 Replies

Javascript :: Create A Multiple File Upload Flash Application?

Dec 30, 2011

I am trying to create a multiple file upload flash application to be called from an External Interface, but it isn't working.

AS3:

var fileRef:FileReferenceList;
ExternalInterface.addCallback('selectFiles', showDialog);
function showDialog()

[Code].....

When I run the script and comment out the fileRef parts and uncomment the alert call, it shows the alert, also when I comment out the ExternalInterface call, leaving only the fileRef parts, it shows the file upload dialog.

When I run it as intended, I get the following error:

Error calling method on NPObject

View 2 Replies

Php :: Create Upload Script With Multiple File Select Like Facebook With A Progress Bar?

Mar 31, 2011

I was just wondering that is there a way to create a multiple file select like Facebook (using flash, I think.) and with a progress bar that show every photos progress in one progress bar. Have a clue or a script which can be customized and can be used easily?

View 2 Replies

Jquery :: Create Ajax Based Multiple File Selector Uploader?

Apr 21, 2011

I want to create a site with a multiple file uploading through a singe button. And as I'm very new to the world of Web-Based Scripts

View 1 Replies

Actionscript 3 :: Use The Same Event-listener Callback For Multiple Event Types?

Nov 18, 2011

This might be more of a subjective question, but is it generally best practice to have one dedicated method per event-types that you add an event-listener?

Such as:

myButton.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
myButton.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
//Somewhere else in the code...

[Code].....

And if you had a MouseEvent.MOUSE_UP, MouseEvent.MOUSE_DOWN and other relevant MouseEvents event-listeners to watch for, you could even set a switch statement to handle all the various MouseEvent types.

View 1 Replies

ActionScript 3.0 :: Global Variable Event - Create An Event Detected To See If It Reaches A Certain Number?

Oct 26, 2010

If I have a Global Variable Globalvars.vars.noLoaded which is in many classes How do I create an event where i detect to see if it reaches a certain number.
 
[code]...

View 3 Replies

ActionScript 3.0 :: F4v Cuepoints Not Working

Aug 10, 2010

I have an object that when I use an flv with a CuePoint, it all works fine. When I changed the flv out with an f4v, also with a CuePoint, the code does not work.[code]

View 2 Replies

ActionScript 3.0 :: Cuepoints Without Flv Component?

Aug 14, 2009

I'm creating a video player with closed captioning and navigation. Is it possible to as AS cuepoints to a video object and not a component.
 
Like this:
 
//Create video screen and position it
var vid:Video = new Video(320, 240);
vid.attachNetStream(ns);

[Code].....

View 2 Replies

ActionScript 2.0 :: Interacting With FLV Cuepoints?

Oct 22, 2009

First, I should mention that I haven't used Flash for years and I'm feeling a bit out of my depth.I've created an offline presentation for a client using ActionScript 2, authored with Flash CS3 (to run off a laptop).The presentation has an FLV (currently attached to the stage via the FLVPlayback component) which must play through it's entirety and at the end present 3 questions. Each question will present an answer once clicked. The user will then be presented with a "watch again" button which should restart the FLV from the beginning.

The second time the FLV plays back it should pause at 3 key points and present the user with questions and answers as before. Once the user has dealt with the Q&A's they should see a button to continue and the FLV should continue playing from where it was paused.I'm happy making the various interactive Q&A's, but have no experience of interacting with video. After a brief search in the web "cue points" look like the best tool for the job.

View 9 Replies

IDE :: CuePoints Work In Some FLVs, Not Others?

Mar 12, 2009

I am having an issue with setting CuePoints in a FLV that is not natively FLV. My code works on files that were exported directly from AfterEffects to .FLV. However, some of the video files I am working with are originally .MOV files. When I pass them through either Adobe or Flash Media Encoder, the CuePoints are not recognized. It seems very strange.

Here is the code, although the code works perfectly with native FLVs, so I don't think that is the problem. I'll put it on here just in case.

Code:
myFLVPlayBack.onRollOver = function () {
playHover.gotoAndPlay(2);
}

[Code].....

View 1 Replies

ActionScript 3.0 :: Create A Series Of Scripts That Will Create Some Custom Event Listeners?

Nov 14, 2009

I'm trying to create a series of scripts that will create some custom event listeners.
 
I have three movie clips on my stage. One is a movieclip who's sole function is to hold array's and the event listeners. A second which moves around the screen. And a third that is motionless.
 
The problem is that the argument I want to test (which activates the custom event) is held within a string.
 
What I want to know is, how do you test to see if the string argument is true?
 
Is it something similar to this:
  
var myCode:String="1<0";if(myCode){
trace('one is smaller than 0'); //Strangely apparently one IS smaller than 0!!!
}

I think I'm going about this in the wrong manner, however this is the only way I can think of this working... (since I need to be able to dynamically create these events)

View 7 Replies

ActionScript 3.0 :: Add Cuepoints After Setting Source

Dec 2, 2010

I had to add the cuepoints after setting the source.Iam trying to use cuePoints on a flvPlayer component but it wont work for me.I have a flvPlayer 2.5 in my timeline (vid_mc) and this code:[code]

View 1 Replies

ActionScript 3.0 :: Receive CuePoints With FLVPlayback Component?

Jan 25, 2010

I've been trying to get cuepoints out of my flv video with the following code without success:

[Code].....

View 1 Replies

ActionScript 3.0 :: CuePoints Using FLVPlayback In Projector Executable?

May 26, 2010

I have a Flash CS3 project that uses the FLVPlayBack component to play 5 FLV files. Each of the files has between 1 and 15 navigation CuePoints embedded in the video (MOV files encoded using Flash Encoder).

When I test the app using Ctrl-Enter from the IDE all works fine.

When I test the published projector EXE on the hard disk all works fine.

When I burn all the files to CD-ROM and start the projector EXE not all is fine.

When I click on one of my buttons that will navigate to the desired cuepoint within the FLV, it acts like it is unable to find the cuepoint and thus goes to the end of the FLV file.This is very annoying and I can not find anything listed anywhere. I suspect it has something to do with buffering or something because the CD-ROM is slower than the hard drive.When playing the video all I am doing is:

vidPlayer.stop();vidPlayer.source = "name of flv file";vidPlayer.play();

When I navigate to the cuepoint I am using the following:

vidPlayer.seekToNavCuePoint(cueName);

View 1 Replies

Actionscript :: Professional : Flash CS5 Dropping Cuepoints?

Jun 29, 2010

I've just upgraded from CS3 to CS5 and have discovered an annoying issue with cue points. When I open an existing FLA that has a movie with actionscript cuepoints and try to replace it with another movie (an updated version), Flash drops all my cue points and I have to re-enter them. Is there some way to prevent this?

View 2 Replies

Professional :: CuePoints Not Working Properly Netstream?

Jul 15, 2010

Im trying to get cuepoints working on an old as2 project.I have a netstream video component and want the cuepoints embedded in the FLV to trigger buttons to appear. I have embedded them as Event Cuepoints. 
 
ns.onCuePoint = function(infoObject:Object){    trace(infoObject.name);    if(infoObject.name == "CP1") {         trace("yes working");    }}; 

[code]...
 
This shows all of the cuepoints within the FLV. I cant figure out how to change the code to trigger actions WHEN the FLV hits a Cuepoint.

View 2 Replies

ActionScript 3.0 :: Creating Video Object - How To Add CuePoints

Mar 9, 2007

My question deals with adding a cuepoint in actionscript 3 using code. In flash 8, I made use of the FLVplayback component which included a method addASCuePoint(). In Actionscript 3, I am now using the standard method of creating a video object, except i can't figure out how to use actionscript to add a cuepoint. In the AS3 LiveDocs entry for NetStream , it list only event and navigation as cuepoint types. Previously there was a third type of cuepoint: actionscript.

Code:
public function LoadVideo(){
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
var vid:Video = new Video(320, 240);
[Code] .....

I am guessing one option is to create an onEnterFrame function that compares the NetStream.time to each value in my cuepoint array, and then do a addEventListener(EventType.ENTER_FRAME, onEnterFrame); Although this might work it requires my application to loop through my cuepoint array every single frame, which isn't really efficient.

View 1 Replies

ActionScript 2.0 :: Create / Delete / Create Event Handlers

Oct 19, 2006

At the moment I create an onEnterFrame function to ease a movie clip into view. I then delete it. I want to be able to recreate a similar onEnter Frame function later to swoosh the movie clip out of view. At the moment weird things happen when I try and do the second onEnterFrame.I know I could put this all in the original onEnterFrame, but I don't wanna be wasting processor time doing an if statement every frame to work out if it's time to swoosh out the movieclip. Or should I not worry because that's negligible cpu time?

View 3 Replies

ActionScript 2.0 :: Preloading FLV With Cuepoints - Animations Slow To Start

Jan 7, 2009

This is the first time I have used a FLV with cuepoints. I have a flv which loads into my swf which I have added cuepoints to on import. I have a series of buttons over the flv and when you rollover these you skip to various points in the flv. This works in principal but in reality it is a little slow, especially when it first loads. I am assuming this is because the FLV is still loading (although I am testing this locally and it will never be used on the web). If this is the case I think I need to make sure the entire flv is loaded before i show it. Secondly, is this the reason the rollover animations are slow to start or is this an inherent problem when using FLV? Is there anything else I can do to make it more responsive?

View 3 Replies

ActionScript 3.0 :: Skipping Between CuePoints In Custom Video Class?

Apr 25, 2009

I am creating a custom video class and was wondering is anyone knows how to turn cue points embedded in an flv into a time in an array.

I have tried the following but, although it doesn't give me any errors, it simply rewinds 1 second rather than skipping back to the correct cuePoint. I can't figure out why? :

Code:
public var _durationArray:Array = new Array();
public function makeArray(info:Object):void {
for (var i:Number = 0; i < info.cuePoints.length; i++) {

[Code].....

This previous code is amongst other code, which makes does things. Then in a new class I call it inside a function (which triggers fine):

Code:
_vidStream.seek(_durationArray[0].time);

View 1 Replies

ActionScript 3.0 :: Create Custom Event Class If I Dont Need To Pass Custom Property With That Event?

Dec 28, 2009

Is there a point of creating custom event class if i dont need to pass custom property with that event?

View 3 Replies

Media Server :: Read Or Extract Cuepoints Created Live With Nestream.send()?

Sep 17, 2010

Im doing live streaming directly from webcam like Ustream.TV. Im  using Flash Media Server 3.5, and I record cuepoints of broadcaster with  the method ns = new NetStream(); ns.send('functionName' , 'value'); I publish the content and record it in a .flv file. However when I  download this FLV file and extract the metadata with tools like  FLVTOOL2, or FLVMETA, the cuepoints that I recorded with ns.send()  method doesn`t show. I know they are there since when I play the FLV file in another client, I  can receive the calls for the 'functionName' in the exact time that I  call while recording. What I`m doing wrong? I would like to encode recorded video with Flash Media Encoder and  insert into it CuePoints that can call to the same function that I do  with live streaming. To do that, first I need to know how the CuePoints  are created and fixed into the FLV file that I record directly from  webcam. I need to know how they are stored to do it manually in Flash  Media Encoder.

View 19 Replies

ActionScript 3.0 :: Using Multiple Event Listeners?

Sep 27, 2009

In AS2 you could add an onRelease to multiple buttons like this:

Code:
onebutton.onRelease = anotherbutton.onRelease = lastbutton.onRelease = function() {
//do something when either button is pressed;
}

Is there something similar possible in AS3 using addeventlistener? Besided copying the same addeventlistner line for all individual buttons?

View 1 Replies

ActionScript 3.0 :: Event For Multiple Buttons

Nov 24, 2009

I am using the following AC3 to call a new frame when a button is down. All my instances are named as listed and I double checked that. All the buttons are on different frames. When I just use one it will work, but when I add the others I get the Output Error: TypeError: Error #1009: Cannot access a property or method of a null object reference.at final_project_fla::MainTimeline/frame1() It will allow me to move to frame 5 and 6, but not 7 & 8.[code]

View 5 Replies

Event Handling On Multiple Instances Of One Mc

May 17, 2010

I have a problem with event handling. I'm working on a calendar, on which events can be listed. With actionscript i loop through an XML file with the days (and if there, the events for that day). So far so good. Where it goes wrong is this: I only want to display blocks with the day numbers on it. When you click on a day, a box pops up and shows the event's for that day.

This is what i did: created a movieclip with classname mc. loop trough the xml file and for each day create a new instance of mc with the day number as text on it. This al works, but now i want to add an eventhandler for each day. How to do this?

View 1 Replies

ActionScript 2.0 :: Dynamic Event For Multiple Mc's

Jun 10, 2010

i attach multiple movie clips (MC 0-max) to the stage and want to get certain variables when i roll over them.i want the "rollover/rollout" part to be dynamic. i tried this below, but it doesnt work i have the feeling this is a wrong approach.[code]

View 2 Replies







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