|
Nope, you need to set those properties on
Panel (Children of Canvas). When you set horizontalCenter and verticalCenter to
0 on Panel, it positions itself at the exact center. Now, if you have another
panel which you want to display at 100, 100 center offset then you can set horizontalCenter
and verticalCenter to 100. For eg: <mx:Canvas
backgroundColor="blue" width="100%"
height="100%"> <mx:Panel
horizontalCenter="0" verticalCenter="0"
width="100" height="100"/> <mx:Panel
horizontalCenter="100" verticalCenter="100"
width="100" height="100"/> </mx:Canvas> Hope this will clear your concern. -Ashish From:
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |

