all groups > flash (macromedia) > october 2004 >
You're in the

flash (macromedia)

group:

Stop static text stretching


Stop static text stretching ImageGroup
10/19/2004 11:46:41 PM
flash (macromedia):
Hi there

I have a symbol that contains a coloured rectangle and a line of text. This
symbol needs to stretch its width depending on the width of the stage. This I
have accomplished. Problem is it also stretches the text within the symbol. Is
there a way to stop this?

The test needs to be in the symbol as its a button and they both change
appearance when rolled over.

Any tips/tricks would be muchly appreciated.

Regards,
Ben

P.S. The current swf file is viewable here...

http://www.offtherock.com/stretch menu.swf
Re: Stop static text stretching urami_
10/20/2004 8:11:09 AM


[quoted text, click to view]

Well , you could make the text a movie clip and while setting size for the rectangle set
size for the text clip as well :

mc._xscale=200;
mc.textMC._xscale=100;

Or you could make it dynamic and not include font outlines, dynamic field won't scale.

--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
AddThis Social Bookmark Button