Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Variables and text fields.
From: Nathan Dicken
Date: Wed, 15 Mar 2000 21:23:15 GMT

Scott,

Just curious... do you really want to display the variable in a
size-specific text field or do you want to rely on scrollbars and show/hide
the scrollbars as needed? There really isn't a way to resize a text field
dynamically. If you want to work with the way that you presented, you
could have your sized text fields in consecutive frames in a mc. When you
need to display the variable in a text field, measure the scroll/maxscroll
based on your default (small) text field and then send it to an appropriate
frame where it can be displayed. Hope that helps.

Nathan Dicken
Fusionary Media



>Okay here's my problem....
>
>I have a flash movie that uses variables extensively. One text area using a
>variable sometimes contains text that is a lot of characters and sometimes
>only a few. I have created a scrollbar that works with this text box to help
>when it is a long string of text. Now....when it is only a short text
>message I don't want(or need) the scrollbar. I know that you can
>Getproperty() from a MC and SetProperty() of a MC but can you do these for a
>text field? I have the text field inside a movie clip already but I have to
>have a big text field in case there is a lot of text. Can I bring in the
>variable, see how big it is, and adjust the hieght of the text field
>dynamically? Any help would be appreciated.
>
>Scott Jeppesen
>Programmer
>University Access
>6255 Sunset Boulevard, Suite 801
>Los Angeles, CA 90028
>(323)460-2149
>http://www.universityaccess.com
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The World�s Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
>-Register before Feb 25 and save $200!!-- www.flashforward2000.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Variables and text fields., Scott Jeppesen

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]