Displaying custom cursor in the full screen mode - Flex 3.0 -


I am having trouble displaying a custom cursor in the full screen mode of my Flex application. How can I do this?

cursor manager. The reverse cursor () deletes a cursor from the cursor list.

If the cursor has been removed, the currently displayed cursor, the cursor indicates the next cursor in the manager list, if any exists. If the list is empty, the cursor manager displays the default system cursor.

I can not find a way to add a deleted cursor to the caller list again in addition to calling setcursor . The following code works side-by-side with full screen mode. custom ID grows in each call - but atleast it works fine.

  & lt; Mx: application xmlns: mx = "http://www.adobe.com/2006/mxml" layout = "vertical" xmlns: local = "*" & gt; & Lt; Mx: button label = "custom" click = "onCustomClick ();" /> & Lt; Mx: button label = "default" click = "onDefaultClick ();" /> & Lt; Mx: button label = "go fullscreen" click = "stage.displayState = StageDisplayState.FULL_SCREEN;" /> & Lt; Mx: script & gt; & Lt ;! [CDATA [import mx.managers.CursorManager; [Enter (source = "cursor page")] Public and cursor PNG: class; Private var Custom ID: Int. Private Work on Customs (): Zero {customID = CursorManager.setCursor (CursorPNG); } Private function onDefaultClick (): zero {CursorManager.removeCursor (customID); }] & Gt; & Lt; / Mx: script & gt; & Lt; / Mx: Applications & gt;  

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -