I have always found it easier to put your horizontalAlign on a 
container inside the application tags, but also make sure you put 
the width="100%" height="100%" in as well or the app wont stretch.

Hope this helps.


--- In flexcoders@yahoogroups.com, "David Terry" <[EMAIL PROTECTED]> wrote:
> Hello,
> 
>  
> 
> I am trying to center my application, but can't seem to make it 
work.
> 
>  
> 
> <?xml version="1.0" encoding="utf-8"?>
> 
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";
> height="50%" width="50%" horizontalAlign="center"
> verticalAlign="middle">
> 
> </mx:Application>
> 
>  
> 
> Why don't the horizontalAlign and verticalAlign properties work?
> 
>  
> 
> Many thanks,
> 
> ~David T.





 
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/
 



Reply via email to