Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Load movie

font color

6:57 pm on Jul 19, 2007 (gmt 0)

5+ Year Member

Is there a way to onLoad , set a text area's font and color? not just have set it, but have set the properties when the movie loads, or upon an event, or on release even.

Hope you can help =)


5:07 pm on Jul 20, 2007 (gmt 0)

5+ Year Member


"Whether in your onPress handler or LoadMovie, create a TextFormat
instance and assign it to the text field. Make sure you set all the
properties you want to set before setting the format. For example:

myButton.onPress=function() {
var myFormat=new TextFormat();

Just though I'd share in case someone else ran into this. Thank Patrick at Adobe forums :) .