ActionScript 3.0 :: Sync Multiple SoundChannels And Animation?

Oct 26, 2009

I'm trying to synchronize 5 mp3 (128kbs 44hz stereo), each one in a different SoundChannel, and some animation. I've red a lot about the variable delay of the soundChannel, and how the "position" property return where the soundchannel should be, and not where it actually is. But I didn't find any real solution to these issues.

For the moment what i'm doing :

- load the 5 mp3 in their soundChannel

- start the soundChannels

- put a timer to check the first soundChannel position to change the animation

I've tryed to solve the delay between the soundchannels by resynchronizing them after a few seconds to the first soundchannel position, but it's only getting worse.

I'm using Flash CS4 / AS3 but I can easily go back to AS2 if needed. And I can embed the mp3 in the swf or using any other audio format.

View 5 Replies


Similar Posts:


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 2.0 :: Sync MovieClip Animation With Flv Playback?

Dec 7, 2011

my as2 chops are minimal (as3 are non existent) but i have been animating in flash for a while.

I have a movie with an imported flv I made in AfterEffects. I have 2 movieClips that need to animate at certain times during the playback. I was able to add cuePoints in media encoder (i think) but can't figure out how to use them in flash.

View 1 Replies

Professional :: Export Animation To QuickTime - Audio Sync

Jun 18, 2010

I am using Flash CS3 on a PC. I am trying to export an animation to quicktime (Export > Export movie) and have some problem regarding the sound. The animation contains actionscript 2.0loads external swf contains streaming soundsplay other sounds via actionscript. 4 scenes. When publishing the animation, it works fine, but when exporting it to .mov, the audio goes faster than the video.

Export setting:
Video:Compression type: H.264Frame Rate: CurrentKeyFrames: 4
Sound:Compressor: 24-bit integerRate: 48.000KhzSize: 16BitUse: Stereo
To be honest, I tried many other compression types and frame rates and keyframes, but nothing seem to work.

I tried:
- importing the external swfs into the original animation
- creating a streaming silence from frame 1 for continuous sound
- capturing the animation using CamStudio, but it's not smooth enough

View 1 Replies

Make An Animation(dancing Doll) Sync  With Music Of A Song?

Jan 12, 2011

I have a small animation that contains a doll, that need to be synchronized(doll should dance) with the song that is being played at the background. The song is loaded dynamically and the it should shake according to the music.

View 3 Replies

Javascript :: Sync HTML Text Or Divs With SWF (Flash Character Animation)?

Mar 7, 2012

I have flash animation (swf) in my HTML Page.

Now, I like to have my flash animated character (700kb) to speak dialogues, the related text should pop and go in the html side of the page.

I've already used this amazing cool script from Text highlight with audio sync in Jquery by Marnix van Valen & HTML5 works cool as he says. BUT, what about flash?

View 1 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

Media Server :: Play Multiple Videos In Sync?

Jul 20, 2011

I need to build a website which shows multiple instruments in a band, being played in sync.  Each camera/video block is a different instrument, and played together, they constitute an entire band.  I have been searching high and low for ways to do this, and it definitely appears that HTML5 is out.  It looks like standard FLV progressive download is out, too, because it's impossible to get 4-8 videos to sync perfectly.
 
I see on the FMS page that it has some abilities in synching.  How would one (conceptually) go about making a webpage where say 4-8 videos begin to buffer, then when ready, play in sync?  And they would also need to, when the location is changed, all sync to that location and rebuffer. 
 
The objective is so that the user can mute/solo each video's audio, to remove an instrument(s) from the "mix" at any time.An alternative way of doing this, I think, would be to just put the 4-8 videos together in video editing, and encode this into one video, but have each video's audio track be a separate audio channel.  If FMS can do multichannel audio on one video, this might work, if it could mix them in/out individually, as the user requires.

View 13 Replies

ActionScript 3.0 :: Sync Multiple FlvPlayback Instances On Stage?

Jun 7, 2011

i have 4 flvplayback components on stage loading 4 different videos. How do i sync them?

I have ensured they are all fully buffered i.e fully loaded and then play them all at once. But they keep getting out of sync. I.e i am checking the sync with the playheadtime. I had written an timer/enterframe event to check for out of sync at and pause and seek times to the fastest playing player . But this happens for every second. i keep gettting a very jittery video with breaking sounds due to the constant pause /seek / play cycle.

How can we sync multiple flvplayback videos properly.

View 1 Replies

Actionscript :: Play Multiple Tracks In Sync Flash Builder?

Aug 6, 2011

I'm about to create some art installation using augmented reality and music. I'd like to implement some kind of sampler in it, but I can't find any way to do it.

