I have a CSS file which is converted to a SWF file. When using SDK 3.6 and 
compiling for Flash it works fine. When Using SDK 4.6 and compiling for AIR, 
the image does not display.

Since I am changing 2 things at once I am not sure where to look. Are there 
differences between 3.6 & 4.6 or Flash & AIR which might cause this?

The CSS file is below, the problem line is;

backgroundImage: Embed(source="assets/ocean.jpg");

Application {        backgroundColor: #1c526d;     backgroundGradientColors: 
#146a94, #81cff6;     backgroundGradientAlphas: 0.29, 0.54;     borderColor: 
#00006E;     borderThickness: 2;     cornerRadius: 5;     color: #00006E;     
borderStyle: outset;     disabledColor: #00006E;     backgroundImage: 
Embed(source="assets/ocean.jpg");  } Button {        disabledColor: #b7babc; } 
Panel {          backgroundColor: #C4EBFE;     backgroundAlpha: 1;     
borderAlpha: 0.9;     titleStyleName: panelTitle;     statusStyleName: 
windowStatus; }   .separator {     color: #00006E;     borderColor: #00006E;    
 borderStyle: none;     backgroundColor: #C4EBFE;     }  .panelTitle {    
color: #000000;    fontFamily: Verdana;    fontWeight: bold;    
backgroundAlpha: 0.6; }  .windowStatus {    color: #000000;    fontFamily: 
Verdana;    fontWeight: normal;    backgroundAlpha: 0.6;  } .headerLabel {  
color: #66ff66;  fontFamily: Arial;  fontWeight: bold;  }

Paul R. Stearns
Advanced Consulting Enterprises, Inc.

15280 NW 79th Ct.
Suite 250
Miami Lakes, Fl 33016

Voice: (305)623-0360 x107
Fax: (305)623-4588


Reply via email to