Title: Message

Yes, I too have had problems using the ColorPicker in a modal window. Works fine if it’s not in TitleWindow but as soon as I put it in a modal true TitleWindow (that is opened from another TitleWindow) I can not even select a color :-(

 

Malcolm

 


From: [email protected] [mailto:[email protected]] On Behalf Of Deepa Subramaniam
Sent: Thursday, 27 October 2005 4:28 AM
To: [email protected]
Subject: RE: [flexcoders] ColorPicker

 

Hi -

 

Very curious, I've filed the bug internally. Thanks for the code.

 

To work around it you can keep track of the ColorPicker's selectedItem and keep re-setting it everytime the TitleWindow is moved. A pain, I know :(

 

deepa

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Philippe Maegerman
Sent: Wednesday, October 26, 2005 2:09 AM
To: [email protected]
Subject: RE: [flexcoders] ColorPicker

Launcher.mxml

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" horizontalAlign="center">
<mx:Script>
import mx.managers.*
function doOpen(){
var popupParent = this;
var isModal:Boolean = true;
var verifyPopUp = PopUpManager.createPopUp(popupParent, ColorPickerWin, isModal);
}
</mx:Script>
<mx:Button label="Popup Panel" click="doOpen()"/>
</mx:Application>

ColorPickerWin.mxml

<?xml version="1.0" encoding="utf-8"?><mx:TitleWindow xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" width="500" height="500" horizontalAlign="center">

<mx:ColorPicker/>

</mx:TitleWindow>

 

Philippe Maegerman

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Manish Jethani
Sent: mercredi 26 octobre 2005 10:52
To: [email protected]
Subject: Re: [flexcoders] ColorPicker

On 10/24/05, Philippe Maegerman <[EMAIL PROTECTED]> wrote:

> I noticed a  strange behavior, if the ColorPicker is in a TitleWindow (pop-up), moving the  window will reset the color to black.

Funny.  Can you post the example?  At least we can make sure it
doesn't happen in 2.0.

------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**

This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------




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