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
Similar Posts:
May 24, 2009
This doesn't happen very often but if you go to [URL] and click through the slides you'll notice on occasion, a slide will stick on screen and not slide out. And then the other slides slide under the stuck slide. Obviously, this is not acceptable at all. I tried to upload the .fla but FK keeps giving me a Upload failed error. So I'll just have to include the code below. Hopefully, someone can explain to me why this is happening. Is it possible it's because people are clicking too fast and it's a Flash tweening bug?
[Code]...
View 3 Replies
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
Mar 21, 2009
Following this tutorial: http:[url].....But I keep getting this error message:1046: Type was not found or was not a compile-time constant: CuePointEvent.
how to sync to mpr3 audio files at specific points?
View 1 Replies
Jan 22, 2010
I'm trying to create a flash video that will incorporate powerpoint-like slides along with video footage. So for instance I will have slide 1 (graphic) - slide 2 (video clip) - slide 3 (text). I have used CS4 before for one of my classes but that was a little while ago, and I feel like I'm starting over again. When I import the first graphic (.png), is there an option to have it resize to fit the stage?
View 5 Replies
Sep 30, 2010
I'm fairly new to ActionScript 3.0 so forgive me if this question is easy, but I'm having issues with my portfolio slideshow. I have a few thumbnails and when you click on one the image slides in from the right. That part is fine. What I really want is for the user to click on a different random thumbnail and have the current image slide out as the new image slides in. My code so far:
[Code]...
View 1 Replies
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
Sep 8, 2011
Im building a flash presentation in AS2.As the FLA video plays I have timed cue point that will make a slide appear to the side of the video.The video will contain around 30 cue points but I dont know how to do the action script.I currently have the below that works for one event. How do I do multiple events.
myFlvPlayback1.addEventListener ( "cuePoint", this );function cuePoint ( eventObj:Object ){gotoAndPlay("1");
}
View 1 Replies
Dec 7, 2009
When I use the webcam and microsoft to record a video, my audio and video are out of sync.This does not happens when I use the built-in Microphone on the webcam.
View 2 Replies
May 15, 2009
My compnay provides webcasting services to numerous clients, and we currently use Windows Media Encoder as our base software for these projects. However, I'm interested in switching to Flash Media Server, but need to figure out one issue and how to implement it in such a way like how we are currently using Windows Media Encoder.
We need a way to stream out a live audio/video feed AND have a way to control a presenter's POWERPOINT slides and have them advance by our command when streaming live.
Basically, the way we do it is we will stream out audio/video from WME and also use the encoder's SCRIPTING functions to send out a "url" from the encoder to the actual page in which the viewer is watching the live embedded stream. On that page is an embeded/internal frame which we can specify (using the id/name) that the url gets loaded, and this actually advances the slides (or more so pulls up a pre-created html page of the next slide in the person's powerpoint, which is actually a screenshot or exported image of that slide and embedded within a specific HTML file and hosted on the same server as the embedded player/html file)
Would there be a way to send out this same type of script using FMS? I've been playing around with it and notice the interface itself does not have a built in scripting function like Windows Media Encoder does. However, I did read somewhere that it supports ActionScript... but I have no clue how to implement this feature.
I am just curious how it might be able to go about doing this? Is there a way to use an [action]script with FMS and have it send out a URL to a specific frameset embedded on the same page as the Flash Media Encoder Playback?
Hopefully this make sense and that someone can point me in the right direction. Switching to FMS over Windows Media Encoder is the way I would love to go, just need to figure out how this could be done.
Would a better method be converting the powerpoint slides to a swf or flv file, embedding that file within the same page as the FMS playback, and somehow using a script to "advance" the frames/slides/scenes within that file? I also heard something about Flash "Shared Objects" and how this could be a way of controlling a swf file remotely.
View 1 Replies
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
Dec 5, 2011
I have a project that involves playing back a video clip within my swf movie. The video clip plays fine on its own, but when brought into flash the video and audio become out of sync and the movie quality suffers dramatically. I have tried embedding and streaming.
View 1 Replies
Feb 28, 2008
Im having serious issues making a video sync with audio inside an embedded flash video file.
View 2 Replies
Aug 18, 2009
We use a Flash component to allow a user on our web site to record from a Webcam on to our own Flash Media Server. The problem we are having is that the video in a 30 second FLV freezes at the 7th second but the audio continues. The video unfreezes after a couple of seconds but never catches up with the audio. At the very end there's a "Fast-forwarding" of video for the last few seconds so that at literally the last moment, everything's in sync. This happens for almost all of our recordings. Has anyone experienced this type of behavior?
View 5 Replies
Dec 18, 2009
I am calling some streaming video on frames 1-11 to play for a multiple choice game. My video and audio are out of sync at times on frames 3-11? [code]...
View 1 Replies
May 3, 2011
I need to create an interactive slideshow where the each image automatically slides to the left every 10 seconds. There should also be the option of clicking a button to move both back and forth as well.
View 1 Replies
Oct 13, 2010
Just like the subject states, I am indeed having frame rate problems importing video to Flash CS3. When I export a video from Premiere with the settings: 1280x720frame rate of 23.976using H264 or Animation (basically every codec produces the same results),"embed video on SWF and play in timeline" When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.
I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either.
View 2 Replies
Jul 22, 2005
I am building a flash movie that will have a image of a building that changes according to the time of day. Which variables to use to tell it when to go to the specific frame the new time of day image is.
Code:
onClipEvent (enterFrame) {
myTime = new Date();
nSeconds = myTime.getSeconds();
nMinutes = myTime.getMinutes();
nHours = myTime.getHours();
[Code] .....
I've managed to get it to switch if I set it to just a number by just adding:
Code:
if (nHours>=1) {
_root.day.gotoandPlay("day")
} else {
_root.day.gotoandPlay("night")
How exactly can I tell it to go according to 7am-8pm and 8pm-7am? Once I figure this part out I'll be able to start adding in more images and detailed times of day, and possibly integrate weather etc in the future.
View 2 Replies
Jan 21, 2011
I'm trying to record a stream from a webcam using FMS4 developer edition. The streams are recording on a linux box in .flv files. These files though have problems.
1 - The video quality is terrible. Fuzzy/blocky. Any kind of motion looks awful. Is there any way to improve this?
2 - The sound jumps/skips and goes out of time with the video.
As it is now this is useless. I am trying to make a system where a user records a short video from the camera and then I upload it to YouTube from my server. If you use Youtube's webcam page the video quality is quite acceptable and the audio is obviously in sync too, so they must know something I don't. [URL]..
View 2 Replies
Jan 4, 2012
I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?
View 3 Replies
Apr 11, 2010
I'm using Flash CS4 to animate hi-def music videos. It seems that I can't keep the audio to stay in sync for anything over 2 or 3 minutes.
- I'm working a stage at 1280x720 and 30 fps
- audio is streamed on a separate layer
- mp3 publish settings are: stereo 128kbs
Inside the FLA file everything syncs perfect, but when it's published, everything drifts in the SWF and in everything else I've tried.I've tried exporting image sequences and popping the sequences into premiere pro to match up with the original wave, and i've also put the swf file in a premiere pro project as well. Whether a SWF or an image sequence, it always lapses after 2 or 3 minutes.
View 12 Replies
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
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
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
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
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
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
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
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
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