Sound Timing
So im making an animation and up until now..all the sounds are working perfectly! I added these two new sounds effects to my animation..and tested it...the two new sounds are played WAY to early in teh animation! i have tried many things such as: -compensating for how early the sound plays and moving it that much further up -deleting the sounds from the library and reloading them -finding different sounds to use
what should i do?! this is really frustrating...
FlashKit > Flash Help > Flash General Help
Posted on: 05-13-2004, 09:50 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Timing Sound
Hello...
I have Flash 5
I have a .WAV file I would like to to have play every 1.5 seconds as long as frame 1 is active.
I tried looping it, but it plays much to fast.
Is there any way that this could be done in AS and if so, what would the code look like?
The name of the .WAV file is "duck2.wav".
Thanks in advance
P.S.
Here is the FLA
Sound Timing
I'm trying to synchronize an audio clip and a button so that when the song finishes playing, the button appears.
How would I go about achieving this?
Timing Sound
Hello...
I have Flash 5
I have a .WAV file I would like to to have play every 1.5 seconds as long as frame 1 is active.
I tried looping it, but it plays much to fast.
Is there any way that this could be done in AS and if so, what would the code look like?
The name of the .WAV file is "duck2.wav".
Thanks in advance
P.S.
Here is the FLA
Sound Timing
I'm trying to synchronize an audio clip and a button so that when the song finishes playing, the button appears.
How would I go about achieving this?
Sound And Motion Timing HELP
Flash 4.
Set up: 14 Frames Per Second... Import a Wave of 26 seconds.. lines up perfectly with my total frame count, images, and tweens. BUT, when I go Test Scene, the music gets done way way before the images and tweens. I have the music wave and the images on separate layers.
Help - why does it get out of time when I test it?
When I shorten the tweens and images by eliminating frames, the music and imagery ends simultaneously like it should. Thus, the music has say 360 frames, and the imagery now has something like 200 frames.
I just do not understand why the music plays faster than the motion.
Is this common? Does it depend upon the image and tween complexity? Does it depend upon the image and tween KeyFrame count?
Responses greatly appreciated.
Thanks
Sound Timing Woes
I've known this since I started working with CBTS. For some reason, the sound files play faster over the internet server than when I test them in Flash or when I load them on a file server. These sounds are loaded and controlled via actionscript. The only real problem is that I have to cut swaths of frames every so often throughout the timeline.
Any ideas why this is? Is there a better solution?
Po~
How To..How To..Timing A Sound In Flash..
Hi everyone, I'm making an mp3 player, and I am having some difficulty. One of my countless problems is not knowing how to make a dynamic textbox count the seconds that the song is playing, just like on a real CD player..if you know what I mean. I really would love to know how to do this, so please help me! Thank you so much in advance!
Timing Sound With Tween
Hi Guys,
I am using the http://laco.wz.cz/tween code. And I came up with simple code to move 2 MC's over time.
text1.tween("_xscale, _yscale",500,1,"easeinoutCirc",1);
text1.tween("_xscale, _yscale",900,1,"easeinCirc",1.8);
text1.tween("_alpha",100,1,"easeinoutCirc",.8);
text1.tween("_alpha",0,1,"easeinoutCirc",2);
text2.tween("_xscale, _yscale",300,1,"easeinoutCirc",3);
text2.tween("_xscale, _yscale",900,1,"easeinCirc",4.8); text2.tween("_alpha",100,1,"easeinoutCirc",3);
text2.tween("_alpha",0,1,"easeinoutCirc",5);
What I am trying to do is set two seperate sounds to play at the time these animation play on screen. I found a lot of tween tutorials but, nothing on how to get the sound to execute at the same time as the motion.
Problems With Sound And Timing After Exporting
Hi there,
I'm having problems with exporting a movie clip.
Im busy making a clip onto a piece of music.
Now Im timing everything as I should according to the layers, on the exact right moment the animation should start....now comes the problem......as soon as I Test the movie, as an exported file that is, the timing is all shot to hell, after 10 seconds there is already a delay of 1 second between the animation and the sound.....but in flash MX itself when I say play movie (pressing ENTER) it all works fine and the timing is also right.
I just dont get it, why after exporting the movie it suddenly runs behind, I tried different sound exporting options, as different compression techs, different sample rates and so on.....but all to no effect.
If someone could help me out here, I would be really greatfull
Greetz
Switcher
Timing My Movie To A Sound Loop...help
Hey all,
I have a flash movie that I added a sound loop to. the sound only loops once but i can't seem to synchronize my movie with the sound. either the movie is too long or too short.
and when i play it on a different machine it is even more off. is there a way i can synchronize my movie and sound loop so that no matter what computer i play it on it will time correctly?
also i am using flash mx, is there a way to make my movie compatible with a flash 4 plugin?
thanks in advance.
-Shu
Controlling The Timing Of Sound Loops
hi hi... pls help me
I'm making a kids drum machine and I'm trying to do 2 things that are very similar.
I want my 4 second (48 frame) sound clips to begin at the same time (that is, at the beginning of the 4 second cycle) and if a sound is stopped, I'd like to have it finish out its cycle first and then stop.
I think the key here may be with using onEnterFrame... but I don't know how to use onRelease and OnEnterFrame at the same time. (I've extended my timeline to 48 frames to acccomodate this)... there are probably some if/then conditions I could use too... but I'm so noobish... I'm lost...
Help?
Sound Loop Timing Question
Hello,
I have a sound thats about 5 seconds long. I want it to play once every, say 3 min, and start maybe 1 min after the movie has loaded. How would I do that in action script?
Thanks
Flash MX Sound Timing Problem
Flash MX Sound Problem:
Flash Version: MX
Flash Player: 6
I have a 5 minute animated movie which has 5 sound files in it. I can see the sound wave forms in the timeline and they all begin and end in the correct location but when I publish the movie each sound stops 5-6 seconds earlier than they're supposed to.
I have tried adding the sound via Action Script instead of dumping them into the timeline and still have the same problem?
Can anyone help me with this please?
Very Stuck On Sound Loop Timing Issues
Hi
Iv made this http://www.bigorangeplanet.com/syntel.swf
when the logo rotates is the start / end of the movie. Were it loops.
My problem is with sound.
i need it to loop in time with the animation. Were as at the moment if you watch this animation for a few minutes the sound will eventualy cut out, there will be a gap with silence, and then it will start again. In the MIDDLE of the Movie. !?
My movie is 720 frames long at 24 frames a second. the sound is on the bottom layer, set to loop twice. On frame 720 in the music layer i have put a blank key frame and "go to and play" frame one. Weather i put this action in a blank key frame on that layer or any other makes no difference.
The sound is running faster or slower than the main animation. What can i do about this ?
This animation with sound will eventualy become an mpeg. When i get the sound sorted that is.....
cheers for any help
wexman
MSIE Vs. Flash Player & Sound Timing Variations
Silly Q:
Main scene, song starts in frame 3 (first frame after pre-loader).
Events in the main stage animation are synced with the music.
In flash player it looks great, in MSIE it starts great but as time goes on it's apparent that the music is playing slightly faster than it does in the flash player... or the video is slower... and the sync of events is off.
Any way to sync an MP3 as it plays over time?
NCD
[timing] Function Timing - Delay In Script
Hi all,
Back again to find help provided by helpfull flashers
Right now i have the following script
PHP Code:
var speed = 20;
MovieClip.prototype.slideIt = function(whereX) {
this.onEnterFrame = function() {
this._x += (whereX-this._x)/speed;
if (Math.abs(this._x-whereX)<1) {
this._x = whereX;
delete this.onEnterFrame;
}
};
};
green.onRollOver = function() {
blue.slideIt(520);
red.slideIt(550);
};
green.onRollOut = function() {
blue.slideIt(193);
red.slideIt(386);
};
What i want to do is pretty simple, i want the onRollOver to be delayed for a few seconds before it runs the slideIt script.
I searched on kirupa for similar actions and found this
http://www.kirupa.com/forum/showthread.php?t=47450
but how can i implement this in my own script ? tried a few things but all it does is either nothing or even more nothing ...
Need some help on this - Thanks in advance
Publish Timing V/s Working Timing
I have a question.....when I am working in flash MX and I am modifying a purchased flash site I did some changes to it and it works well.
I added music and modified the thest animations to go with the music and all looks well but when I publish it and see it on the web it is all out of sync????
Why does the syncronization change from my working movie to my published movie ????
Now I also did some more editing to my movie / web and on when I am in FLASH MX all works well and looks good but when I save as a movie and view it as the .swf file all the text animations are gone ????
But it looks fine while in the actual flash program.......
Anybody got any advise ?????
Timing Please Help
Can someone who knows please tell me how to stop my Flash Projector from playing differently on different computers with a song type video.
I basically have a 5+ minute song with picture transitions throughout timed exactly correct (at least I thought) but when played on different computers with different processors it is all off.
sound like something i cant fight B U T I have seen projector files that play perfectly on everyone's systems so YOU GURUS KNOW how to prevent this difference....
can you clue me in?
tv
Timing
Hi,
Is there someone who can help me... Please...
I'm in a scene 'A', and I would like that after a few seconds, I go in a scene 'B'. How can make it to test the few seconds... ?
Thanks for your help, big kisses!
Calamina...
[Edited by calamina on 12-20-2001 at 07:51 AM]
Timing
How do I make flash wait for a specified amount of time before continuing actions?
Timing
Greetings,
I have a certain MC called lightning, and what I want it to do is to wait a certain time, each time for playing. So it's like what 3 seconds, then the movieclip plays, then wait another 3 second, and the movie to play again. How would I go about doing that?
Thanks
Timing
I want to allow some of the editors where I work to enter in certain things that will load into the flash file.
They will be using a broswer form, that will create an xml file that will store easy things like headline, graphic, blurb text, URL, etc. BUT....
I would like for them to be able to take predefined animation, say a slide form left to right, or a fade in or fade out.... and be able to set the speed. Is there a way to do this.... so instead of just plopping a jpg into a movieclip that fades from 0 to 100 across 30 frames.... they could admisinster, say, 6 seconds. The xml would pass me 6 seconds, I would multiple my frame rate to get the frame number.... and then, how to I actually make that fade tween or motion tween extent to the new length of time/frame? Can't figure it out.
I don't just want to set a postion or alpha... and I don't want it to dynamically follow a mouse or some get property.... I just want to change how fast it happens.
Thanks in advance.
Coffee Cat
Mc Timing
Hi there, quick question...
I have an main .swf on my website that loads and unloads a bunch of smaller .swfs as the movie plays (I did this to cut down the time it took to load up the site). On both my computer and another I tried, it works fine but on a friend's computer the .swf's loaded too slowly & unloaded too quickly - it looked terrible. Is there a way to make all the computers happy?
miz k.
Timing
Hey people! I'm sure this question has been asked a million times, but I can't find it anywhere. How do I keep the timing up to date with the music in my movies? With the update() command? And if so, how do I use it properly?
If you know where the answer to this question is, if you could direct me to it, or answer it, it would be greatly appreciated. Thanks in advance.
Timing
hey all!
i have a button that activate a clip(within the button-a rollover).
i have 26 button that sit one on top the other.
i want the button to activate the rollover and stay for 1 second or less and move on...
timing the button or something like that.
Thanks for any help.
Timing
How do you run function after so many seconds
like if I had a button that would call a function, how would I make it work so the function works after a few seconds after the button is clicked?
Timing
Hi everyone. I'm trying to make a timer for a game I'm making but I'm not quite sure how to do it.
i know how to alter dynamic text but I'm unsure how to alter it depending on the time. I want each level or round to last a set time and when it gets low on time, the time turn red in colour. I can work most of it out but is there a handler for seconds if so, I'm not sure how to do it.
Please help.
thanks.
Timing
i have a movie loading into the 'shell' of a presentation. but my problem is the movie that gets loaded into the shell it plays slower. when i run it in the flash environment, everything works fine. but when i view it through explorer the loaded movies play slower.
this will end up on a cd. is there anyway of publishing the project not using explorer, or a way to publish it so it will behave exactly as though it was played in the flash environment?
thanks for any help.
Timing
I want flash to time for x amount of seconds then it will do what I want.
Thanx
Timing
why is it that when i load animations in seperate MC's into a maintime line...that the timing is all slowed down...can someone please let me know..
when I publish the MCS by them self...the timing is right...but when I load them into another timeline...there slow right down and miss the event sounds i have used...
I ensured that all the frame rates are the same....
what am i doing wrong...
goto
http://www.vibegraphics.ca/GUTS/Page-Console.html
you will see what im talkin about with the spray paint on the top right corner
thanks,
Help Regarding Timing
Hi,
Im completely new to flash and have made a movie here.
The problem I've got is that it works fine at times but at other times the synchronisation between movements and music goes out completely.
The events get quicker and quicker until the music is a couple of seconds out. As mentioned above - it works perfectly at times.
I'm using 3DFA which I've noticed doesn't exactly get rave reviews on here but I bought it before checking out.
Am I doing something stupid?
Cheers
Paul
Timing...
Hi!
I want a script that says this:
if you haven't pressed the button in 2 sec gotoAndPlay(2);
but if you did gotoAndPlay(10);
but I can't figure out a way to make the time work!
Please help me
Flv And Swf Timing
Hello. I have a rather large vid which I have imported into my SWF dynamically using the FLV playback componenet. What I am looking to do is display some text in my original SWF during certain points in the movie. since the FLV is not on the actual timeline and will buffer differently on different machines, does anyone know of a way to time those messages (in the parent SWF) precisely with the proper points in the flv?
appreciate any help. Embedding the video is not an option since the qulaity needs to be retained as much as possible and they are very large (about 5mb).
[FMX]Timing AS
Hey all, ive always browsed kirupa forums but never actually been a member(a sin?). Thought its time for me to break into the scene so to speak.
I have a question for all the uber flash gurus out there and i have tried searching the forums for my answer but i wasnt actually sure what i should be looking for. I was wondering if there is anyway to pause between lines of code.
The situation i am in at the moment, i am building a small portfolio for my multimedia class and skill level is above everyone else in the class and i think the lecturers were just expecting some easy motion tweens and working buttons but i decided to make it a bit of a project to build a whole new portfolio using as much actionscript as i could.
I have built prototype functions for moving an MC on x axis and y axis with easing. Simple enuff but i cant work out how do one after the other.
Code:
on(release) {
_root.box.moveX(200, 2);
_root.box.moveY(200, 2);
}
Nothing happens if i have both in the button, i was thinking that i could do a loop and just check where the object that i am moving is at but thought that would be long way of doing it. There must be a way to not go onto another line of code UNTIL the other one has finished...just how? o.O
Thanks.
Timing
Hi,
how can you configure that on clik of a button, movieclip load after lapse of 3 seconds ?
Thanks
Timing Help
Ok. I made the game. Look in attachment. The timer doesn't seem to be working for me. And when starting the gme the cards are shown for only few seconds. I want to make the cards bigger also how do i do this with script.
Timing
ei guys...i have this effect similar to www.lennykravitz.com wherein when you click a button it goes to a certain square...what my prob is how to make the loaded movie (.swf) play exactly after the square (or part of a picture, in my case) moves into its rightful place...so that my loaded .swf won't play immediately while the action is in the middle of its animation...
[FMX]Timing AS
Hey all, ive always browsed kirupa forums but never actually been a member(a sin?). Thought its time for me to break into the scene so to speak.
I have a question for all the uber flash gurus out there and i have tried searching the forums for my answer but i wasnt actually sure what i should be looking for. I was wondering if there is anyway to pause between lines of code.
The situation i am in at the moment, i am building a small portfolio for my multimedia class and skill level is above everyone else in the class and i think the lecturers were just expecting some easy motion tweens and working buttons but i decided to make it a bit of a project to build a whole new portfolio using as much actionscript as i could.
I have built prototype functions for moving an MC on x axis and y axis with easing. Simple enuff but i cant work out how do one after the other.
Code:
on(release) {
_root.box.moveX(200, 2);
_root.box.moveY(200, 2);
}
Nothing happens if i have both in the button, i was thinking that i could do a loop and just check where the object that i am moving is at but thought that would be long way of doing it. There must be a way to not go onto another line of code UNTIL the other one has finished...just how? o.O
Thanks.
Little Help With Timing
Hi folks, I'm working on a site, and i got stuck with the first item - the preloader.
I want it to play some kind of animation once when the bar reaches set position(different animations for diferent positions, each in +1 frame of mc).
i got in my script going like :
if(percent == 20)
{
anim_mc.gotoAndStop(2);
}
and it works when tested localy, but online the counter might skip from say 19 to 24 %, and the animation don't get displayed. Can anyone think of a way to solve this?
Cheers
TIming, TIming, Timing
I've been trying for weeks to make a banner for one of my sites where words appear in time with the music playing underneath. I admit, this is my first time using Flash. I sought advice from a friend and he suggested a preloader, which I applied but to no avail!
After the months I have spent waiting for permission to use the music and then putting it all together, it is becoming very frustrating.
The preloader doesn't even appear to work on the server even though it did on my test run.
My first .swf
Any advice would be greatly appreciated. Many thanks in advance.
Set Timing?
hi people.
i need a little help
i will write the "idea" of what i need, (with normal language) and please somebody tell me wich would be the right script for that:
action:
if timer > # sec.
do something
i need to set a "time control" , and when # seconds, for example 30 secs. do something.
thanks in advance.
LaYeR
NAVIGATION And TIMING?
I have a roll-over drop down menu. But I want the menu to disappear if the person decides that they do not want to switch to another page. An example of what I am poorly trying to talk about is : "WWW.EMERILS.COM".
Also, I want my navigation [flash] to coordinate with the HTML text below - so that when the HTML page loads up the user can see where they are [and have been] in the menu.
Can anyone help?
Matt Griswold
mrjengals@prodigy.net
Timing Problems
Ello' 'der
I've been working on a project and have worked out many presentation problems, but I've hit a block...
Each section of my movie has it's own background that slides in. This was sucking CPU power, but I reduced this problem with help on a nother thread. I came up with a new idea to help this along. There is another movie that plays while the background is moving. How would I delay this movie clip from running till after the background finishes sliding. The background is based on actionscript, so it's not as simple as just modifying a layer's script.
If any one has any good ideas let me know....
Random Timing(?) &*#$%@
Basically, to cut a long story short, i have a little game in which i'm making these two MCs (g1 and g2 instance names) randomly appear on the stage, and then you knock them over their heads to get points. (sounds pretty lame, i know ;-))
Now the considerations that are popping my brain cells are:
1. The MCs must never appear at the same exact time.
2. The MCs x and y coordinates are constant. They appear in the exact same place everytime.
I'd seriously appreciate any advice or info or source code.
Thanks!
Random Timing (#$%@&)
Basically, i have a little game in which i'm making these two MCs (g1 and g2 instance names) randomly appear on the stage, and then you knock them over their heads to get points. (sounds pretty lame, i know ;-))
These are the considerations that are giving me trouble:
1. The MCs must never appear at the same exact time, but still be appear at random intervals.
2. The MCs x and y coordinates are constant. They appear in the exact same place everytime.
I'd seriously appreciate anykind of advice.
Thanks!
Timing Problem...
when i tried using get date, get hours and such, i get a GMT+0900 time... but my computer is using a GMT+0800 time. why is this so? will it use a standard of GMT+0900 on all computers? this kind of screws up my countdown to a certain time, since the time on the countdown will reach 0 while my computer tells me it is still one hour away...
Timing A Movie
i need a script that plays a movie in random times.
details, i have movie x.swf loaded into my main movie. movie x.swf is empty on the first frame with a stop action in it. what i need is a script that tells this movie to play every x amount of time. any ideas?
thanks
Timing For Music
How do you make sure a certain event happens at the right time,
for example if there were 3 drum hits in a row in a song and you wanted the pic to change right on it?
thanks for any help
Why Is Timing Of When I Publish?
I am making a music video of sorts.
Therefore, timing is very important because things need to haapen on audio cues. When I press F12, everything is timed perfectly. However, when I publish and view the SWF file by double clicking it, the timing is off. Which one is correct and why are they different? How do I standardize it?
Gracias
|