There definitely isn't a must-have use-case, but it could provide for 
some convenient syntax. In particular, I was hoping to create a 
"ContentMap" class that would store localized string values in static 
class properties.  The following syntax would be really nice to use:

<mx:Label text="{ ContentMap.LOGIN_LABEL }" />

Instead, I need to do something like the following ...

<mx:Label text="{ ContentMap.getInstance().getString( 
ContentMap.LOGIN_LABEL ); }" />

Like I said, its not too big of a deal, but it would be nice.




Abdul Qabiz wrote:
>
> Why would want to do that?
>
> Can you give the use-case?
>
> -abdul
>
> On 9/8/06, *Daniel Wabyick* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     Does anyone know if its possible to bind to static properties of a
>     class? I can't seem to get this to work.
>
>
>  



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to