Macromedia Flash Server - Text field component

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > April 2005 > Text field component





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Text field component
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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com