To stop it from accelerating past a certain point, would you have to enter a if statement? For example (excuse my syntax ability) if.spinSpeed == 45; spinSpeed = spinSpeed - .1
Then repeat, so it continuously accelerates to a point then deaccelrates?
Your tutorials are so well put together. Thanks Adam. I don't know if you're a fan of the movie "Clerks", but when I listen to you, all I can picture is Randal.. berzerker!
Is it possible to have it spin at a random number between -5 and 5, then at say every 2 second it picks a new random number?
Even better would be if its possible to make the transition smooth. (But maybe then change the interval to 3 or 4 seconds, since transition takes a bit of time)
Hey man, great video. Got it to work but what i'm tryin to do is get it to spin one time, after it does a full rotation then i wanna bring in another image, etc, etc. How do I get it to stop spinning and time the 2nd item to come in at the end?
Hey dude good tutorial. However cant get to work in cs4 due to various errors created. How can I define the center of my object. Say I wanted to offset the center or rotate around and edge of my object using these methods?
but I have a question, mine is not fix in the center, its turning around,
and second I am using cs4 , but "motion tween" is not working in cs4, I have to right click one the object choose "set transformation Point" then rotate it by myself... but I think it is not correct,
You might have figured this out by now but you made a mistake at the addEventListener(Event.ENTER_FRAME, onEnterFrane); you made a period after enter_frame its supposed to be a comma. I hope this helped
Can't get it working at all *( it keeps saying there are actionscript errors, '{' expected on line 3 - well it is there in line 3 so whats it on about!!!!!!!!!!
yes that worcks, but not as smoothe as when deleteing the " +" or " - " in front of the " = " sign. I need to make a wheel go CCW and don't know how to do that with code. Can annyone please help ???!!!
hello! nice tutorial! how bout using the mouse to spin it...like spin a bottle...i hope you can share some code on this...thanks in advance!
7strokes 1 day ago
You wouldn't know how to make spin in a different way (It still spins, but the objects are still how they were) would you?
101nathansmith 1 week ago
I love this dude "Man mathematics is beautiful" Yes, yes it is my friend. I love how excited he gets about the object spinning :)
GamingJediPwns 2 months ago
To stop it from accelerating past a certain point, would you have to enter a if statement? For example (excuse my syntax ability) if.spinSpeed == 45; spinSpeed = spinSpeed - .1
Then repeat, so it continuously accelerates to a point then deaccelrates?
appzsk8 3 months ago
This has been flagged as spam show
how do you get it to accelerate to a certain speed and then maintain that speed?
JamesAMichals 4 months ago
This has been flagged as spam show
how do you get it to accelerate to a certain speed and then maintain that speed?
JamesAMichals 4 months ago
how do you get it to accelerate to a certain speed and then maintain that speed?
JamesAMichals 4 months ago
i am unable to use accelerate(not working) help me at rahul_roy_delhi@yahoo.co.in (same email on fb)
theriya 5 months ago
This has been flagged as spam show
phinditt. com/phindservices web design , web programming , flash programming
seo services , html , css , ajax , php , graphic design, logo design
delld600man 7 months ago
11:03 he has a orgasm
stickmasterluke 8 months ago
i wanna flip stuff...
how can i FLIP STUFF
Olellt 9 months ago
lol, I love from 10:45, when he is all like: That is hot xD you can see Chaos!!
shadowsneak3434 11 months ago
nice man, but one question? How can you make the actual acceleration stay at that speed for a longer amount of time?
brandonw2010mlg 1 year ago
dorky coder way ftw
shakin2009 1 year ago
Your tutorials are so well put together. Thanks Adam. I don't know if you're a fan of the movie "Clerks", but when I listen to you, all I can picture is Randal.. berzerker!
a0media 1 year ago
Gracias por el tutorial !!
jorge3536 1 year ago
thank you so much for this tutorial this helped me out a lot :-)
jasonjohnson001 1 year ago
I would like to make a spinning object accelerate and top out at a certain speed. I can't figure out what is the easiest way to do that.
castlemaninc 1 year ago
mine doesen't accelerate
dakon11 1 year ago
Comment removed
AaronTrutsJC 1 year ago
the running water sfx, chills the mind.
PlatinumBackGorilla 1 year ago 10
Please 3d spind tutorial
badmonkeyballplayer 1 year ago
Thanks!
I was wondering? Is there a way so that the background in flash (CS3) can be transparent?
iPattv 1 year ago
Very helpful video. When he said "Aw, that's hot!", I was in complete agreement!
davegibbon 2 years ago
i cant seem to get it, im sorry
graffitilearner 2 years ago
dude how do i do that with a pic ive edited
billow86 2 years ago
Is it possible to have it spin at a random number between -5 and 5, then at say every 2 second it picks a new random number?
Even better would be if its possible to make the transition smooth. (But maybe then change the interval to 3 or 4 seconds, since transition takes a bit of time)
Endoli 2 years ago
Hey man, great video. Got it to work but what i'm tryin to do is get it to spin one time, after it does a full rotation then i wanna bring in another image, etc, etc. How do I get it to stop spinning and time the 2nd item to come in at the end?
vinnie702 2 years ago
Hey dude good tutorial. However cant get to work in cs4 due to various errors created. How can I define the center of my object. Say I wanted to offset the center or rotate around and edge of my object using these methods?
Davor4000 2 years ago
Hello,
Thank so much for very useful tutorial ,
but I have a question, mine is not fix in the center, its turning around,
and second I am using cs4 , but "motion tween" is not working in cs4, I have to right click one the object choose "set transformation Point" then rotate it by myself... but I think it is not correct,
Is it possible to help me?
and have u got another tutorials?
nazy2948 2 years ago
we have the function "create classic tween". That is the motion tween in cs4!
Philon123456789 2 years ago
var spinSpeed:Number=.5;
function onEnterFrame(event:Event):void{
myMovieClip.rotation+=spinSpeed;
//Gain Speed over time
spinSpeed=spinSpeed= +1;
}
addEventListener(Event.ENTER_FRAME. onEnterFrame);
mine will not work....what have i done wrong?
titwankforadook 2 years ago
spinSpeed=spinSpeed= +1;
need:
spinSpeed=spinSpeed +1;
or
spinSpeed++;
Sxquer 2 years ago
You might have figured this out by now but you made a mistake at the addEventListener(Event.ENTER_FRAME, onEnterFrane); you made a period after enter_frame its supposed to be a comma. I hope this helped
xXKillerxXxJasXx 2 years ago 7
nice one! thanks
skillandflava 1 year ago
this is the correct:
var spinSpeed:Number=.5;
function onEnterFrame(event:Event):void {
myMovieClip.rotation+= spinSpeed;
//Gain Speed over time
spinSpeed += 0.1;
}
addEventListener(Event.ENTER_FRAME. onEnterFrame);
Philon123456789 2 years ago
Can't get it working at all *( it keeps saying there are actionscript errors, '{' expected on line 3 - well it is there in line 3 so whats it on about!!!!!!!!!!
alexjamesdf 2 years ago
How do you change the rotation of counterclockwise?
Ninjahaze99 2 years ago
add -= spinspeed instead of += spinspeed
HEYLON96 2 years ago
yes that worcks, but not as smoothe as when deleteing the " +" or " - " in front of the " = " sign. I need to make a wheel go CCW and don't know how to do that with code. Can annyone please help ???!!!
ReaperGunslinger112 2 years ago
Make the number value in spinSpeed a negative value up top.
flashbuilding 2 years ago
thanks for the tutorial
larryexplodeterra 2 years ago
No problem... thanks for the feedback here...
flashbuilding 2 years ago
Great man, thanks really got allot from this.
anim4525 2 years ago
No sweat, glad you like... and thanks for the feedback!
flashbuilding 2 years ago