It needs to be

 

    oldWindow.setStyle("headerColors", [ 0x0000FF, 0xFFFFFF ]);

 

#0000FF isn't an ActionScript number.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of JesterXL
Sent: Wednesday, February 01, 2006 8:07 PM
To: [email protected]
Subject: Re: [flexcoders] inactive popup header color issue-- anybody?

 

I thought I already answered this...

 

anyway, you need to pass an array, not a string.

 

This:

 

oldWindow.setStyle("headerColors", "#ooooff,#ffffff");

 

needs to be:

 

oldWindow.setStyle("headerColors", [#ooooff,#ffffff]);

 

----- Original Message -----

From: Nithya R

Sent: Wednesday, February 01, 2006 10:57 PM

Subject: [flexcoders] inactive popup header color issue-- anybody?

 

hi,

     i threee popups one over the other. the header color for all poups are currently green. but i want to change the inactive popup(ie the old popup)'s header color to say gray... i use the following piece of code for changing it...

 

oldWindow.setStyle("headerColors", "#ooooff,#ffffff");

 

here olWindow refers to the popup that is behind the active popup... but when i run this the haedercolors chnage to black.... whatever color combination i give, it only changes to black... why so? and should i resolve this problem.....

 

anybody there to help me in this issue...???

 

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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to