Tuesday, January 23, 2007

Better functions

#include "mc_tween2.as"

//
function colorBall(theMc,alphaTo,AlphaTime):Void {
theMc.alphaTo(alphaTo,AlphaTime)
}

//
colorBall(one_mc,50,3)
colorBall(two_mc,0,5)
colorBall(three_mc,2,50)

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home