> IEEE floats aren't very nice. I second that! They make you become creative... add scale and rotation together, the IEEE floats start to float away.
Mike On Tue, Oct 14, 2008 at 6:50 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Without looking at your code, it's probably just a rounding error, IEEE > floats aren't very nice. I'd keep the original top/left value put aside for > when you return it to full size. > > -Josh > > On Wed, Oct 15, 2008 at 8:46 AM, gwangdesign <[EMAIL PROTECTED]>wrote: > >> I did this little exercise to shrink a UIComponent from center. The >> component is scaled down when a button is clicked and scaled back to >> its original size when the mouse is released. It seems working fine >> except that the component shifts a little bit to top-left with each click. >> >> I cannot figure out which part goes wrong, but my guess in "shrinkBack"? >> >> Here is the swf and the source code: >> >> >> http://maohao.com/blogs/wordpress/TestSomething/bin-release/TestResize.html >> >> Sorry about the cross/duplicate post in advance. I can't remember if I >> post this or not... >> >> Have a good one. >> >> >> ------------------------------------ >> >> -- >> Flexcoders Mailing List >> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >> Alternative FAQ location: >> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 >> Search Archives: >> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups >> Links >> >> >> >> > > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > Like the cut of my jib? Check out my Flex blog! > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > :: http://flex.joshmcdonald.info/ > > > -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.

