If anyone can help with making this work I'd appreciate it. If I have canvas' within a canvas I can't get the horizontalScrollPolicy = "on" to work properly.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script> <![CDATA[ public function changeProp():void { setPol.horizontalScrollPolicy = "on"; } ]]> </mx:Script> <mx:Canvas horizontalScrollPolicy="off" verticalScrollPolicy="off" width="200" height="200" borderThickness="1" backgroundColor="white"> <mx:Canvas horizontalScrollPolicy="off" verticalScrollPolicy="off" width="190" height="190" borderThickness="1"> <mx:Canvas id="setPol" horizontalScrollPolicy="off" verticalScrollPolicy="off" width="300" height="180" borderThickness="1" click="changeProp();"> </mx:Canvas> </mx:Canvas> </mx:Canvas> </mx:Application> When I click on the named canvas it seems to turn on a horizontal scroll bar, but it's super wide and you can't scroll it? I don't want the parent canvas' to have a horizontal scroll. Is there a way to fix it? If I leave the horizontalScrollPolicy on it works fine, but I want it off until clicked on.

