This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > September 2005 > How to do this sliding action ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to do this sliding action ?
third man

2005-09-16, 4:31 am

Hi
I have been asked to do a site for a local artist, she has around 40 paintings
she wants to show.
anyone know any decent sites that do this ?

while looking around, i found this
http://www.chereskin.com which i liked for its use of the sliding movie. how
is this effect achieved in Flash ??
much obliged.
-tm

jcavardfromneta

2005-09-16, 7:37 pm

tweening...

look at
http://www.actionscript.org/tutoria...es_Documented/i
ndex.shtml it has a fully documented tutorial!!

basically, you do so:

function tweenText() {
easeType = mx.transitions.easing.Bounce.easeOut;
var begin = 20;
var end = 380;
var time = .5;
var mc = ball_mc;
textTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end,
time, true);
}

so in your case, you would apply this effect to the _y property of your text.

the different type of tweening:

Strong
Back
Elastic
Regular
Bounce
None

and the 4 types of easing are:

easeIn
easeOut
easeInOut
easeNone



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews