In your updateDisplayList() function,
you can add an "if" clause to detect which part should be redrawn.
Something like :
if( dotChanged ){
//do redraw
}
Jeremy.
On 7/25/06, Daniel Tuppeny <[EMAIL PROTECTED]> wrote:
Hi,Does calling invalidateDisplayList() on a control mean that *everything* (including parents) gets re-drawn, or just the children?I have something similar to Ely Greenfield's RangeSelector class ( http://demo.quietlyscheming.com/overlayDemo/), but the mousemove event seems to cause my PlotSeries to re-draw too. This means, when I have 1000 points on my chart, the draggable box is very sluggish.I thought a control's updateDisplayList() would only be called if something on that actual control changed?Thanks,Danny
The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
__._,_.___
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] invalidateDisplayList() Jeremy Lu
- RE: [flexcoders] invalidateDisplayList() Daniel Tuppeny
- Re: [flexcoders] invalidateDisplayList() Jeremy Lu
- RE: [flexcoders] invalidateDisplayList() Gordon Smith
Reply via email to