I use a lot of PopUpManager.createPopUp( ....) in order to avoid
"background" interface's buttons etc.. this works well ! the use can
only interact with the PopUp-ed object...

But I noticed that when a user click a second time on the same button
well... the popup is created two times ...
I tried to use, like shown on Flex Explorer Example :

this is called just because calling createPopUp :

        function setBlockingCursor() {
            // Create an "empty" UIObject popup that blocks user input
            inputBlocker = popupWindow(UIObject);
            CursorManager.setBusyCursor();
        }

then with the popup-ed creationcomplete event :

        function removeBlockingCursor() {
            // Remove our blocking popup
            inputBlocker.deletePopUp();
            CursorManager.removeBusyCursor();
        }

so I got the cursor but the user still can double click on the button ...

Any go way to avoid this ?

I also do not understand how I can 'place' the popUp as my application
is centered on the window browser  ... so using .x = 0 from the popup it
will appear at left when someOtherCanvasInApplication.x = 0 but it
rights (relative to its parent)



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