How To Sync Swf And External Flv

Jan 27, 2010

I'm a total novice and I think I can't find an answer to this question because it is so basic. There are all kinds of tutorials on FLVPlayback, streaming video from a URL, etc.,but nothing I can find on how to make it play nice with the rest of the flash animation in my .swf. I assume this is a matter of simple actionscript (AS3), but my ignorance is profound.

So . . . I've got a flash animation that leads into a gotoAndPlay button, which references the frame where my video starts. The video, streaming from my url, plays fine, but if it takes a moment to buffer, the main timeline in my .swf just continues on through the frames I've created for the length of the video. Since my intention is to have the video finish and loop back to the intro. animation, ending with the play button displaying again, what happens is that it loops before the video is done playing, leaving the audio still streaming but the viewer staring at the play button. In other words, if there is no lag time for buffering, the number of frames before it loops is enough for the whole video. If it lags for buffering, it cuts off part of my video, prematurely looping to the intro.

View 3 Replies


Similar Posts:


Actionscript 3.0 :: Sync Swf Timeline With External Flv?

Jan 26, 2010

There are all kinds of tutorials on FLVPlayback, streaming video from a URL, etc., but nothing I can find on how to make it play nice with the rest of the flash animation in my .swf. I assume this is a matter of simple actionscript, but my ignorance is profound.

So . . . I've got a flash animation that leads into a gotoAndPlay button, which references the frame where my video starts. The video, streaming from my url, plays fine, but if it takes a moment to buffer, the main timeline in my .swf just continues on through the frames I've created for the length of the video. Since my intention is to have the video finish and loop back to the intro. animation, ending with the play button displaying again, what happens is that it loops before the video is done playing, leaving the audio still streaming but the viewer staring at the play button. In other words, if there is no lag time for buffering, the number of frames before it loops is enough for the whole video. If it lags for buffering, it cuts off part of my video, prematurely looping to the intro.

Is there a way to sync the two playheads, so to speak, so that the .swf doesn't continue on when the video is paused?

View 2 Replies

Javascript :: Is External Interface In Flash Async Or Sync

Jan 10, 2012

I will call flashObject.httpRequest to complete a http request via flash. The problem is there is no reference about httpRequest is an async method or sync. It is important for my application.

