[mtasc] TextField.autoSize property type issue
Edu Prats
edu at jocabola.com
Mon Feb 28 20:17:32 CET 2005
Use TextField.autoSize = "left" or "top" instead.
I guess, Boolean is not supported by mtasc.. Nicolas? (true is the same
as "left" as far as i know. If you use "top" will work better with
multiline fields).
Edu
On Feb 28, 2005, at 18:24 Uhr, Rostislav Siryk wrote:
>
>
> Hi,
>
> Thank You a lot for MTASC! In my code I use "txtText.autoSize = true;"
> construction. MTASC tells me: "type error Boolean should be String"
>
> Well, but in documentation Macromedia tells that we can use both
> String and Boolean Types :
>
> TextField.autoSize
> ..
>
> Usage
> my_txt.autoSize:String
> my_txt.autoSize:Boolean
>
>
> [And then:]
>
> "The compiler error when using a Boolean value for autoSize was fixed
> in the 7.2 Updater. "
>
> (http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/
> common/html/wwhelp.htm?context=Flash_MX_2004&file=00001769.html)
>
> What kind of MTASC behavior wit "autoSize issue" will be implemented
> in future? Or it will remain the same?
>
> ------
> Rostislav Siryk,
> Senior Graphic Designer,
> Validio Software, Ukraine
> rost at validio.com.ua
>
> --
> MTASC : no more coffee break while compiling
>
More information about the mtasc
mailing list