We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

flash 8 labels font size

Medium Priority
452 Views
Last Modified: 2013-11-11
why does the following not work, where d is a label

var myTextFormat:TextFormat = new TextFormat();
myTextFormat.size = 228;

d.setStyle("textFormat", myTextFormat); 		
Comment
Watch Question

Flash8 is almost out of memory. :) Can you pls share your fla?

Warm Regards
Deepanjan Das

Author

Commented:
its really nothing more than a label called d with some text

Commented:
128 is the max size for the textField size when you are sizing it with ActionScript...  Your only option is to scale it 200% to get to what's similar to 256 size text...

CyanBlue

Author

Commented:
this still does not work if i use the text size value as 128

Author

Commented:
i am using the text tool not a component

Author

Commented:
i have seen this work by destroying the text and recreating it after the size has changed but that is not an option here

Commented:
Can you upload a simple sample FLA file(not the whole project) that shows the problem???

CyanBlue
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
u ledge, that worked great. I did actually have a label but i just took the type casting off and flash figured it out
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.