hi have a application, where i have a <mx:Image> inside a canvas. Now when i scale the image, by using scaleX and scaleY properties, i get scrollbars. This means that the canvas area has grown. But when i query for width/height, it returns the same as it was before scrollbars. I have already tried validate methods. can some one help ?
you could use the maxverticalscrollposition and the maxhorizontalscrollposition,
fullheight = height+maxVerticalScrollPosition;
this will be out by the width/height of the scroller which is usually 16 unless its a custom scroller. so
fullheight = height+maxVerticalScrollPosition-16;
fullwidth = width+maxHorizontalScrollPosition-16;