It's gonna be a looper, I've got 12 files (each 8 seconds) and I want to play them synchronized - so they must start at the same time. this is example of something similiar to my project[url]... They must be controlled by changing volume (0 means off).

View 1 Replies

ActionScript 3.0 :: Flash - Do SoundChannels Cleanup After Themselves

Sep 13, 2010

If I call the play() function of a Sound, which returns a SoundChannel object, will the SoundChannel still linger around after the sound clip is finished playing and eat up resources? Or will Flash's garbage collection scoop it up?

View 2 Replies

ActionScript 3.0 :: Music Sync Animation - Create A Music Animator?

Nov 9, 2010

I am trying to create a music animator. It will have bars that move up and down do the beat of the music. This is like windows media player where the music animations play. I want it to be verticle bars, where some are in sync with like the base and others are in sync with the tempo. Does anyone know of a tutorial for this? I am trying to emplement it within my website so that whatever music I am playing will auto control the bars and sync.

View 5 Replies

ActionScript 3.0 :: SoundChannels, Soundtransform And Volume Question(s)

Feb 2, 2012

Trying to reduce frame overhead in my game, im trying to figure out how to speed it up.These are some 'simple' questions if you know your way around sounds and channels so i'm hoping you'll read on and perhaps give me some insights.
 
I'm noticing that playing soundclips sometimes make it stutter so im looking for the best way to use sounds and channels.The main question is below: how costly is a soundtranform.volume and is it persistent on a channel?secondairy; does it matter howmany soundclips i drop into the same channel?What i noticed: The channel.soundtransform.volume only works after playing the sound. Q: How costly is a channel.soundtransform.volume?&; Will it stay this volume on the next sound that plays? or do i have to reset it each time?
 
Also: playing a lot of sounds in 1 channel isnt a good idea.So i created a channel for each gameobject that could produce sound.On each sound play i calculate distance from main player and set volume accordingly.

1: I could just pre create like 10 channels set the volume from 0.1 to 1.0 accordingly then play each sound in the specific range channel This way i wouldnt have to do soundtransforms on the fly.If however every sound producing object would be at the same distance it would clutter 1 channel with a lot of clips to play at the same time.
 
2: I could pre create 10 channels as a queue. On every play i would pick the next free channel, looping & wrapping through them as i go.
Here however i will have to set the soundtransform volume again on each play according to distance.

View 5 Replies

Make A Movie With Multiple Scenes - Streaming Sound And Scenes Sync

Jul 3, 2009

whenever I set my sound to stream and continue to make a movie with multiple scenes. The audio and video get disgustingly out of sync sometimes even off by 30 seconds. I just started an animation its only 10 seconds long with two scenes and the AV is already off by about 5 seconds. Ive worked around this by avoiding scenes altogether but i really don't want to have another 5000 frame scene. I discovered this problem in Flash MX and Im quite annoyed that it still has't been fixed 3 years later!

View 1 Replies

ActionScript 3.0 :: SoundChannels Will Not Stop Sounds When Stop() Is Called

Sep 10, 2011

On a recent project I am working on, I created an event-based sound engine. Different components within Flex will be registered, and then the controller will listen to events and handle the information correctly. So, it just takes a custom SoundEvent or ChannelEvent to alter one of the channels, or play a sound.
 
I can not quite figure out what is wrong with my code, and I am finding myself snow-blind to the issue at hand. At first, I was going to rewrite it but I figured it would be better to learn from my mistake. Also, I realize that this is not correct for streaming sounds, but I am working off a local sound library until I get it up and running smoothly.
 
Here is the code for the SoundEvent:

