[thelist] Dynamic Text Fields+Scrollbars

Steve Webster steve at netbreed.co.uk
Fri Sep 27 15:45:01 CDT 2002


You need to set the text using the 'text' property of the textField object,
rather than using a variable name as per Flash 5. Give your textfield an
instance name (such as myTextField in the example) and use code like this to
set the text...

myTextField.text = "Whatever";

If that doesn't work, make sure the scrollbar is properly targetted at the
textfield. If you change the instance name of the textfield *after*
attaching the scrollbar then you'll need to update the scrollbar component's
properties accordingly!

HTH

Regards,

Steve

================================
 Steve Webster
 Freelance Web Developer
 steve at codejunkie.co.uk

 PHP, MySQL, Flash, Perl + more
 http://www.codejunkie.co.uk
================================

----- Original Message -----
From: "Mark Joslyn" <Mark.Joslyn at SolimarSystems.com>
To: <thelist at lists.evolt.org>
Sent: Friday, September 27, 2002 9:37 PM
Subject: [thelist] Dynamic Text Fields+Scrollbars


> I am using the Flash MX UI Component Scroll bars for my dynamic text boxes
> that are populated with variables from extrnal text (.TXT) files. The
> information is being imported with no apparent problems. However, the
scroll
> bar does not activate when the text is longer than the text box.
>
> It is almost like Flash cannot detect how long the text is that I am
> importing. Is there a way to get this to work using the UI Components?
>
> Any help would be appreciated.
>
> Thanks,
>
> markJ
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
>





More information about the thelist mailing list