I have an Image nested inside a Canvas.
<mx:Canvas>
<mx:Image source="@Embed(source='assets/library.swf', symbol='Waves')" />
</mx:Canvas>
I'd like the Image not to overflow the bounds of Canvas. But when I set width
and height
on the Canvas, my Image disappears. Canvas also doesn't seem to respect horizontalScrollPolicy
.
Seems easy enough, but as the official Flex documentation is down at the moment, I thought I'd turn to SO.