Re: [flexcoders] List Bitmap
On Tuesday 07 November 2006 08:33, kribot wrote: Ex : When I add an object of type String in my list I want the Bitmap 001.gif to be added in the same row, if I add an int I want the Bitmap 002.gif etc. I assume you are overriding the setItem(foo):void method or similar ? In which case all your need is to check typeof(foo) and add the correct thing. -- Tom Chiverton Helping to appropriately integrate innovative customers 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 St James's Court Brown Street Manchester M2 2JF. 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 Law Society. 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 8008. 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] List Bitmap
On 11/7/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 07 November 2006 08:33, kribot wrote: Ex : When I add an object of type String in my list I want the Bitmap 001.gif to be added in the same row, if I add an int I want the Bitmap 002.gif etc. I assume you are overriding the setItem(foo):void method or similar ? In which case all your need is to check typeof(foo) and add the correct thing. No, for the moment I just use the dataProvider property and give it an Array of string or int. I don't get it, how you could add a bitmap a string in the same row.. Thx for the help :) -- krib -- 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] List Bitmap
On 11/7/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 07 November 2006 15:20, kribot wrote: No, for the moment I just use the dataProvider property and give it an Array of string or int. I don't get it, how you could add a bitmap a string in the same row.. You said I create a class which extends List. In this new class, you'd replace the storage internals with something that can store any type of thing. Now you're talking about using the dataProvider of something - a DataGrid or something ? You might want to look at a custom itemRenderer. Yep, I said i create a new class in which I want to had a function to add an image in a specific row but I don't see how :) So for the time being, i used the dataprovider thing to fill my List but now i'll try to see what I could do with the setItem and itemRenderer. Thx for your help ! -- krib -- 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/