Re: [flexcoders] The limit of [ResourceBundle] and @Embed
On Wednesday 30 Jan 2008, luke_lee1124 wrote: It seems like we cannot use too many [resoucebundle] and @Embed in one file Do you have a simple test case, with one MXML file, two bundles and one @Embed'ed image ? -- Tom Chiverton Helping to enthusiastically deliver open-source designs on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.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 * 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/
RE: [flexcoders] The limit of [ResourceBundle] and @Embed
Are you seeing this problem in Flex 2 or Flex 3? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of luke_lee1124 Sent: Tuesday, January 29, 2008 5:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] The limit of [ResourceBundle] and @Embed Hi, All, I asked this question before but now, i can explain it more clearly. I am using [ResourceBundle] as following: [Bindable] public var rb:ResourceBundle; [ResourceBundle(EmbeddedClassesBundle)] //english version public var rb1:ResourceBundle; [ResourceBundle(EmbeddedClassesBundle_sp)] //spanish version public var rb2:ResourceBundle; [ResourceBundle(EmbeddedClassesBundle_ge)] //german version public var rb3:ResourceBundle; and i also have two image controls in main application: mx:Image id=image2 source = @Embed(source='assets/btn_sales.png') / mx:Image id=image3 source = @Embed(source='assets/btn_training.png') / it works, but my problem is when i adding one more resourcebundle, such as [ResourceBundle(EmbeddedClassesBundle_cn)] //chinese version public var rb4:ResourceBundle; the image2 or image3 will not display, but if image2 and image3 are not using embeded assets, they can display without problem. what is more instersting, when i add rb5 for japanese version, neither image2 or image3 will display. It seems like we cannot use too many [resoucebundle] and @Embed in one file Thanks