private function httpRequest (uri:String, param:String="", method:String="GET"):void
{
var

[Code]....

View 1 Replies

ActionScript 3.0 :: Loading External Data With Sync Mode?

Jan 12, 2009

as i understood, external data loads with async mode. Please, suggest me good way to get sync mode

View 9 Replies

ActionScript 2.0 :: External Audio Not In Sync With Text/screen On Windows XP?

Sep 23, 2011

I created a Flash program that utilizes audio and text. The audio is located in an external folder and is loaded using .loadSound(). The text is located on the timeline and appears based on a certain time in the audio. I have a pre-loader that looks to ensure all of the external audio is loaded before the user can move onto the appropriate screen and the audio would play. This is using a combination of the .getBytesTotal and .getsBytesLoaded.

It works fine on Windows 7 but doesn't seem to be working one particular user's Windows XP on IE 7 (So it's not happen on all Windows XP). On a particular user's computer, the text is slow to load while the sounds loads pretty quickly leaving the text out of sync. After a few screens, the text will catch up with the audio.

View 6 Replies

IDE :: Sound Going Out Of Sync?

Jul 13, 2009

I have an animation and sound running along the timeline. And step forward and step back buttons. The sound is set to stream to keep the animation and sound in sync with each other. This works fine when played from the start all the way to the end. But if the step forward or step back button is pressed, the animation will fall around 5-10 fames out of sync with the sound. And will remain like this until the end.

How can this be fixed so the sound and aniamtion won't fall out of sync.

View 1 Replies

Unable To Sync SharedObjects

Nov 18, 2009

Ive tried converting the SharedObject tutorial [url...] provided by Adobe from AS2 to AS3. When one client moves the ball, the other client should be able to see the ball moving on another swf, and vice versa.The AS2 one worked fine with my flash media server 3.5 and wampp server on.  When I tried the AS3 one, the sharedObject cannot sync, even though the connection was successful and the sharedObject "position" was created in the server.[code]...

View 9 Replies

Audio And Video Out Of Sync

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

Professional :: IK MovieClips And Lip Sync?

Oct 25, 2010

I've got my head around bones now, which isn't too bad once you get used to it.  I have ten minutes of dialog which I have created mouth movements for in Lipsync MX, these are imported as a swf and then placed within my character's Head MovieClip.
 
Problem is, IK insists on using MovieClips instead of graphics.  This means that the lip sync doesn't stay in touch with the main timeline - it only stays in sync until the main timeline is paused or jumps to a different point.
 
Is there an established method which allows you to embed a lip sync symbol within part of an armature and ensure it keeps pace with the main timeline, or am I going to have to code it somehow?

View 3 Replies

Professional :: Sound Out Of Sync (CS4)?

Mar 17, 2011

I have made an animation. I have a layer where I put sounds that execute on certain frames. No script are involved. When I play the movie inside Flash, everything looks good and sounds are syncing. When I make a preview of the movie, some of the sounds are out of sync. I have no idea why, it's the first time I get this kind of problem. All sounds are set to event, but I have tried with stream as well and get the same result.

View 1 Replies

ActionScript 3.0 :: Playing Flv And Mp3 In Sync?

Jul 8, 2010

improve the synchronized playback of NetStream video (flv) with a seperate Sound object (mp3)? Basically I am making a music video mashup tool and this is just a small part of it.I need to have one single mp3 playing continuously (the main song) and a NetStream object to play various videos at intervals set by a timer. This all works fine, except that the video gets out of sync after a while.This could be a delay caused by the NetStream.seek method that starts playback of the video a bit too late but I'm not sure.My current code...

Code:
package
{
import flash.display.MovieClip;
import flash.events.Event;[code].........

View 5 Replies

Lip Sync To Sound In Flash Movie

Jan 29, 2010

I have a sound in my flash movie and I'm trying to lip sync to it but for some reason when I try to move that red thing across the frames to play the sound across it so I can go to each syllable so I can work the lips to it. But when I run the red thing across the frames there is no sound going through the speakers. When I ctrl-enter and play the swf I hear the sound what should I do?

View 2 Replies

CS3 Two Banners Sync To Start At Same Time

Jun 29, 2011

I have been trying to synch two different banners on a HTML page.

I have checked this link :: [URL]

But I am not sure if the localconnection is needed for what I am trying to achieve.

View 1 Replies

ActionScript 1/2 :: Objects In Slideshow Out Of Sync?

Apr 15, 2009

I noticed after a few repetitions the images that disappear on one side and reappear on the other start to get out of sync with each other, eventually overlapping. I'm figuring that has something to do with the minute timing differences between the lines of code being read, and was wondering if there is some way to get the images to stop losing their relative positions to one another?

[Code]...

View 2 Replies

Sync A Netstream Flv To The Main Timeline?

Oct 13, 2009

Is there a way to sync a netstream flv to the main timeline? I want the animation on layer 1 to play in sync with the netstream object on layer 2, that's why. netstream.time only provides seconds so I would lose a lot of frames of the animation. And adding a cue point for every frame would be a bit too much.

View 1 Replies

Professional :: Auto Lip Sync For Animation (Mac)

Jun 16, 2008

Any programs out there that will automatically lip sync your animations for Flash that are available for OS X. I've found a few out there, but they're for Windows. If not, does anyone have a simple trick to make it less time consuming? I used to mess around in Flash but it's been ages. I remember essentially making each character a movie? Or was it making the mouth a movie? It ended up being that on the timeline you would just press a button and the right mouth would come up. I bet that sounds mental. Just keep in mind my Flash knowledge is super limited.

View 1 Replies

ActionScript 1/2 :: Sync Two Flash Banners?

Feb 3, 2010

I was wondering of any methods to sync two flash banners? What I mean is  that when the page loads neither banner starts until both are ready? I will have two flash banners like this: |Banner 1| (something else between them, html css) |Banner 2| Both banners will contain video, that needs to be played in sync. Any ideas? I would prefer AS2, because the site I will run these two  banners on prefers AS2. I read something about LocalConnection in AS3, anything similiar in AS2?  And does it work on all OS / browsers? Can it be done with Javascript?

View 3 Replies

ActionScript 3.0 :: Play 2 FLVPlayback In Sync?

Sep 15, 2010

I didn't find any solution in the past discussions, I want to sync two FLVPlayback in the stage.Now I quickly solved with a Countdown of about 10sec;one can choose a project from a ComboBox and the two FLV play when the countdown reaches 1. That's not the right way as they never play in sync the first time..
 
I think a BufferingBar can do the job, detecting the end of the buffer. but I don't know the code to add...
 
This is the code I use with the Countdown: 
 
cb.addEventListener(Event.CHANGE, changeHandler);function changeHandler(event:Event):void {   if(ComboBox(event.target).selectedItem.data != "")

[Code]...

View 15 Replies

Professional :: How To Lip Sync And See Sound Wave Better

Jan 16, 2011

I'm working on an animation where some guys sings and in order to make that look good, i need some good lip syncing. Since this is not short clips, but a whole song on 2-3 minutes, it's very hard for me to make the lip sync perfect because I have to replay from the beginning in order to hear the music. So question one is: Are there a way that I can play the movie in the middle and still hear the music? And so the second question is that I can barely see the sound waves in the Music layer, even though there's lots of music. Here's a picture of how big the sound waves are: And that's in the middle of the song! The problem is not that the music is too low, because it's quite high. So question number two is: Are there a way that I can make the soundwaves bigger in the music layer without affecting the music itself?

View 1 Replies

ActionScript 3.0 :: How To Sync Time With Agenda

Jun 2, 2011

I'm busy working on a schoolproject with a classmate of mine. What we're trying to do here is creating a digital agenda that's up to date.Sort of like Google Agenda, where time is synched with how the agenda is viewed. For example it's 9 o'clock and so does the agenda shows.I can't seem to think how this can work. It only has to be a prototype, but it still has to show how it works and that it is able to work.

View 2 Replies

Flash :: Professional - Audio Out Of Sync

Aug 14, 2011

I have an animation that I am exporting as either a .wav or .mov file then editing in different software but when I import the new file it is out of sync. That sounds confusing so I will explain. The project is a cartoon and a temp dialogue track was created before animation started. Then that temp track was used to animate over and do lip synching. Recently, actors have re-recorded the original temp dialogue track.  So, I need to export the original dialogue track out of Flash, use an editor, in this case Final Cut Pro, and replace the dialogue then export that as an audio file and bring it back into Flash.

But it is always out of sync. I have even exported a .wav file from Flash then immediately re-imported it and put it on the timeline and it is already out of sync. And it is the exact same audio! I don't even know how that could be possible. Surely if you export a wav from Flash and then re-import it, it should be exactly the same.

View 8 Replies

Flash - AMF Sockets Out Of Sync When Using ServerSocket In AIR?

Mar 2, 2011

I have two (+) systems on a local network running an AIR application that need to send/receive updated positions and other events between each other. I'm currently using an AIR-based socket server one of the instances. The AMF and strong typing works great. What doesn't, however, is the syncing between clients.

In my example below, clientA is trying to send an AMF packet to clientB. The SOCKET_DATA events fire off as expected on the server, in sync with the mouse, however the data that clientB receives very quickly gets out of sync and events are lost.

It's fine if an occasional event gets dropped, however I need to know the most recent SOCKET_DATA event has the latest data. Instead, it just contains increasingly older data.

Code Snippets:

clientA writeObject: (on MOUSE_MOVE to test large number of events)
protected function stage_mouseMoveHandler ( pEvent : MouseEvent ) : void
{

[code]....

View 1 Replies

ActionScript 2.0 :: How To Keep Separate .swf Files In Sync

Jan 28, 2009

[post deleted]

View 9 Replies

ActionScript 3.0 :: Sync A Sound To Frames?

Jun 17, 2009

In Flash, when I use a sound, I can set its type to Play, Stream, etc., right? "Play" just plays the sound directly, while "Stream" makes it adhere to the frames.

Purely in Actionscript, is there any way to make a Sound object behave the same as the "Stream" type? That is, make it sync to the actual framerate of the application, instead of just making it play regardless of the frames? I need this because I'm designing a game where the audio needs to be consistent and repeatable.

I know that the default behavior of Sound objects is the standard "Play" type, because if I have something like this[code]...

View 0 Replies

ActionScript 3.0 :: Streaming Flv Audio Sync?

Apr 9, 2011

I am streaming live content via flv but the video is lagging audio by some time. I am using netstream and video but cannot find a way to set the FPS for the video, I think i could fix it if I knew how to adjust the FPS

View 1 Replies

ActionScript 2.0 :: Sync Sound With Buttons?

Sep 1, 2006

i need to play a sound with voices in order to play an interactive animation, but i must have an stop or pause option (a button) that pause both, the movieclip and the sound track, and when pressing again the "pause" button, the movieclip has to continue with the sound track at the same place it stoped. I�m getting a headache trying to figure how to stop a sound in a specific moment and then play at the same place it stoped, and not from begining...

View 1 Replies

ActionScript 3.0 :: FLV Out Of Sync In Browser Fine In VLC

Jun 11, 2010

I created a set of FLVs using Avidemux and then super to get them from DVD to FLV. The final configuration was:[code]They play fine in VLC, but for some reason from the get go they are a half second or so slow in the browser.I did notice in VLC for some reason the movies show as 47.7~ FPS, but I can't imagine that's correct. I'm re-encoding them as FLV1/MP3 for now with the same settings, but does anyone know of any common causes for this? I read something about a qt "fast start" issue, but I didn't know how to fix that.

View 1 Replies

IDE :: Overlapping Sound Vs. Andio Not In Sync?

Dec 30, 2011

I am aving a problem managing the sound in my application. Here is the situation.I have ten frames in the main timeline and on each frame is a movieclip, inside of which i need to put sound (Each movieclip plays a different sound). Currently I load the sound dynamicly from library and everything works fine - the application plays sounds according to the current frame.

Problem is that each of the movieclips contains also an animation (two characters talking) and I need the animation to be synchronized with the sound. And since I am loading the sounds via actionscript, it has no sync and when the framerate drops on slower computers, the animation lasts longer then audio. To solve this, I tried to put the sounds directly into each timelines of the movieclips and set the "Sync" property to "Stream", but the result is, that when I call the gotoAndStop(5); method, all the sounds placed in movieclips in the previous frames (frames 1 to 4) play as well and all the sounds are playing at the same time.

View 1 Replies

ActionScript 3.0 :: Sync Mute Button And Volume Bar?

Oct 1, 2010

I'm creating a movie with an FLVPlayback component. I used the standard Play/Pause, Mute and Volume Bar components supplied with CS5.I have had no problem getting the individual components to work by themselves... the play/pause button plays or pauses, the mute button mutes, and the volume slider controls the volume. But how do I set the volume bar to 0 when the mute button is on, restore the original volume when the mute button is turned off, and turn on/off the mute button if the volume bar is dragged?

View 2 Replies

Media Server :: Keep Multiple People In Sync From FMS?

Dec 11, 2009

I am trying to create a Flex application with a shared viewing experience for users watching video.  Specifically, there are a group of users in a virtual room, and one of them is the remote holder.  One approach is to have everyone have a video player, and then use our own protocol sent among the different Flash player instances to make sure people are in sync (we have our chat routed over XMPP for the people in the room).

However, we were wondering if there was a simpler way to do it using Flash Media Server.  Is it possible to create a synchronized viewing experience in FMS where everyone is always at the same point in the video?  And is it possible for 1 person to then have control over that stream (e.g. pause, play, seek, etc.) for everyone connected to that stream?

View 3 Replies







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