Give it an array, not a string.
 
So, this:
 
currentPage.setStyle("headerColors","[0xFF0000, 0x0000FF]");
 
Should be:
 
currentPage.setStyle("headerColors", [0xFF0000, 0x0000FF]);
 
 
----- Original Message -----
From: Nithya R
Sent: Wednesday, February 01, 2006 1:27 AM
Subject: [flexcoders] header color chnage for inactive popup

hi,
     am now using a custom titlewondow component... when i have two popups one over the other i want the active popup to have the default headercolor that is set in CSS and for the inactive popup i want the headercolor to change...
 
i use currentPage.setStyle("headerColors","[0xFF0000, 0x0000FF]"); to CHANGE THE COLOR OF THE INACTIVE POPUP...
 
here the currentpage refers to the inactive popup... when i run the application the header color changes to black... whatever  color i give it displays only black...
 
can anyone tell me where i go worng?
 
thanks,
nithya
 
 
 

Send instant messages to your online friends http://uk.messenger.yahoo.com

--
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




Reply via email to