PDA

View Full Version : Skinning statusbar (Flex3/air)


paulreitz
08-07-2007, 04:24 PM
Long story short...I'm trying to add a skin to the status bar in Flex 3. In my CSS file I am able to change the color of the status bar with this line:
statusBarBackgroundColor : #3e3e3e;

I can't seem to add an image as a skin though. Here's the code I'm using:
statusBarBackgroundSkin : Embed("images/status.png");

I'm using FlexBuilder 3, and the project is an air application. Also, the style will be used in a number of applications, so i have to put as much as I can in the CSS file. I appreciate any help :)

dr_zeus
08-07-2007, 05:02 PM
According to the docs, you should use statusBackgroundSkin (note that there's no "Bar" in the name).

paulreitz
08-07-2007, 06:47 PM
Ah *smacks my forehead* I took "Bar" out and it worked. thank you :)

paulreitz
08-07-2007, 06:55 PM
OK, now how do I get the image to only show, unscaled, on the right side...I tried scaleGridLeft, etc.