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.
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.
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?
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.}}
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?
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] .....
I am trying to use external xml to set cue point times (for video), titles, and other parameters. I have everything set up, except getting the proper data from the xml file to set the parameters for my cue points. I am researching hard and learning quickly
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!
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.
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?
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.
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?
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.)
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.
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?
I am trying to change information on my site using cue points in my video. My video is in a flash quiz and I am trying to change my objects such as an ad or photo with these cue points. In otherwords, when a video begins, or when a cue point is reached the photo outside the video would change. I am currently using cue points to go to the next frame after the video completes, but I don't know how to make it change things outside the video.
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.
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.
I make my base swf in which I load external swf's. In my base swf I have mp3 player. Everything works fine until I need to load external Video gallery or mmedija.swf. In video gallery I have
I understand that Flash supports subtitles with cue points and XML files for flash video. First, I don't know if that would work for a flash animation, and second, I'm looking for a much simpler solution. I am more than willing to manually add and time my subtitles myself on a new layer. What I need help with is finding the simplest way possible to make these subtitles toggle-able. Why? Because I seem to have a serious allergy to ActionScript, and though I can master programs like 3D studio Max and After Effects, I seem to screw up even the simplest of Actionscript jobs.
Is there some way I can make a button that simply makes my subtitles layer invisible across the whole thing? Maybe a command to change the font to a blank one, or to move the titles off screen? There has to be SOME sort of trick that won't require me to drop a load of code into each instance of text. I'm currently using Actionscript 3.0 with Flash CS4. I'd also love to have a pause button that would also stop any music or sound effects that are playing, but after struggling with that for years, I seriously doubt that's going to happen. I did google this subtitles problem, and search flashkit first. Nothing but VIDEO subtitle stuff, and I'm almost positive it wont work the same for a regular animation.
I have trouble in choosing between external video with playback component and embedded video . I have tried adding video to dynamic page and everything is perfect .This video I have imported using the option File ->import video -> external video with playback component. If I try to execute flv on another system , the video is not playing eventhough it is in library.
So, I have imported video using the option of embedded video and this worked fine on another systems as it embeds video. The video plays for only 2 min 54 sec. I have compressed the bit rate to how much ever I can in premier pro. It resulted in reducing the size of the file but still I see the video occupying more than 3500 frames in the timeline. I feel this is not optimal.
I have a video that is external, and is playing through the FLV Playback component.
I need to set Cue points in FLV video to trigger other MovieClips at certain times during FLV playback. I have read about them, but am unsure how to use them using Adobe Media Encoder. I am pretty sure I know how to set them in there, (unless there is a better way) but then how do you trigger the event?
I am trying to create a mindmap where the user can drag points about the screen. I have gotten as far as drawing the line via actionscript, and drag+drop the points (defined as movie clips on stage). This is the existing script - I don't know how to get the lines to follow the points. Something to do with ENTER_FRAME or updateAfterEvent?
var line:MovieClip = new MovieClip(); line.graphics.lineStyle(1,1); line.graphics.moveTo(ptOne.x,ptOne.y);
I have imported an .mp4 video into Flash using the option "Load external video with playback component." It creates a swf file which references the mp4 file. I chose this option because the video is large. I have used the published html code and it is working perfectly. I am just concerned that I might require other formats to ensure everyone can view it. In the past, I have seen people load mov and mp4,