zoukankan      html  css  js  c++  java
  • Flex中CursorManager的应用

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="vertical"
    verticalAlign="middle"
    backgroundColor="white" viewSourceURL="srcview/index.html">

    <mx:Script>
    <![CDATA[
    import mx.managers.CursorManager;

    [Bindable]
    [Embed(source="assets/bug.png")]
    private var BugIcon:Class;

    [Bindable]
    [Embed(source="assets/bug_delete.png")]
    private var BugDeleteIcon:Class;

    private var cursorID:int;
    ]]>
    </mx:Script>

    <mx:ApplicationControlBar dock="true">
    <mx:Button label="setBusyCursor()"
    click="CursorManager.setBusyCursor();" />
    <mx:Button label="removeBusyCursor()"
    click="CursorManager.removeBusyCursor();" />
    </mx:ApplicationControlBar>

    <mx:Button label="setCursor()"
    width="100"
    height="100"
    rollOver="cursorID = CursorManager.setCursor(BugIcon);"
    rollOut="CursorManager.removeCursor(cursorID);" />

    </mx:Application>
  • 相关阅读:
    IHttpHandler and HttpModule
    sql page reship
    prototype
    google search engine theory
    ghost
    sql split
    Missing you is a kind of my deeppain in my life
    file control
    a story of c#(reship)
    teacher and student(reship)
  • 原文地址:https://www.cnblogs.com/nianshi/p/1734702.html
Copyright © 2011-2022 走看看