Star wars title

ok so im trying to do something very similar to the star wars title, where the words ‘star wars’ slowly comes in and scales down, i created an image in PS that says star wars and placed it into flash, everything works fine except as the image gets smaller, it scales down much faster and look really cheesy, any ideas, thanks

ActionScript Code:
[LEFT]addEventListenerCOLOR=#000000[/COLOR];</p>
<p>var lastTime:[COLOR=#0000ff]Number[/COLOR] = [COLOR=#0000ff]getTimer[/COLOR]COLOR=#000000[/COLOR];</p>
<p>var timeDiff:[COLOR=#0000ff]Number[/COLOR];</p>
<p>bigText_mc.[COLOR=#000080]scaleX[/COLOR] = bigText_mc.[COLOR=#000080]scaleY[/COLOR] = [COLOR=#000080]7[/COLOR];</p>
<p>function shrinkCOLOR=#000000[/COLOR][COLOR=#000000]{[/COLOR]</p>
<p> timeDiff = [COLOR=#0000ff]getTimer[/COLOR]COLOR=#000000[/COLOR] - lastTime;</p>
<p> lastTime+=timeDiff;</p>
<p> </p>
<p> bigText_mc.[COLOR=#000080]scaleX[/COLOR] = bigText_mc.[COLOR=#000080]scaleY[/COLOR] -= [COLOR=#000000]([/COLOR].[COLOR=#000080]5[/COLOR] * timeDiff/[COLOR=#000080]1000[/COLOR][COLOR=#000000])[/COLOR];</p>
<p> [COLOR=#0000ff]if[/COLOR][COLOR=#000000]([/COLOR]bigText_mc.[COLOR=#000080]scaleX[/COLOR] <= .[COLOR=#000080]9[/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000]{[/COLOR]</p>
<p> bigText_mc.[COLOR=#000080]alpha[/COLOR]-=.[COLOR=#000080]01[/COLOR];</p>
<p> [COLOR=#000000]}[/COLOR]</p>
<p> </p>
<p> [COLOR=#000000]}[/COLOR]
[/LEFT]

ActionScript Code:
[LEFT]addEventListenerCOLOR=#000000[/COLOR];
[COLOR=#000000]var[/COLOR] lastTime:[COLOR=#0000FF]Number[/COLOR] = [COLOR=#0000FF]getTimer[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]var[/COLOR] timeDiff:[COLOR=#0000FF]Number[/COLOR];
bigText_mc.[COLOR=#000080]scaleX[/COLOR] = bigText_mc.[COLOR=#000080]scaleY[/COLOR] = [COLOR=#000080]7[/COLOR];

[COLOR=#000000]function[/COLOR] shrinkCOLOR=#000000[/COLOR][COLOR=#000000]{[/COLOR]
timeDiff = [COLOR=#0000FF]getTimer[/COLOR]COLOR=#000000[/COLOR] - lastTime;
lastTime+=timeDiff;

bigText_mc.[COLOR=#000080]scaleX[/COLOR] = bigText_mc.[COLOR=#000080]scaleY[/COLOR] -= .[COLOR=#000080]008[/COLOR];
[COLOR=#0000FF]if[/COLOR][COLOR=#000000]([/COLOR]bigText_mc.[COLOR=#000080]scaleX[/COLOR] &lt;= .[COLOR=#000080]9[/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000]{[/COLOR]
    bigText_mc.[COLOR=#000080]alpha[/COLOR]-=.[COLOR=#000080]01[/COLOR];
    [COLOR=#000000]}[/COLOR]

[COLOR=#000000]}[/COLOR]

[/LEFT]

you could use a tween engine like Tweenlite to control the scalling.

If you’ve never used a tween engine before I really suggest you to start right now! :slight_smile:

You could also turn on smoothing on the bitmap so that the scalling doesn’t look alliased

bmp.smoothing = true;

tween engine huh, I 'll look into tweenlite, any good sites to visit

test this.
http://dnadillo.dn.ua/mur_gallery/ac3FLA/star_war.swf
http://dnadillo.dn.ua/mur_gallery/ac3FLA/star_war.rar

thanks i will take a look