myName

Vodpod videos no longer available.

import com.greensock.*;
import com.greensock.easing.*;

var txt:TextField = new TextField();
addChild(txt);
txt.embedFonts = true;
txt.defaultTextFormat = new TextFormat(“Arial”, 36);
txt.text = “why does this only work with Arial?”;
txt.autoSize = TextFieldAutoSize.LEFT;
txt.x = 100;
txt.y = -200;
TweenLite.to(txt, 2, {y:300, rotation:360});

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s