Hi Daniel,

Sorry to stick my nose in here, but your last example looks exactly 
like Cairngorm's ModelLocator usage.  It's a good place to store 
application constants.  You might want to check it out to get an 
idea how a similar usage might work for you.

-TH

--- In [email protected], Daniel Wabyick <[EMAIL PROTECTED]> wrote:
>
> 
> 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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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