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]