package code.events
{
import flash.events.Event;
public class SoundEvent extends Event

[code]....

View 3 Replies

Storing Multiple Animation Files?

Aug 19, 2009

I want to have a TV screen and hundreds of (small) flash animations load up in the 'TV'. I'm assuming I'm going to have to use Actionscript, so I'm looking into that right now. However, what would be the best way to organise this? Each "TV" will have a different set of "Channels". Do I create each 'channel' and save them as seperate SWF files, or is it possible to have them all in one main file. I can then flick through each 'channel', which essentially unloads the current animation and loads the next one

View 2 Replies

[cs4] Multiple Instances Of Text With Animation

Dec 25, 2009

I am trying to create several texts with animation on mouseover (basically animated menu).

Steps followed: created text, converted to movie clip (m_text), put a stop() in first frame added animation movie clip in second frame, which is played on mouseover (added onrollover function AS2.0)

It works fine. Now I tried to create multiple instances of this m_text, tried to change the text. But it changes in all instances.

If I try to create multiple instances of text only, then I will have to repeat the procedure of adding frames, adding animation clip, add AS for mouseover etc for each of them.

All I am trying to do is create one text with animation on mouseover, copy paste it several times and change only the text for each of them.

View 1 Replies

Professional :: Multiple Animations In One Animation?

Oct 31, 2011

I have 2 Flash animations, both tweened and working as intended, and now I'd like to make a third flash animation which will be composed of the other 2 animations playing after each other (with a few empty frames in between). How I do this? I tried just adding them to the time line and giving enough frames, but that doesn't do the trick.

View 3 Replies

ActionScript 3.0 :: Gif Animation To Multiple Bitmaps?

Nov 13, 2010

Is it possible to load a gif image and create a bitmap for each frame in the animatoin?

View 3 Replies

ActionScript 2.0 :: Making Animation Of Someone Breathing With Multiple Layers

Mar 23, 2009

I'm basically making a animation of someone breathing, with multiple layers. What I want to happen when a user clicks the animation is for it to switch to the next layer seamlessly (skin>muscles>skeleton). Each layer has the same 60 frames. For example, if the skin layer's currentframe was '37' i'd want the muscle layer to start at '38' when clicked.Below is some of the code I already have. I can trace the currentframe of the original mc, however the attached movieclip refuses to gotoAndPlay to that number?[code]

View 1 Replies

ActionScript 3.0 :: Importing Multiple Images To Form Animation

Nov 25, 2009

Basically I have 51 separate static images that I need to import into Flash and then use to form an animation. I don't want to simply make them into a gif unless I can manually control the animation (the images essentially represent a 'health bar' in a game, so I need to be able to control what is shown based on the amount of 'health' the player has). I have been told that there is an easy way to do this in Flash, but the person I was talking to wasn't sure how to go about it.

View 2 Replies

ActionScript 3.0 :: Make 2, 3 Group Of Animation Using Multiple Arrays?

May 5, 2010

I m trying to make 2, 3 group of animation using multiple arrays, A group having 10 circles and those circles r moving from X to Y (using mainFunction). while moving... i m calling subFunction for blink effect (here my problem comes). So each circle are having two different animation (moving, blinking) ,

also going to make 2, 3 group by calling "mainFunction" Experts pls help me to resolve this problem, or sugges me some other way to make this animation

[Code]...

View 0 Replies

ActionScript 2.0 :: Loading Multiple Clips For One Preloader Animation?

Jul 18, 2008

I was just wondering if its possible to load multiple external clips using one MovieClipLoader instance and object and one animation to accompany that. How could I write the code for this?

View 6 Replies

Professional :: Rotate A Symbol On The X Axis Multiple Times For An Animation

Jun 6, 2011

I am trying to rotate a symbol on the x axis mulitple times for an animation I am doing. The problem is everytime I try to do a complete rotation, the symbol rotates fine until I hit 180 degrees, but once I go past that mark, the symbol just starts rotating backwards. Is there a certain way I have to do this in order to get a complete rotation in one direction?

View 1 Replies

Creating An Animated Background / Flash Animation - Multiple Looped Animations

Oct 27, 2011

I'm creating an animated background/flash animation, in short I have several tweened pieces all moving/swinging around and I want them all to loop at the end of their individual loops. Each piece is on its own layer) I have been using gotoAndPlay(2); (I'm using a preloader so frame 2 is the start). The problem is (If I'm correct here) is the first layer to reach the end runs the "go to and play" resetting everything!. I want each layer to act independantly. Is there a different version of gotoAndPlay(2); that will work or am I looking at things like nested animations/importing individual fla's ect (all of which goes over my head).

View 4 Replies

ActionScript 3.0 :: Multiple Button Navigation - Tween Animation For Each One With Delayed Timing

Jul 2, 2009

i would like to do a simple set of buttons dynamicly created by code, like simple recangles which will act to each other and have different target urls or movies to load. Also buttons should have constant spacing to each other and it should be possible to have a tween animation for each one with delayed timing, so button 3 slides in first, button 2 slides in a second later and finally button 1 slides in at last. If you click one button all of the other buttons should get deactivated and the alpha should tween down to a lower level for e.g

Something like that, sounds simple but i don?t know where to start. I guess i will need to duplicate the button give each of them different targets, tweening and activate / deactivate states, but thats all i know in theory so far.

View 9 Replies

ActionScript 2.0 :: Mc.onRollOut - Shows An Animation OnRollOver And An Animation On RollOut But OnRelease The Animation Enlarge Itselfs

Jun 19, 2004

I have a movieclip that shows an animation onRollOver and an animation on RollOut but onRelease the animation enlarge itselfs but now when I'll roll out when the animation isn't open (so i didn't release) the animation plays the animation for the minimizing of the animation. Here's my code (I know its a bit amateuristic but I'm not a programmer )

[Code]....

View 4 Replies

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

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







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