ActionScript 3.0 :: Simple UI For Video FLV With Cue Points And Buttons

Jan 27, 2012

I have built a very simple flash player using the video component and I used cue points in the flv, then I used simple buttons and find cue points code snippets to make my buttons go to a certain part of the movie. All that works very well. Now what I need to do is when a certain que point portion is playing have the button stay in a overstate and once that portion of the video is done or another button is clicked the first button return to upstate and the new portion or the new button have the overstate.

Code below
start_btn.addEventListener(MouseEvent.CLICK, fl_ClickToSeekToCuePoint);
function fl_ClickToSeekToCuePoint(event:MouseEvent):void {
var cuePointInstance:Object = vid.findCuePoint("ch1");
vid.seek(cuePointInstance.time);
[Code] .....

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Lining Up Buttons Over Progressive Video Download With Cue Points?

Apr 13, 2012

I am looking to create something like [URL]

Basically a video that allows you to click on products and pull up more info on them as they appear in the video.

The video I will be using is 3 mins long with 10 products you can click on, so I guess I will need to progressively download it. If I could embed it in the timeline it would be a piece of cake. I would just have buttons motion tweened moving with the products in the timeline. But the file size will be too large to make this a sensible option.

My question is, I understand cue points can be used to activate actions for progressive video downloads, but how would I track the buttons over the products using progressive downloading when I can't see the video in the flash timeline?

View 13 Replies

Load A Video Into A Video At Certain Cue Points Along The Main Video?

May 31, 2009

I would like to load a video into a video at certain cue points along the main video.  Does anyone know how to do that?

View 20 Replies

ActionScript 2.0 :: Create A Simple Quiz Which Adds Up Points Depending On The Answer Selected?

Oct 21, 2010

I'm looking to create a simple quiz which adds up points depending on the answer selected.where to read about creating something like this?

View 10 Replies

Use Event Cue Points To Add Buttons?

Dec 17, 2011

How do I go about having buttons display in an external flv file?  I know I can establish event cue points with Adobe media encoder.  I want the the buttons and graphics to appear and stay on the screen, even though the external flv loops.

View 18 Replies

ActionScript 3.0 :: Cue Points In Video In External SWF?

Jan 26, 2012

I have a video that is playing in an FLVplayback Component, inside of a MovieClip. I have a cue point in the video about half way through, that triggers a seperate MovieClip (on the Parent timeline). This worked perfectly until I removed the Parent MovieClip, and made it an External SWF. Now the cue point triggers this in the Output window:

Code:
ArgumentError: Error #2109: Frame label head_fade not found in scene head_fade.
at flash.display::MovieClip/gotoAndPlay()
at M_fla::head_intro_7/fl_CuePointHandler()
at flash.events::EventDispatcher/dispatchEventFunction()

[Code]....

Do i have to do anything different now that this is in an external file.

View 3 Replies

ActionScript 2.0 :: Navigate To Certain Points In A FLV Video?

Jan 11, 2008

I'm currenlty working on a Flash project where I need to navigate to certain points in an FLV video. I've worked a little with FLV before, and I've worked with cuepoints to trigger other actions/events in Flash, but what I'm looking to do here is when certain events happen in Flash (could be as simple as someone clicking on a button) I need the video to jump to a certain point.

My first thought was to set actionscript cuepoints then have the events in Flash make the video go to those cuepoints, but I can't seem to find any information how to do that. All the information on cuepoints I've been able to dig up talk about using the cuepoints in the video to trigger other actions, not vice-versa.

View 4 Replies

ActionScript 3.0 :: 1013 Error For Buttons Finding Cue Points

Jul 27, 2009

Using the code below I get an error message 1013: The private attribute may be used only on class property definitions.

View 4 Replies

ActionScript 3.0 :: Playing To Video Cue Points With Easing?

Feb 12, 2010

I have a few questions about cue points that I can't answer with my Google skills. Firstly, I am looking into using navigation cue points for playback of an FLV in my Flash project. But the seektocuepoint functions don't seem to play to the cue point, they just skip ahead. I want to actually play through to the actual cue point in the video. Is there a way to do this?

Secondly, I noticed that you can't play FLVs in reverse.

And lastly, is there a way to implement easing when playing and stopping FLVs? I know this sounds odd, but it would sort of be like dropping the playback rate to half just before stopping. Is this possible?

View 1 Replies

ActionScript 3.0 :: Stopping Streaming Video With Cue Points?

May 20, 2009

All i want to do is make a video streaming in a video object to stop on a cue point, and play from abother when a button is pushed. It's relatively simple, right? Wrong. Over a hundred $s in how-to books and several hours wasted searching online later and I have nothing. I have checked and re-checked the cuepoints are correct (i made them in flash video encoder CS3) and tried just about everything as far as AS is concerned. Here is my latest attempt: (obmintro is the player instance name, i have the rtmp info in source under player parameters and it plays fine)
 
import fl.video.MetadataEvent;obmintro.addEventListener(MetadataEvent.CUE_POINT, cp_listener);function cp_listener(eventObject:Object):void{if (eventObject.object.name == "site_end");{  obmintro.pause();
//i have also used stop, stop("obmintro"); and i don't even know what else.}}

View 3 Replies

Media Server :: Points Stored For The Whole Video?

May 28, 2009

I was just wondering whether or not actionscript cuepoints created via the default cuepointManager on a FMS stream be seen by other clients viewing the same video? For example if I were to do this: (where vidVideo is an instance of VideoDisplay in flex 3) vidVideo.cuePointManager.removeAllCuePoints(); var cuePointArr:Array = new Array(); cuePointArr.push({name:"stopClip", cuePointTime, type:"actionscript"}); vidVideo.cuePoints = cuePointArr; Will other clients viewing the same video be affected by these cue points? or are Actionscript cue points maintained only on that stream?

View 1 Replies

ActionScript 3.0 :: Cue Points On Video NO Flvplayback Component

Oct 19, 2011

Is there any way to read cue points from a flv which i load intro a netstream object? I dont want to use a component.

View 1 Replies

Data Integration :: Flash Video - Navigation Cue Points From Xml?

Dec 16, 2007

Is it possible to load navigation cue points from an xml file like you can do with captions or do they always have to be embedded in the encoding? If it's possible, can you point me to a resource that shows you how? I've searched and searched for weeks and found nothing!

View 5 Replies

ActionScript 3.0 :: Sync Image Slides To Video Cue Points?

Aug 27, 2008

I'm working in AS3. What is the best way to sync some image slides to cue points I have embedded in a video? Ideally the video would play and and the image will change according to the cue points.

View 1 Replies

Professional :: Handling Flash Video Cue Points In Javascript

Dec 13, 2010

how to get Javascript in an HTML page containing an FLV video to listen for cue points in the video? I understand how to get the cue points in, but most people only seem to want to handle the cue point events within Flash. I want to use Javascript to display a different text in a page element at each point. Does the method vary depending on what player you're using? How about when it's the standard Flash playback component? Does there need to be any special Actionscript in the SWF containing the FLV?

View 2 Replies

ActionScript 3.0 :: Bringing Up A Button And An Image Using Video Cue Points?

Jan 21, 2012

I have a 4:40 long video and I'd like to show a button and a background image (or a movie clip) at 4:30 and I want them stay on the screen after the video is complete. By the way I use Flash CS5.

View 14 Replies

ActionScript :: Cue Points For Closed Captioning In Video Control?

Sep 7, 2010

I am using using Flash Builder to create an AS3 video player which needs to support Closed Captioning. However, I am not using the FLVPlayback component. Is there a way of doing something like addASCuePoint() to flash.media.Video;, or is my only option using Flash' Timer to do my own check?

View 2 Replies

ActionScript 2.0 :: Video Object - Adding Cue Points To NetStream?

Feb 16, 2009

I have a video object inside a flash file. I am using NetStream to attach a video to the video object. How can I add cue points to the video ? Should I add a cue point to the video object or to the NetStream ? (I am using Flash 8.)

View 3 Replies

ActionScript 3.0 :: Get A Customizable Video Player With Cue Points For Flash?

Feb 7, 2011

do you know where I can get a customizable video player with cue points for Flash, written in AS3?

View 1 Replies

Flex :: Adobe Show Text At Specific Video Points

Feb 7, 2010

I'm using the VideoPlayer component in flex 4 to display a clip. I have about 3 or 4 notes that I want to appear at specific points of the video, sort of like caption but not quite. I'm trying to figure out how to use VideoPlayer time to cause another element to appear (text area with the note in it), but can't seem to get it.

View 1 Replies

ActionScript 3.0 :: Upload User Photo, Attach On Video Key Points?

May 5, 2010

Where to begin? Anything thoughts, or direction I should start with?

View 1 Replies

Flash :: Having Simple Buttons In Papervision

Jul 22, 2011

there's a simple thing in papervision I can't do , I want to have a simple button on my swf like we have in flash , just a 2d square which is on screen and you can click on it and have some action

View 1 Replies

Simple Navigation Bar - Making Individual Buttons?

Mar 29, 2009

I started creating a simple navigation bar: [URL]
But decided to make individual buttons: [URL]

As you can see the latter repeats, however the code (after about an hour checking it seems to be identical:
Actions for frame one:
_root.buy_mc.onEnterFrame = function() {
if (mouse_over_buy_mc) {
_root.buy_mc.nextFrame();
} else {
_root.buy_mc.prevFrame();
}};

Actions for invisible button:
on (rollOver) {
_root.mouse_over_buy_mc = true;
} on (rollOut) {
_root.mouse_over_buy_mc = fstartlse;
}on (release){
getURL("[URL]");
}

View 7 Replies

Slideshow - Controlling MovieClip Using Simple Buttons

Aug 19, 2009

I'm trying to build a simple slideshow with AS3 consisting of one movie clip which should be controlled backwards and forwards using simple buttons. I can get the slideshow to play forward once but, apart from getting slide 2 to go back to slide 1, I can't get it to work with the remaining slides.

View 11 Replies

Simple Drop Down Menu Buttons Not Working?

Aug 11, 2009

I'm having a bit of trouble getting a button in a hoover over drop down menu to link to another scene in the .swf movie. I just doing a basic drop down menu (example here: [URL] with a couple of buttons with in a movie clip, the movie clip being the "button" someone hoovers over. The buttons however are not going to the corrisponding scene I have them set up to. What's strange is that if I set in the buttons action panel to go to an url instead of a scene, in the .swf movie the button works when I click it...it wants to go the specificed url. Nothing happens when it's set to go to a scene.

View 5 Replies

Flash :: Create A Simple Navigation With A Set Of Buttons In It?

Nov 10, 2009

I go to create a simple navigation with a set of buttons in Flash. For some reason when I go to type the name of the buttons my font is messed up and not smooth.... I am not sure if this is a setting or what, totally confused.[code]...

View 1 Replies

Flash 9 :: CS3 - Attach Simple Code To Buttons

Sep 8, 2008

Say I have a symbol MyButton, as a button with the 4 special frames. When you mouse-over/mouse-out an instance, I'd like another object to be affected... text in some text box changing, or the item becoming visible, or similar. I know AS3 but I'm a real noob at CS3. I don't really get how actions work in CS3.

View 5 Replies

ActionScript 3.0 :: Create Simple Text Buttons?

Jun 10, 2010

I want to create simple text buttons like hyperlinks.

I used the TextField class, but I am not so font of this and don't need all this CSS styling.

View 1 Replies

ActionScript 2.0 :: Simple Multi Choice MC Buttons?

Jul 7, 2011

This is part of a large quiz I am building. The three choices here are part of a group of three from which you should only choose one. If so the other two are enabled=false.I can't change the method only modify since it is part of a much larger app that is runnung fine. So no radio buttons or codeing on maintimeline.

If you run the attached simple FLA and select the first choice you can see the enabled=false that is on the voted and pass framesworks fine, however if you choose the second the first is only disabled and the third is enabled and as logic would have it if you choose the third the first and second are enabled.The idea is to make it so the user can only choose one the other two are disabled while still having the choice to deselect.

View 0 Replies

Actionscript 3 :: Calculating Evenly Distributed Points On A Line Of Points

Oct 3, 2011

I have been tasked with trying to create a drawing tool that draws dotted lines as you drag the mouse across the stage. I can easily capture the points on MouseEvent.MOUSE_MOVE and store them in a vector and then draw the points as dots:

The problem is that I need to calculate evenly distributed points on an ever growing Vector of points so I can only draw the line between say every 5th point (say using modulus). I have been battling away with Bezier curve equations both Quadratic and Cubic but still can't quite figure out how to convert my Vector of points into an evenly distributed Vector of Points without sucking the life from the CPU.

View 1 Replies







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