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