March 23, 2007

In Apollo, how do you get rid of the Apollo window controls?

I can't figure out for the life of me how the weather app got rid of the controls for the window. As in, the little close and minimize buttons.

I'm working on a small application and I just want it to act like a little widget of some sorts where the whole background is slightly transparent and the content is visible inside that. Then in the corner I would have my own minimize and close buttons.

I've tried everything (I think) and just can't get it to work like I want it. The application always shows the Apollo controls.

I have my application XML file with this in it:
systemChrome="none" transparent="true" visible="true"

and this in my MX:Styles
Application
{
background-color:"";
background-image:"";
padding: 0px;
background-alpha:"0.4";
}

but no go.

I've searched the Apollo forums but it doesn't seem like anybody else has come across this. Any advice?

Posted by Graeme at March 23, 2007 09:58 AM
 



Comments

Have you tried in the applications XML file setting the systemChrome value to none, and transparent to true. That should do it for you.

Posted by: Nick at March 23, 2007 10:13 AM

Nick.. did you read my whole post? Right about in the middle I have written that I've done that :)

Posted by: Graeme at March 23, 2007 10:17 AM

Use

mx:application

not

mx:ApolloApplication

this is a known issue.

mike chambers

Posted by: Mike c at March 23, 2007 10:43 AM

Ahh.. I figured it out 5 minutes before you posted. Thanks anyways Mike. I've posted another blog entry with some details to help others if they come across the same thing.

Posted by: Graeme at March 23, 2007 10:48 AM

you can also set the 'showFlexChrome' to false.

Posted by: Brandon Ellis at March 23, 2007 11:11 AM