| Simon Lord 2005-04-07, 5:49 pm |
| I've asked the following in 3 different ways on coders with no reply. :P
I'm reviewing the text editor sample fla which shipped with MX Pro 2004
and while it works applying styles to a dynamic text field with "input"
mode setting, I can't for the life of me get it to work with the text
component (I need scrollbars). In the MM sample it does this:
var my_fmt:TextFormat = input_txt.getTextFormat(_global.beginIndex);
.... and I'm trying the following to little success (text field
component given the same name in a new project):
var my_fmt:TextFormat =
input_txt.text.getTextFormat(_global.beginIndex);
Suggestions? Am I going about this the wrong way?
Sincerely,
Simon
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|