Can I Get MC's Sync'ed In Motion?
I have one object_mc that'll move acording to buttons clicked. Then I have a mask_mc that will cover more or less of the object_mc acording to what ever content is loaded.
I'm using setmask wich works fine, but the mask is tralling behind when attaching it to the object_mc coordinates with object_mc._y = mask_mc._y.
is there anyway to sync them completly?
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2006-12-30
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Sync Sound To Motion
I've got a flash segment of a site I'm building,
here's the actual testsite link:
http://www.axiomad.com/shoecarnival/wheelgame.aspx
On the wheel game page, when you click to spin the wheel, the clicks (audio) should be in sync with the wheel's motion.
-On my machine, it's in sync, but with different processing speeds on different computers, this changes what the user sees and hears.
Any way to sync it, regardless of processing/connection speed?
Sync Sound With Motion
I'm having trouble syncing sound with certain movements. It's probably something simple and I just can't see it. How is this accomplished?
EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.
As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.
However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.
SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.
So all I need is a push to where I should go with this one.
All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.
- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline
Any ideas on this would be extremely helpful.
Thank you in advance.
Paul C.
EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.
As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.
However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.
SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.
So all I need is a push to where I should go with this one.
All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.
- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline
Any ideas on this would be extremely helpful.
Thank you in advance.
Paul C.
EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.
As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.
However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.
SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.
So all I need is a push to where I should go with this one.
All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.
- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline
Any ideas on this would be extremely helpful.
Thank you in advance.
Paul C.
Re-sync Out Of Sync Live Streams
Hi Guys,
I'm testing an application I've created. It's basically a 2-way A/V chat, with a text chat application on there as well.
Each user publishes a live stream, which is recorded on the server and then resent back down to the other user.
I've been testing it locally and everything is fine, so I signed up to Influxis on their Nitrous plan to give it a test run over the Internet.
Each stream is publishing a 32Kbps video + 8Kbps audio stream. Each user has a fast broadband connection, with around a 140 ping to the server.
Over time, around 10 minutes or so, the live streams get quite far out of sync. It can take over 20 seconds for the stream to reach the other person, making a "live" chat quite useless.
If I stop and start the streams again, it brings everything back into line, so I'm considering this as a potential resolution.
I'd really like to know why this sort of thing occurs, how I can minimise it, and how to recover from it when it does happen.
Any help would be appreciated!
[CS3] Lip Sync Out Of Sync With Stage
I have a mouth that I'm animating with the approach detailed in this tute:
http://www.youtube.com/watch?v=5uh3jhbCPbw
ie. it's a Graphic symbol within a Graphic symbol.
I've noticed that my mouth animation keyframes on the mouth symbol don't always match the same frame on the stage. For example, I set a keyframe at frame 326 in the symbol, but back on the stage I see that change happen at frame 330.
All the other frames leading up to that are in sync, and all after it are out by the four frames. What did I do?
Is It Possible? Motion Guide + Motion Tween + Actionscript Api Drawing
Hi
Im looking for some help I've done a lot of research and spent hours trying to find a way to do this so any input is appreciated.
I have drawn a shape in actionscript
_root.createEmptyMovieClip("myMoon",6);
with (myMoon){
beginFill(0x999999, 100);
drawCircle(50,120,30);
endFill();
}
new Tween(myMoon, "_x", Elastic.easeOut, 0, 300, 3, true);
Basically I have a tween on it that works fine but what I need to do is motion tween along a motion guide.
Of course I know how to achieve this through the normal way of drawing a circle through the tools box but I have to figure a way out to do this to the shape drawn in action script via the drawing api. How can I do this?
I presume I have to someway make this shape appear in my library as a symbol possibly? Hope someone has a soloution thanks a lot
No More Choppy Motion I Want To Learn Motion Using Actionscript
Hi, my experience is with motion tweens from point A to point B, clean and simple but notice the animation is VERY choppy on slower computers... I want to learn how to alpha, move from point a to point b with actionscript rather than simple motion tweens so the animation is SMOOTHER.... any resources I should check out? Books? Tut's to search for (I haven't had much luck searching).
Here's a sample of my Flash work using simple motion tweening:
http://www.workplaceinnovationsllc.com/flash.htm
Works great on a powerful computer but not on older slower machines..... you'll see where better scripting could make this site better, smoother.
Thanks!
Help!
Shape & Motion Tweens With Motion Guide? Can It Be Done?
Hello everyone
I am currently trying to make a line shorten gradually as it moves.
In other words I want to combine a shape and motion tween, using a motion guide to direct it.
Could someone supply an explanation for how to do so??
Thanks
Script Motion Vs Tween Motion Question
I have asked for help before on scripting that slows down text or smooths it out, etc.
My question is this.. (and i havent experimented yet so..)
If you were to use script to cause alpha changes and motion changes, as opposed to tweening everything, would it make the flash file move much smoother, especially if you had alot going on at one time???
It also should make the file quite abit smaller too correct?
Thanks
[as3] Motion Guides And Motion Code
Adobe's touting Flash CS3's "Copy Motion as AS3" feature as a bridge between designers and developers. For the most part, I bet they're right. And there are probably other applications for the Animator class that we can't forsee at this time.
But I thought this feature's greatest use would be representing complex animation elegantly in a programmatic way. Simple animation can just be coded; it's the tough stuff that we'd prefer to animate in the Timeline, then convert to code. And Adobe seems to agree; their demonstration for this feature uses a motion tween that uses a motion guide, which is translated into Motion XML. But if you look closely at the XML, it doesn't describe motion at all: when you copy motion along a path as AS3 code, it'll first convert the entire tween to keyframes. That means, if you want to make the XML animation twice as long, you'll need to properly adjust the keyframe positions for each frame that was in the animation. That doesn't cut it for me.
On the other hand, if you just copy and paste the motion to another object, the guide will also be copied. This makes more sense; the Animator should be able to rely on a motion guide just as the Timeline seems to do.
Go ahead and give it a try. Make a little motion tween that uses a guide, copy and paste it as AS3, and look at the XML. Isn't it impractical?
Motion Tween (fade) Text Converted To Symbol No "motion"
I am using flash mx and my file includes text that is supposed to fade in and out.
I do exactly as I do with images - alpha 0 fades into 100 % etc, and it looks fine on the stage, but when I publish the text simply pops on and off with no recognition of the alpha channel fading in and out.
I create the text as static text - old english font - and then I convert it to a symbol. I tween the symbol from 0 to 100 alpha and back again. Presumably making it a symbol essentially makes it an image, right? no?
I am relatively new to flash so I may be missing something obvious?
(yes I have checked out places like flashkit.com, but not exactly what I am looking for, want more control.)
.SWF Not In Sync....?
I am making an itro movie for my site, when I play it everything works in time the way it should. However when I export it, it's a complete mess. I have two sizeable sound clips one starts IMMEDIATELY when the first ends, but when compiled theres a 3 second gap. Also all of the frames after a certain point are more than a second behind, and I've just noticed several are not there at all. Can anyone tell me what I'm doing wrong? I'm very new to flash so if you need more info please tell me what and I'll include it.
Thanks in advance,
ltcolpe
Lip Sync Way Off
I made a cartoon with characters lip synching. It looked fine in Flash but on the web, the lips don't match the words. On some computers, the animation seems to move in slow motion. This, too, is unintentional. I'm not sure what to tell you except I was sure to use symbols throughout.
To see the animation, go to atomicmonsters.com and click on the upper left icon, “b-movie rental”.
Thanks
Sync Help
Hi!
Need help with how to synchronize sound and animations with director 8.5
Is there a similar forum like this but for director ????
I could put this into a flash question also.
When you guys synchronize imges and effects with sound,, how do you do it?
Do you put markers in the sound file and then work from them??
I would like to work with animations based on the music, not the other way around.
All tips both on director and flash are welcome,, i really really need help on this topic.
Out Of Sync .......&%¤%&%¤#
Hi
I made a movie(not the point here but it involves a wookie!!)
and I can´t get his mouth in sync with the sound after a couple of seconds the sound cant´t keep up with the image.
I have imported all the sounds and are placing them in keyframes I also have a preloader running before the movie starts
thanks
Lip Sync
Hello everyone!
Iv got a movie with about 3 or 4 different recordings of my voice. I have the movie all syncronized in flash mx but when I preivew or test it it gets all out of sync. I asked a very simillar question yesterday and someone said change the sound from event to stream, and that helped the first voice recording get in sync, but when the movie moves on to the second recording (which is on another layer) it is miles out of sync and it is also set to stream. aswell as the next 1 or 2 recordings. The audio recordings are in .wav format, would it help if I converted them to .mp3? If not what should I do?
Maybe merge the audio together into one file, if that is possible. Please help if you can I really really appreciate it. Thanks
Ryan
BTW It is set to 30 fps, if that could be something to do with it?
Everything Should Be In Sync
i ´m in desperate need of help.
The first time the movie start by itself , that´s okej. But when i press the button to play it again the little square inside the bigger black square is not in synk anymore . how can i achieve that.? I want the little square to be in sync with big square please help........
Look at my fla. file
Lip Sync..
Note: This is the very first time I've ever used Flash MX.
I'm starting a new video to send to my old lady for her birthday. It's a picture I drew of me singing the Buddy Holly song True Love Ways.
Anyhow. I'm having trouble with the lip synching. I've got a variety of mouths, so there's no problem there. It's the actual synching that's giving me the trouble.
Is there any way to make the sound graph/layer size larger so I can see it better? 300% on 1152x864 is still too small.
Also, when I play the file in MX, I sing with the music..When I export the file to SWF, it's way out of synch.
http://extremeryno.psychopuffs.com/TrueLoveWays.swf <---Just the first few words...Demonstrated the problem, though.
Out Of Sync
I'm a VERY basic flash user, i've only had it a few weeks.
My cartoon run fine when i watch them IN flash, but as soon as i export them, to any format, the sound runs about a second out of sync.
How do i fix this?
Also, when i'm in flash, and i only want to view say, the first 5 seconds, i press play (that fine) i watch it (that fine), i press stop, (thats fine) but the sound continues to run right to the end, how do i stop the sound as well, if i only want to preview a few second?
Thanks
Lip Sync S/w
hi,
Is there any software for lip syncing available free on the net... where i just have to type the lines and the lip syncing is done for me?
I am preparing a movie(animated) for some non profit org.
thanx
Sync
how do I synchronize my animation to my audio
Lip Sync
are there any free tutorials for lip synching? i have looked around and can;t find any. if someone knows of one, plz post.
Out Of Sync
In Flash MX 2004, I use the live preview to quickly make sure mouths are in sync with the words they are saying. Though when I go to do a preview or export movie... they are out of sync. Does anyone have a clue to whats going on here?
Lip Sync
I am working on the latest No Lettuce Productions cartoon.
It's an animated feature that does have sound, in the form of talking and music.
When I was making the lips sync, I used Live Preview. But whenever I view it in any other way, be it after uploading or in .swf format, it doesn't match up.
It starts out dead on, and consistantly, every time I view it, the lips slowly get slower than the sound, and by the end of my movie, I'm a good 10 to 15 seconds off. This hasn't ever happened before, so I'm not sure how to fix it.
Lip Sync Help
I am trying to learn to lip sync with Flash MX and have almost got it using graphic symbols. I am using imported gif bitmaps. The head symbol gif graphics have transparency so I can layer it over a background. My problem is that when the movie plays the frames don't display only in the frame they are suppose to be on but appear on other nearby frames making the lip sync unusable. How can I make a frame only show up when it is suppose to and not show up when other nearby frames play? I have put a link to the fla below if you want to look at it.
Nevermind I found the answer.
NOt IN SynC.
i am trying to make a lfash movie with a soundtrack that goes along in the background.........and i want it to be in sync. BUT when i get in in sync on the timeline, then the timing is completely different when i press ctrl+enter to test movie, but when i hust press enter to watch it on stage its perfectly timed! WTF is happening here? and can anybody tell me how to fix it?
RSO Sync
hi i currently have a timer on a flash page which lags badly if i try to use a remote shared object to store and sync it....I know that isn't clear so below are the user and .swf actions which i'm trying to accomodate.
1. user opens up flash page which contains the timer/clock.
2. user closes the browser window.
3. user opens a new browser window and opens flash page which contains the timer/clock
4. the timer doesn't lag and has the time same time on it as when the user closed the browser window and is running.
I'm willing to pay if somebody can accomplish this project or if you are just willing to take on the project for nothing.
I will provide the timer code if needed.
[F8] Lip Sync
[font=Comic Sans MS]I am about to make a animated flash series with some little characters voiced by my mates but, i need a way to sync the lips of the characters with a automatic script so I can place the script in with a sound file and the script will do the rest. I have searched many places for a answer but they are always explaining in depth mouth move-meant (I am only animating faces witch will be a inch at max!) or telling you to do it your self the slow way.
The must be an easier way!!
Please help me!
If i find a solustion i will put a text link on my site for yor site (first-come first serve)[/FONT]
E-mail me
What Is The Best Way To Sync?
hi all,
i m creating a presentation having text, animation and associated narration sound.
the problem is where the file becomes too large (around 10000 frames) or too complex (with complex graphics and layers).
i hav tried out both methods: timeline streaming sound and actionscript.
while using actionscript i cutted the bit sound into smaller clips and linked them using code:
ActionScript Code:
_root.speechName = 1;
var pageSound = new Sound(this);
pageSound.attachSound("speech01");
pageSound.start(0);
pageSound.onSoundComplete = function() {
gotoAndPlay("speech02");
};
where sounds and related frames have same label and linkage id.
it works well but animation jumps at the end of sound as sound clip completes before animation.
secondlly, if i use streaming sound on timeline, the complex animation tends to be jerky. It seems that some frames skips out, but the narration syncs seamlesslly with other animations.
however, i can't reduce the size of fla as per my client and it will be published on web.
can anyone help me to solve this problem...and give me idea about other methods they are knowing to sync animations properly in such a situation.
thnx in advance!
regards,
sushil
Sync Is Not Right
I created a tightly syncronized Flash presentation. It plays back great from Flash. When published and viewed, even locally, the timing is lagging.
What can I do to restore my precise timing?
Thanks
V-sync?
Hi,
is there any way to make sure my animations run within the vsync to
avoid flickering?
TIA
Help, Out Of Sync...
I made a flash movie and when I play in it's published versions the movie is out of sync with the audio.
I was just wondering if that's because my comp is so very slow, or do I need to tweak the movie in order to have it play the way I desire it?
If it's just my comp than I won't worry about it, but if all flash, or flash 5 to be more exact, plays this way, than I'd like to tweak it so it'll play properly.
I know how to tweak it to get it to play right, I just need to know if it's my computer or the published versions of flash.
Any help you can give would be great. Thanks for your time.
BPM Sync
Hi All,
Just wondering if anyone here has had any experience with BPM syncing animations using as3? This is as far as I have got so far. Any suggestions as to how to improve this, or links to some good tutorials would be greatly appreciated.
Thanks
/*
- Create an FLA and place lines at every 50px mark on the y axis starting at 100px
- Also you need a click track done in a program like reason or fruity loops with the
linkage Record1 in your library
*/
stop ();
import flash.media.*;
import flash.display.*;
import flash.events.*;
import flash.utils.Timer;
import flash.events.TimerEvent;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.setTimeout;
var bpm:Number = 96;
var minute:Number = 60000;
var beatMS:Number = minute / bpm;
var barMS:Number = (beatMS * 4);
var ballList:Array = [];
var i:int;
var t:Timer
var rec1:Sound = new Record1 as Sound;
createBalls ();
t = new Timer(beatMS,999);
t.start ();
var isPlaying:Boolean = false;
t.addEventListener (TimerEvent.TIMER,updateTimer);
t.addEventListener (TimerEvent.TIMER_COMPLETE,resetTimer);
function createBalls () {
for (i = 0; i < 5; i++) {
var balls:Sprite = this['ball'+i] as Sprite;
balls = new Sprite();
balls.graphics.beginFill (0xff0000,1.0);
balls.graphics.drawCircle (10,(barMS/100) * i,5);
balls.y -= (barMS/100)
balls.graphics.endFill ();
addChild (balls);
ballList.push (balls);
}
}
function updateTimer (event:TimerEvent):void {
if (!isPlaying) {
isPlaying = true;
rec1.play (0,999);
}
for (i = 0; i < ballList.length; i++) {
ballList[i].y += (barMS/ 100);
}
event.updateAfterEvent ();
}
function resetTimer (event:TimerEvent):void {
t.reset ();
event.updateAfterEvent ();
}
Lip-Sync
I was wondering if there's a lip-syncing program out there (that can export to flash) that doesn't have shareware restrictions on it (such as length of audio file, etc) that I can easily target sound files to within a larger animation, and also have some customizability over the size/style of the mouths, etc. Thanks.
Sync 1.0
Well, I just finished my most recent project. A simple tool that allows you to synchronize your remote application with your local one. Fairly handy for quickly updating design changes or minute hot-fixes.
Read my post to find out more or download the source code.
Lip Sync
What is the best way to animate a lip sync except using magpie which isn't freeware so i can't export the god **** thing. Any suggestions?
Help, Out Of Sync...
I made a flash movie and when I play in it's published versions the movie is out of sync with the audio.
I was just wondering if that's because my comp is so very slow, or do I need to tweak the movie in order to have it play the way I desire it?
If it's just my comp than I won't worry about it, but if all flash, or flash 5 to be more exact, plays this way, than I'd like to tweak it so it'll play properly.
I know how to tweak it to get it to play right, I just need to know if it's my computer or the published versions of flash.
Any help you can give would be great. Thanks for your time.
AVI Sync
so.
i create backing tracks/video synced with audio in flash (like basic kareoke and a metronome).
anyway, when outputted as a .swf they are all good.
however now i use my iPod at gigs and export the flash file as an AVI file then convert it to an MP4 file and the audio video is all out of sync.
i use different frame rates (including decimal points) - that might be the cause. any idea??
joel
BEST Way To Sync A FLV And A SWF
Well, after going over a bunch of documentation and doing some tests, I'm curious what the masses say.
Even tho MacroMedia doesn't recommend it, I seem to think that the best way is to embed the FLV directly into the SWF. Then I can just match the movie directly in the timeline. I don't seem to ever encounter the audio/video sync issues that MM mentions. But it makes my eomployers a bit jumpy so I have to think of another way.
I could load the FLV and SWF seperately and have them start at the same time. But then they can totally get out of sync. So then I thought I'd use netStream and cuePoints, but it seems to me that I'd end up having ALOT of cuepoints.
I see stuff like this:
http://www.macromedia.com/platform/
and I can see that the animation on the left is it's own SWF. But when I move the slider around I can jump to almost any point on that timeline. Are they just using TONS of cuePoints? Am I missing something simple here?
Any thoughts would be appreciated.
Thanks,
Chenzo
Sync Ok?
ok, so I have this Flash piece, in which I have a long (5 minute) audio track, that syncs along with the animation..
http://wewillnotbesilenced.cf.huffingtonpost.com
Sometimes the track synchs to the animation all the way through (and you can *easily* tell when its getting out of sync as the words exactly matched the audio when I authored it, and sometimes it seems to 'creep' out of sync.
What might cause this and what could be a possible remedy ?
It's set on the timeline to play the sound 'streaming' and as I say, it's all perfectly in time in the actual FLA.. :/
Thanks, each.
Mike.
Sync Of Equalizer
Hi everyone
I have created a equalizer to play when a song is playing. I would like to know if there is anyway to have it in sync with the music as you would see on a regular stereo. Thanks for the help
Sync Sound
Why does the sound get dirty/noisy when I select Sync option? With Event/Start modes everything works fine. Spent all day trying to figure out why flash lugs when in Sync mode. Please, help!
Does MX Have Audio Sync Bug ?
In the FLIX forum one of the Wildform people says that MX has a problem syncing audio on export FLV video....
http://board.flashkit.com/board/show...hreadid=324677
Is this true ? My main for upgrading would be to import FLV video without using "loadmovie", but if MX can't even play in sync then there's not much point.
Is audio sync a recognised problem ?
thanks
[b]sound Sync[/b]
I want it so that when the movie stops, the music stops. How do I go about this?
Sync. Music
how do i make objects syncronize with certain beats of music, or even music in general. like a sound bar, or speakers, et.
Audio Sync?
Is it possible to sync up the end of a 10 sec intro to the beginning of a loop??
I just placed them end to end on the time line, but it varys too much, usually with a few second gap:
|