12:07 PM
Please respond to
Flashcoders mailing list
To
Flashcoders mailing list
cc
Subject
Re: [Flashcoders] Passing TextField Instance Name to Function
Here's another...
Using your movieclip path I have this working...
function setTextColor(formatName, fieldClip, col, ali
Here's another...
Using your movieclip path I have this working...
function setTextColor(formatName, fieldClip, col, align) {
formatName = new TextFormat();
formatName.color = col;
formatName.align = align;
fieldClip.setTextFormat(formatName);
}
leftInfoClip.topLeftT
I just created three textfields on the stage and named them
fieldClip, fieldClip1 and fieldClip2.
The following rewritten code of yours worked fine. Is this what you
were trying to accomplish?
Gerry
function setTextColor(formatName, fieldClip, col, align) {
formatName = new TextForm
Hello all. This is probably very simple. I'm trying to pass the instance
name of a textfield to a "setTextColor" function which applies a
TextFormat. The function takes 4 parameters, the new format name, the
textfield instance name, the textfield color, and the textfield alignment.
Everythi
4 matches
Mail list logo