Hi, i have an svg file which is a state map with co-ordinates mapped. i used canvas to display it, which is displaying fine. now, i included the canvas in a panel. so far so good. when i try to resize the canvas, i am expecting my svg file inside the canvas to get resize but is not happening. am i doing something wrong? can anyone help me on how to resize a canvas which is holding an svg/img?(same time resize should resize the children of the canvas).
thanks for ur help -suri <mx:Panel height="100%" width="100%"> <mx:VBox width="100%" height="100%"> <mx:Canvas width="100%" height="100%"> <mx:Image scaleX="0.5" scaleY="0.5" id="imgal" source="{svgal}"/> ....more svg files </mx:Canvas> </mx:VBox> <mx:VBox width="100%" height="100%"> <!-- more controls --> </mx:VBox> </mx:Panel> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/