> > <mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml"> > > <mx:Image id="image" width="16" height="16" source="report.jpg" > toolTip="click to see report" horizontalAlign="center" > verticalAlign="middle" /> > > </mx:VBox> >
try adding a layoutChildren function as follows function layoutChildren():Void { super.layoutChildren(); image.move(((layoutWidth-20)/2), ((layoutHeight-16)/2)); } regards bod -- 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/ <*> 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/