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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to