This content has been marked as final. Show 3 replies
For this you need to adjust the Font size and have to compare it with Stage Size. So better to scale your Text with aspect ratio to fit in to Screen size.
I'm sorry, you are being very vague. Could you be more descriptive of what you mean for me to accomplish?
You Need to write a Recursive Code to increase the font size and to compare it with the Size you are expecting.
i.e, After incresing the font size you need to check the Size, Then again you need to increase the size and have to check it. Like wise untill you reached the Exact Font size.
In another way Just put your Text inside a MovieClip and Scale that Clip to fit. For example. If the width is greater than height Scale the width to fit on to stage, then Get the Scale percentage of (_xscale) and apply the same scale value to Height (_yscale). You have to improve the logic to fit for all the Sizes