Hi, By using constraints on the image itself (top, bottom, left, right), you are actually setting the size of the image. Take those out and your scrollbars should appear; assuming that the actual size of the image is larger than the size of the container.
-TH --- In flexcoders@yahoogroups.com, p_repetti <[EMAIL PROTECTED]> wrote: > > > Why aren't scrollbars appearing when I set a very large image into a > container ? > MXML is as follows: > > <mx:Canvas id="vizImageCV" left="0" right="0" top="0" bottom="0" > clipContent="false"> > <mx:Image left="0" right="0" top="0" bottom="0" id="vizImage" > scaleContent="false"/> > </mx:Canvas> > > Image data is set afterwards, once it's been downloaded from server. > > I have tried many ways: > - calling invalidateDisplayList() on canvas after setting image data > - calling invalidateSize() on canvas > - setting width/height/measuredWidth/measuredHeight on canvas, getting them > from Image > - setting scrollbar display policy to "on" for canvas (though the default is > auto) > > Any suggestion ? > Thanks > -- > View this message in context: http://www.nabble.com/Scrollbars-not- appearing-for-big-image-display-tp16527521p16527521.html > Sent from the FlexCoders mailing list archive at Nabble.com. >