Ah - not worried about the styling whatsoever - meant in terms of functionality ---

Thanks I'll check the bugbase

On Jun 10, 2008, at 12:34 PM, Battershall, Jeff wrote:

I believe there's an example of the workaround in the Adobe BugBase. As far as styling - hmmmm...I think you should be able to style a popUp defined programaticallly. You could also subclass your TitleWindow and style it as you wish, and use that as your popUp.
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks
Sent: Tuesday, June 10, 2008 12:26 PM
To: [email protected]
Subject: Re: [flexcoders] popupbutton in viewstack/canvas

Thanks Jeff - do you have an example of this? I've seen this -- http://jonathanbranam.net/solutions/popupbutton-fails-inside-container-viewstack -- but it seems to only deal with removing a popup.

Just unsure how best to do this while keeping the 'mac osx sheet' look to it...

On Jun 10, 2008, at 11:51 AM, Battershall, Jeff wrote:

There is a know issue with PopUpButton in certain contexts. The workaround is to listen for the open event and re-create the popUp property programatically if found to be null.

Jeff
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks
Sent: Tuesday, June 10, 2008 11:28 AM
To: [email protected]
Subject: [flexcoders] popupbutton in viewstack/canvas

Does the popupbutton NOT work within a canvas in a viewstack?

I've gotten this code -- doesn't work in the viewstack but everywhere else is fine...:

  <mx:PopUpButton id="popUpButton" horizontalCenter="0" top="200"
                label="Click on me"
                openAlways="true">
            <mx:popUp>
                <mx:TitleWindow id="titleWin"
                        height="200" width="200"
                        showCloseButton="false"
                        verticalScrollPolicy="on"
                        horizontalScrollPolicy="off">

                </mx:TitleWindow>
            </mx:popUp>
        </mx:PopUpButton>






Reply via email to