To do exactly what you're asking is probably possible, but I don't know how
to do it.  You might "hide" the flash by putting a short show/hide fade
effect on it.  I haven't tried it, but in my mind it should still reposition
itself immediately (while visibility of the fade effect is still close to
0).

>From your description I assume that the bottom of your component is in a
fixed position and the top of it rises and falls according to what's inside
it.  If that's the case you could also wrap it in an invisible canvas that's
taller than the component will ever be and anchor it to the bottom of this
canvas instead of repositioning it programmatically.  Just position the
invisible canvas so the bottom is where you need it to be.

Just some thoughts...

RIck

-----Original Message-----
From: n51red [mailto:[EMAIL PROTECTED]
Sent: Friday, May 19, 2006 9:36 AM
To: [email protected]
Subject: [flexcoders] Get new component dimensions without rendering it


I have a component the contents of which changes each time it is made
visible. Each time it is to be displayed I need to change its position
depending on its height. I've acheived this by basically binding the
component's Y property to its height. The problem is that as the
component is rendered and then moved I get an undesirable flashing
effect. Is there a way to get the new height of the component and
change the Y property before it is rendered?

Thanks,
N51








--
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













--
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