HOME | DD

raven8t8 — Dynamic Animation

Published: 2006-05-23 13:12:45 +0000 UTC; Views: 1813; Favourites: 21; Downloads: 574
Redirect to original
Description A tech demo for part of a website I'm considering making. Turned out alright, but the size might be an issue.

I'm not going to give out the .fla for this, but the explanation should be enough for anyone who knows flash and wants to create the same effect ^^

comments and favs are my friends

~Hadyn
Related content
Comments: 26

f4bian [2009-03-05 08:21:16 +0000 UTC]

wow,,
this is cool dude..

👍: 0 ⏩: 0

Averagejohn [2008-04-26 03:26:05 +0000 UTC]

that would be ab awesome avatar, if it controlled the same

👍: 0 ⏩: 0

kok-gini [2008-02-26 11:16:32 +0000 UTC]

z positioning nice motion effect

👍: 0 ⏩: 0

iloveDooM [2008-02-13 18:58:45 +0000 UTC]

amazing effect
can you make different shapes?
something as a 3d object?
not a symbol in 3d.

👍: 0 ⏩: 1

raven8t8 In reply to iloveDooM [2008-02-14 01:03:02 +0000 UTC]

yeah, it could be anything

👍: 0 ⏩: 1

iloveDooM In reply to raven8t8 [2008-02-14 17:45:58 +0000 UTC]

lol

👍: 0 ⏩: 0

damn91 [2008-02-08 06:34:23 +0000 UTC]

Wow, the blur efect is amazing!

👍: 0 ⏩: 1

raven8t8 In reply to damn91 [2008-02-08 16:51:07 +0000 UTC]

Cheers man, and thanks for all the nice comments lately! I'm glad you like my work

👍: 0 ⏩: 0

jonthedoors [2006-07-17 17:38:04 +0000 UTC]

That's pretty cool. I like the whole thing alot, good job!

👍: 0 ⏩: 0

laurence [2006-05-26 20:42:01 +0000 UTC]

very clever scritping, especialy the motion blur, how many fps are u running at?
i dont spose u could gimme an example of the scripting to make a movie skip frames depending on the cursor distance?

👍: 0 ⏩: 1

raven8t8 In reply to laurence [2006-05-27 05:01:28 +0000 UTC]

Only 'cause I'm nice...

This is all on a frame script, in a function that runs at an interval of "30". I'm not certain if that means every 30th of a second, or every 30 milliseconds or whatever, but it's fast - essentially constant.

setInterval(pressing, 30);

function pressing(){
pressamount = 400 - mousepos; /// finds the distance of the mouse from the center of the screen. In this case the clip was originally 800px wide, so 400 is the centre
destination = testclip._currentframe+Math.round(pressamount/cushion); // without the cushion it would spin too fast
testclip.gotoAndStop(destination);
}

Those are the three lines that essentially make it work. There's much more code: The stuff that tests if it's at the ends and tells it to loops back to the start, the stuff for the motion blur, etc. But that's the starting point you're after

Oh, and it's running at 30 fps, though that's completely independant to the code. It could be any framerate and the code would work the same.

~Hadyn

👍: 0 ⏩: 1

laurence In reply to raven8t8 [2006-05-28 12:39:39 +0000 UTC]

thanks muchley matey

👍: 0 ⏩: 0

x-L [2006-05-26 20:32:51 +0000 UTC]

action script huh?
i only know the basics,
but pretty good work there!

👍: 0 ⏩: 0

mladen [2006-05-25 04:45:01 +0000 UTC]

really great use of flash, I even liked the loading animation.

👍: 0 ⏩: 0

lonewolf304 [2006-05-24 01:36:58 +0000 UTC]

fantabulous, hadyn.
way too big file size but its worth it.

👍: 0 ⏩: 0

Kjherstin [2006-05-23 23:21:21 +0000 UTC]

COOOOL I am impressed! I like the way we can interact with the element on your bar.

👍: 0 ⏩: 0

reincarnationOFfoxes [2006-05-23 22:59:39 +0000 UTC]

BTW, love the loading bar. Havent seen anything like it before.

👍: 0 ⏩: 0

reincarnationOFfoxes [2006-05-23 22:59:10 +0000 UTC]

You've always caused me to laugh like a 'tard really easily. This is one of those cases. XD I dunno why, the snowflake is just.. fun!!

👍: 0 ⏩: 0

Karma021 [2006-05-23 21:59:17 +0000 UTC]

Looks great!!
nice work

👍: 0 ⏩: 0

Stanmason [2006-05-23 14:23:14 +0000 UTC]

Thats really cool, i was just playing with it for like, five minutes.

👍: 0 ⏩: 0

sweetkrissy [2006-05-23 14:08:22 +0000 UTC]

aweome work you got there!!

👍: 0 ⏩: 0

Detkef [2006-05-23 13:56:16 +0000 UTC]

hey! that's cool!!

👍: 0 ⏩: 0

Charlie-Bowater [2006-05-23 13:31:46 +0000 UTC]

Brilliant work !!! You must be one dab hand in flash to do this !!! Its great.

👍: 0 ⏩: 0

pabh [2006-05-23 13:30:55 +0000 UTC]

really good job, very nice effect

👍: 0 ⏩: 0

Jon-Wood [2006-05-23 13:24:59 +0000 UTC]

I was wondering how you acheieved the motion blue. Nice work.

👍: 0 ⏩: 0

Sam-Judge [2006-05-23 13:15:02 +0000 UTC]

This is wicked, well done

👍: 0 ⏩: 0