Here is some test code I created: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*"> <mx:Script> <![CDATA[ import mx.managers.CursorManager; import mx.core.UIObject; var inputBlocker;
function setBlockingCursor() { // Create an "empty" UIObject popup that blocks user input CursorManager.setBusyCursor(); inputBlocker = popupWindow(UIObject); } function removeBlockingCursor() { // Remove our blocking popup inputBlocker.deletePopUp(); CursorManager.removeBusyCursor(); } ]]> </mx:Script> <mx:Button click="setBlockingCursor()" label="Create Popup" /> <mx:Button click="removeBlockingCursor()" label="Delete Popup" /> <mx:TextInput /> </mx:Application> Is this what you expect to happen. If so it might want to check the parent of the Popup and see if that has something to do with it. As the example above is creating the popup on the Application root it for sure will block input. Renaun --- In flexcoders@yahoogroups.com, Antoine Malpel <[EMAIL PROTECTED]> wrote: > > Again I ask this because I really didn't find the solution > > var inputBlocker; > > function setBlockingCursor() > { > // Create an "empty" UIObject popup that blocks user input > CursorManager.setBusyCursor(); > inputBlocker = popupWindow(UIObject); > } > > function removeBlockingCursor() > { > // Remove our blocking popup > inputBlocker.deletePopUp(); > CursorManager.removeBusyCursor(); > } > > this example come from the sample explorer of Flex 1.5... it works well > from it but I can't get working on my Application > I also tried with myRootCanvas.enabled = false but no :( why ? I mainly > use this when I want to create a popup > > please I really need a working script for that > ------------------------ Yahoo! Groups Sponsor --------------------~--> Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/