View Full Version : AS instead of motion tweens
ScriptFlipper
January 1st, 2004, 02:04 PM
Ok... I'm just curious here...
in my homepage www.punktkom.com I've made "screens" that when you click on one it changes the y-coordinate of itself and the (in some cases) other screens. It's not good-looking at all, since there's no "flow" in the movement...
So, I thougt about making motion tweens for each "screen", but that would be a lot of motiontweens and a lot of frames used... :(
Therefore I wonder if there's any AS-code that could make them "float" ?
Or maybe a tutorial?
Voetsjoeba
January 1st, 2004, 02:59 PM
You mean like easing ?
ScriptFlipper
January 1st, 2004, 03:14 PM
Well... whats that... *looking in dictionary...*
Yeah...
I tried SOMETHING like this, but it will go on for eternity... :(
do {
this._y = 0.5*this._y;
} while (this._y>0);
Maizoon
January 1st, 2004, 03:25 PM
Try doing a search for "easing" or "scripted movement" heres a few threads to get you started:
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=43175
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=42264
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=41604
ScriptFlipper
January 1st, 2004, 03:35 PM
OK, thanks... Didn't know what it was called in english...
Laslett
January 1st, 2004, 05:14 PM
Just to clear a point the whole shift from tweening to AS movement is because of what? Is it actually easier to motion without a timeline. Will this eventually result in a none timeline version of Flash? where tweening is out and all motion has to be done with AS?
ScriptFlipper
January 1st, 2004, 06:18 PM
Interesting! But that's only true if you are doing advanced tweens, right ? :q:
I mean, how hard is it to create a motion tween, a second keyframe and change the position of the object there? Not hard at all.
But if one is going to do a series of tweens with the same object, it seems a lot easier the AS way! (plus the final swf gets smaller too...)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.