Oh sorry, it took me a while to find information on that method... Actually, if i add the icon child after the panel child, the icon should be already have a higher child number, right?? because i allways add them at the "laschild" position.
So the icon should already be on the last child position. now i don't know what does updateDisplayList or layoutChrome mean...i guess it just updates the displays list (obvious), but, as mi icon was, since created, the last child, i don't know if updating the display list should make any difference... I'm sorry my knowledge in flex is quite basic :( ----- Mensaje original ---- De: Sherif Abdou <[EMAIL PROTECTED]> Para: [email protected] Enviado: domingo, 31 de agosto, 2008 1:56:09 Asunto: Re: [flexcoders] Image over a panel title? ya to bring it to the top just do setChildIndex( nameOfIcon, numChildren- 1); and do it somewhere so it is always up top like updateDisplayList or layoutChrome ----- Original Message ----- From: David Pariente To: [EMAIL PROTECTED] ups.com Sent: Saturday, August 30, 2008 6:53 PM Subject: Re: [flexcoders] Image over a panel title? oh, didn't know something like that existed... ...i thought that was a tab index...not a depth index... i will try :) thnx a lot ----- Mensaje original ---- De: Sherif Abdou <[EMAIL PROTECTED] com> Para: [EMAIL PROTECTED] ups.com Enviado: domingo, 31 de agosto, 2008 1:33:39 Asunto: Re: [flexcoders] Image over a panel title? Have you tried bringing the index up of the Icon, so doing setChildIndex( name,int) ----- Original Message ----- From: David Pariente To: flexcoders Sent: Saturday, August 30, 2008 5:51 PM Subject: [flexcoders] Image over a panel title? Hi all, I wanna put an icon over a panel title, on the right side. I tried and tried, but it seems like the panel title allways get over my icon, even i put icon inside a canvas, add it from outside the panel element...seems nothing i try brings my icon over it :( If is impossible to do so...I feel is so strange, because is quite normal to make an app where u can move panel over eachother, like they where windows. Anyone knows an easy way to put the icon where i wan it? (note: i'm not adding it as a "panel title icon", i'm just addding it directy over, or inside a canvas). Thnx a lot. ____________ _________ _________ _________ _________ __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo. yahoo.es ____________ _________ _________ _________ _________ __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo. yahoo.es __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.es

