Hi,
I would like to use the List component with different type
of data in
its dataProvider and adapt each itemRenderer depending on the
type of
the data item :
var dp: Array = [new A(), new
B()]
...
<mx:List dataProvider="{dp}" ... />
How can I
use a "AItemRenderer" to handle A data type elements and
"BItemRenderer" to
handle B data type elements ?
Thanks,
--
David
Rousselie
********************************
Ce message
et toutes les pieces jointes (ci-apres le "message") sont confidentiels et
etablis a l'intention exclusive de
ses destinataires.
Toute utilisation
ou diffusion non autorisee est interdite.
Tout message electronique est
susceptible d'alteration. Le Groupe France Telecom decline toute
responsabilite au titre de
ce message s'il a ete altere, deforme ou
falsifie.
Si vous n'etes pas destinataire de ce message, merci de le
detruire immediatement et d'avertir
l'expediteur.
*********************************
This
message and any attachments (the "message") are confidential and intended
solely for the addressees. Any unauthorised
use or dissemination is
prohibited.
Messages are susceptible to alteration. France Telecom Group
shall not be liable for the message if altered, changed or
falsified.
If
you are not the intended addressee of this message, please cancel it
immediately and inform the
sender.
********************************