Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








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,




FlashKit > Flash Help > Flash General Help
Posted on: 02-20-2006, 05:50 PM


View Complete Forum Thread with Replies

Sponsored Links:

[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

View Replies !    View Related
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 ?????

View Replies !    View Related
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

View Replies !    View Related
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]

View Replies !    View Related
Timing
How do I make flash wait for a specified amount of time before continuing actions?

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
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?

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
Timing
I want flash to time for x amount of seconds then it will do what I want.
Thanx

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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).

View Replies !    View Related
[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.

View Replies !    View Related
Timing
Hi,

how can you configure that on clik of a button, movieclip load after lapse of 3 seconds ?

Thanks

View Replies !    View Related
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.

View Replies !    View Related
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...

View Replies !    View Related
[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.

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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....

View Replies !    View Related
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!

View Replies !    View Related
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!

View Replies !    View Related
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...

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
Timing Problem
Hi

How can I solve this problem using gettimer?

http://www.preferredfreezer.com/flash/index.html

What I want to happen is for the text to start fading out towards the end of the 8 seconds and then the new text just drop in.

I am using gettimer to stop the movie every frame for 8 seconds then some dynamic text is loaded in. I have a fade movie clip which is timed at 7.5 second alpha 0, and 1 second fade to make a total of 8.5 seconds as I have my frames positioned .5 seconds apart.

How can I make sure that the fade keeps in time with the rest of the movie????

PS - no comments on the Polar Bear - Clients again

Tye

View Replies !    View Related
Delayed Timing
Right now I am using a movie to fire off 8 smaller movies 1sec apart in a wave. The main movie plays for 12 frames, tells smallmovie1 to play, plays another 12 frames and tells smallmovie2 to play, and so on. Is there a way to do this with code rather than placing these smaller movies inside a bigger one?

thanks,
greg

View Replies !    View Related
Music Timing
The music I'm playing in the background needs to be timed with the images I have flashing. When I test in the browser it looks like where I want it, but when I test in the player or play the scene, the images come in late about 40 frames. Which test should I go by?

View Replies !    View Related
Timing Code
Hi I am using Flash Mx and have a menu with some buttons on it that I would like to disable (using the enabled=false; command) but I only want to diable them for about 10 seconds. I use the old way of having a movieclip turn them off for about 40 frames but now I'd like to do it all in actionscript. Something involving SetInterval maybe??? Can someone please help me with the code - thanks in advance. I have a deadline. HELP.


Peter

View Replies !    View Related
Timing Options
I am building an interactive in Flash MX and I would like to make the projector go back to the main start screen if the mouse has been inactive for a certain amount of time. Does Flash have an internal clock or something I could utilize. Any help would be greatly appreciated. Thank you!

View Replies !    View Related
Timing Options
I am building an interactive in Flash MX and I would like to make the projector go back to the main start screen if the mouse has been inactive for a certain amount of time. Does Flash have an internal clock or something I could utilize. Any help would be greatly appreciated. Thank you!

View Replies !    View Related
Detection And Timing. Help.
Ok. Here's my problem. I have a button on the main timeline that I have converted to a movie clip, with an instance name of "contactMovie". This movie has a _alpha animation on it.

Now, I also have a blank movie clip on the main stage ("dirtholder")that is a placeholder for a movie that I want to load, with loadMovie, the movie to be loaded is called "dirt1.swf".

What I want to happen here is when "contactMovie" _alpha is 100%, I want "dirt1.swf" to be loaded into "dirtholder".

This the code I have on "contactMovie" button:
----------------------------------------------------------------------

onClipEvent (load) {
// Set initial alpha to zero
this._alpha = 0;
}
onClipEvent (enterFrame) {
// As long as alpha is lower than 100, increase with five
if (this._alpha<100) {
this._alpha += .5;


}
}
----------------------------------------------------------------------

This is the code I have on frame 1 of the main timeline to load "dirt1.swf" in to "dirtholder":

----------------------------------------------------------------------
loadMovie("dirt1.swf", dirtholder);
stop()
----------------------------------------------------------------------

If you understand what I am taking about I would appreciate some help.

Also, I am having some problems with loadMovie. "dirt1.swf" is loaded into the correct spot on the document, but the link in it does not function. I have been told that this has something to do with _root, _parent, and _level, but I do not understand the syntax. The link works if I just play "dirt1.swf" by itself, but not when it is loaded into my main movie.

Thanks for any help-

View Replies !    View Related
Timing & Different Processors...
Hi,

Can someone explain if there is a way to fix the time of an animation so that it is the same time length on every computer, regardless of the processor speed.

I have found that my animations play at different times on different people's computers which is a pain!!

What can I do?

Thanks a lot!

r_tist

View Replies !    View Related
Animation Timing
I'm having trouble coordinating my animation frames with sounds or playbacks. Depending on the computer playing it back, it's usually either faster or slower then I want it to be. Does anyone know of a way to better synchronize sound and animation?

View Replies !    View Related
A Timing Question
Hey... I can't think of a technical way to describe this so here I go...

I have a scene with rain... and I want lightning to strike (an MC to play) randomly... I want the gap between flashes to be no shorter than 20 seconds and no longer then 30 seconds...

Now... I know how to generate a random number between 20 and 30 but how do I use this as some sort of timer like this...

gotoandplay IN randomNumber seconds (1);

It's vaige... but you get the idea?

Thanks in advanced... Robb

View Replies !    View Related
Help With Some Timing Stuff,
im trying to make a game whereby you swat flys... i need flys to randomly apear on the screen every half a second. Ive been trying to write the script but the closet ive gotten is:

onClipEvent (load) {
fps = 20;
time = fps/2;
}
onClipEvent (enterFrame) {
time--;
if (time == 0) {
duplicateMovieClip(this, "mc"+n, n++);
setProperty("mc"+n, _y, random(550));
setProperty("mc"+n, _x, random(400));
time = fps/2;
time--;
n++;
}
}

Anyone got any ideas on how to make it work?

View Replies !    View Related
Timing Things...
I was wondering if it is possible and if it is how would you set it up so that you can time an event to trigger after a certain amount of time? For example have a MC rotate every second.

View Replies !    View Related
Timing Your Key Presses?
I'm making a game kind of like the dance mat games (you know with timing yourself with the arrows). Anyway instead of a mat I'm using the arrow keys.
My question is say the person presses the key too early, how can I stop the person from being able to press the key at the right time? So the arrow would disappear so the player couldnt keep pressing the key and get the 'good'.
If you have any code or something that might help please reply.
I hope i've explained well enough.

View Replies !    View Related
Timing A Title
Hi Group:

I have attached a file I'm working on...I want to know how to display it on screen for 15 seconds....Its in flash mx 2004 format

View Replies !    View Related
Timing A Movieclip
what I'm trying to so to time a movie clip to play 15 seconds
my symbol has a title and a bouncing ball...no action script

View Replies !    View Related
Scene Timing Out.......
Guys,
I'm new to ActionScript and I have a question. My movie is timing out before my action script is finish doing its animation. I have some code that stores different variables into an array and displays them, but whenever I extend the keyframe out...say 30 frames down the timeline the animation has time to finish before the other scene loads. I shouldn't have to do this should I.
thnx

View Replies !    View Related
Timing Trouble
I recently made a music video for a song in flash. When I tested the movie by going to Control/Test movie it seemed fine. So I saved it. Then I watched it by opening the movie file, not the document and the timing was still fine. Then I went newgrounds.c o m and posted there and the timing between the graphics and music was off by a mile. Does anyone know what is happening.

View Replies !    View Related
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...

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved