Im curently working on a technical type menu en i need to rotate a graphics (coin flip style) is there anyone that knows how to do this in a easy way
Howdy…
Cheesey and easy way of rotating a circle vertically…
Draw a circle and make it a movieclip…
Name its instance on the stage to ‘Coin’…
Add this script and run it…
_level0.speed = 10;
_level0.onEnterFrame = function ()
{
if (_level0.Coin._xscale <= 100)
{
_level0.Coin._xscale -= _level0.speed;
}
if (_level0.Coin._xscale < -100)
{
_level0.Coin._xscale = 100 - _level0.speed;
}
}
i’ll try it… i made an little scrip myself, but thatone rotates en after 1 rotation it goes a few pixels to the right… so i get en long thick line that looks like a cion
i’ll try it thx…
Hmm… it works but this is not what im looking for
i need something that looks more 360
speed = 10;
r2d = function () {
this._xscale>=100 ? this.d=true : this._xscale<=-100 ? this.d=false : null;
this.d ? this._xscale -= speed : this._xscale += speed;
}
coin.onEnterFrame = r2d;
something like that?
you hit the nail right on its head
thx…
this is something i need
anytime =)
I wanna see it working!
Can someone post it working?
- Soul :s:
i assume you don’t have flash installed so i’m attaching the swf as well
I can’t view either fo those files
lol
- Soul :s:
… ??
hmm it looks much kewler in a cimatric image then A cimatric …
the search goes on
Thank you :beam:
hmm it looks much kewler in a cimatric image then A cimatric
…
… what?
Thank you :beam:
ok … you saw it now i’ll remove the files
with a image that have 2 sides the same it look keler then with a non 2 sides the same imags
oh … now i get it :-\
all i can say is play around with the speed value and/or fps … honestly i doubt it’s going to make much difference though
No problem man i’ll fiddel around a little
ok then … sorry i couldn’t help more though :-\
np in a way you did help me
guess i did =) good luck with that