Setting width/height also sets explicitWidth/Height and thus affects the
result of getExplicitOrMeasuredWidth/Height. Anywhere a component is
used in measure(), you should see that component sized via
setActualSize. Things that aren't measured like some skins sometimes
just have their width/height set.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent: Monday, November 19, 2007 1:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setActualSize()
is there a difference when overriding the updateDisplayList() between
doing
canvas.setActualSize(unscaledWidth,unscaledHeight)
and canvas.width = unscaledWidth, canvas.Height =unscaledHeight
I am looking at some code from the flexLib and some times they do the
setActualSize() and some times they do the .width is it just a
preference?
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
how. http://us.rd.yahoo.com/evt=51732/*http:/overview.mail.yahoo.com/