HOME | DD

Silverfox5213 — Flash AS YOYO thing

Published: 2007-03-04 12:42:49 +0000 UTC; Views: 4298; Favourites: 25; Downloads: 129
Redirect to original
Description Just an actionscript driven animation using the IK thing, spent the whole day figuring out the script *_*' cos im dumb~ anyway, enjoy the yoyo motion while its hot lol
Related content
Comments: 22

UchihaItachi121 [2009-03-08 22:47:57 +0000 UTC]

Lmao
That's awesome bro, Nice onee

👍: 0 ⏩: 0

SorenSoto [2008-03-30 19:27:43 +0000 UTC]

lol i could watch this for hours

👍: 0 ⏩: 0

inferno-box21 [2007-08-07 11:25:21 +0000 UTC]

holy shit O_o i love this thing. how did u learn to do it?

👍: 0 ⏩: 0

whopper1989 [2007-03-05 10:04:36 +0000 UTC]

thats awesome, i could never do that with actionscript

👍: 0 ⏩: 0

TigieBaby [2007-03-05 01:54:18 +0000 UTC]

Wow, lol it would have taken me a whole month to work that out >.<

👍: 0 ⏩: 1

Silverfox5213 In reply to TigieBaby [2007-03-06 12:35:00 +0000 UTC]

Nah, tigers have bigger brains so, it wont take you a month lol~

👍: 0 ⏩: 1

TigieBaby In reply to Silverfox5213 [2007-03-06 19:54:03 +0000 UTC]

hehe ^_^

👍: 0 ⏩: 0

ThePhantomDragon [2007-03-04 23:17:47 +0000 UTC]

its soo.... addicting!

👍: 0 ⏩: 0

fatdrake [2007-03-04 17:16:57 +0000 UTC]

omg hot!! D:

👍: 0 ⏩: 0

FenrisDesigns [2007-03-04 16:52:57 +0000 UTC]

Is that onion skinning you're using? I know the very basics in Flash, but not much more.

👍: 0 ⏩: 1

Silverfox5213 In reply to FenrisDesigns [2007-03-04 16:55:01 +0000 UTC]

lol no no, its duplicatemovieclip & _alpha--onenterframe ^^' onion skinning is for animation btw

👍: 0 ⏩: 1

FenrisDesigns In reply to Silverfox5213 [2007-03-04 16:57:29 +0000 UTC]

Ah. That helps...kinda.

👍: 0 ⏩: 1

Silverfox5213 In reply to FenrisDesigns [2007-03-04 17:05:53 +0000 UTC]

👍: 0 ⏩: 0

c0nker [2007-03-04 15:54:01 +0000 UTC]

I am curious of the sript as well, it's very frikkin nifty! how does this work? IK is awesomeness

👍: 0 ⏩: 1

Silverfox5213 In reply to c0nker [2007-03-04 16:25:52 +0000 UTC]

Thanks for the comment, its actually quite easy to understand, the first join follows the second one and the second join follows the ball + some drawing api

👍: 0 ⏩: 0

EosFoxx [2007-03-04 15:24:25 +0000 UTC]

hey you
i do stuff in flash too
would you mind posting the scrpt?
i am very curious how you did his

👍: 0 ⏩: 1

Silverfox5213 In reply to EosFoxx [2007-03-04 16:24:00 +0000 UTC]

Heya, its actually quite similiar with the tree making script ( for the IK) and for the ball, its just a norman sin cos driven animation.

👍: 0 ⏩: 1

EosFoxx In reply to Silverfox5213 [2007-03-04 22:47:14 +0000 UTC]

IK ?
we didn't had this at shool
i would like to leran form your script

👍: 0 ⏩: 1

Silverfox5213 In reply to EosFoxx [2007-03-05 11:36:14 +0000 UTC]

Heres the code, sorry for the messyness *_*
ball.onenterframe = function ()
{
qq++;
abc = this.duplicateMovieClip("a", qq);
this._x = ball._x;
this._y = ball._y;
abc.onenterframe = function ()
{
this._alpha = this._alpha - 10;
if (this._alpha < 10)
{
this.removemovieclip();
} // end if
};
x = x + 0.100000;
y = y + 0.100000;
this._x = 300 + math.cos(x) * 100;
this._y = 400 + math.sin(y) * 200;
};
onenterframe = function ()
{
createEmptyMovieClip("blank", 0);
blank.lineStyle(1, 0, 50);
blank.moveTo(p, q);
blank.lineTo(ball._x, ball._y);
updateafterevent();
a = ball._x - join2._x;
b = ball._y - join2._y;
c = math.atan2(b, a);
join2._rotation = c * 180 / 3.142000;
d = ball._x - math.cos(c) * 91;
e = ball._y - math.sin(c) * 91;
f = d - join1._x;
g = e - join1._y;
h = math.atan2(g, f);
join1._rotation = h * 180 / 3.142000;
join2._x = join1._x + math.cos(h) * 91;
join2._y = join1._y + math.sin(h) * 91;
p = join2._x + math.cos(c) * 91;
q = join2._y + math.sin(c) * 91;
updateafterevent();
};ball.onenterframe = function ()
{
qq++;
abc = this.duplicateMovieClip("a", qq);
this._x = ball._x;
this._y = ball._y;
abc.onenterframe = function ()
{
this._alpha = this._alpha - 10;
if (this._alpha < 10)
{
this.removemovieclip();
} // end if
};
x = x + 0.100000;
y = y + 0.100000;
this._x = 300 + math.cos(x) * 100;
this._y = 400 + math.sin(y) * 200;
};
onenterframe = function ()
{
createEmptyMovieClip("blank", 0);
blank.lineStyle(1, 0, 50);
blank.moveTo(p, q);
blank.lineTo(ball._x, ball._y);
updateafterevent();
a = ball._x - join2._x;
b = ball._y - join2._y;
c = math.atan2(b, a);
join2._rotation = c * 180 / 3.142000;
d = ball._x - math.cos(c) * 91;
e = ball._y - math.sin(c) * 91;
f = d - join1._x;
g = e - join1._y;
h = math.atan2(g, f);
join1._rotation = h * 180 / 3.142000;
join2._x = join1._x + math.cos(h) * 91;
join2._y = join1._y + math.sin(h) * 91;
p = join2._x + math.cos(c) * 91;
q = join2._y + math.sin(c) * 91;
updateafterevent();
};

👍: 0 ⏩: 1

Silverfox5213 In reply to Silverfox5213 [2007-03-05 11:38:14 +0000 UTC]

shit, i paste the damn script twice *_*' hope you notice that~

👍: 0 ⏩: 1

EosFoxx In reply to Silverfox5213 [2007-03-05 22:18:37 +0000 UTC]

thank you ))
i will try this out

👍: 0 ⏩: 0

samlow [2007-03-04 13:43:02 +0000 UTC]

This thing needed actionscript?? Eh.. Which part of it?? *is clueless at actionscripts* I only know the stop and "on click goto" scripting.. XD

I really like the fading slow-motion effects..

👍: 0 ⏩: 0