;

PDA

Click to See Complete Forum and Search --> : go to key frame __ on (Key) help


ksouth
08-13-2006, 04:59 PM
Ok...

Well, i have koolmoves demo 5.3.2 and i'm having trouble trying to do the "go to key frame __ on (Key)." In this case, i want it to go to key frame 3 when you press "space." I ain't no genius on action scripting so if someone could please tell me how to do this is would be very appreciated.
-[~]this_message_has_been_approved_by_Ksouth[~]-
also, i tried to use the search thing but i couldn't really figure out a way to put my cry for help into words.

indogo
08-13-2006, 11:08 PM
this.onEnterFrame = function(){
if(Key.isDown(Key.SPACE)){
gotoAndPlay("3");
};
}

use names for your keyframes...generally better.
put the code above in the frame where the movie is stopped waiting to jump.

other keys are listed in the syntax assistant.

regards

mike

ksouth
08-14-2006, 03:18 PM
omfg...thnx alot!!!
and i mean alot
like...um...the length of a rainbow
and...100 cups of coffee...

THNX!

indogo
08-14-2006, 03:21 PM
Guess it worked them :)

mine's a duff

mike

ksouth
08-14-2006, 03:26 PM
erm...

i just noticed that it says..

"line 5-expeting a mouse event statement"

are you sure this is exactly it?

this.onEnterFrame = function(){
if(Key.isDown(Key.SPACE)){
gotoAndStop("3");
};
}

*****edit****

i didn't read the other stuff so i'll try that first



****edit...again***

nvm..it works...

coffeee!!!!!
THNX ALOT!!!!!!!!!!

indogo
08-14-2006, 05:21 PM
lol....I never know the best way to say ..'bung it in yer main timeline'

ps.. this can be used in a movieclip as well

mike