Sounds like a bug to me.  I’ve forwarded it on.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tobias Patton
Sent: Thursday, March 30, 2006 4:05 PM
To: [email protected]
Subject: [flexcoders] Flex 2b2: Localization question

 

Hello;

 

Does anyone know the contexts in which the “@Resource” directive can used in MXML?

 

This works:

 

<mx:Label text="@Resource( bundle='Galiano', key='DSHB_SearchLabel' )"/>

 

But this:

 

<mx:Object label="@Resource( bundle='Galiano', key='DSHB_PopupAll' )"/>

 

Generates a compiler error: “Access of possibly undefined property 'get' through a reference with static type 'mx.resource:ResourceBundle'”

 

Thanks.

Tobias.

 

Creo Inc., a subsidiary of Kodak

Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com

 




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




Reply via email to