example of custom cursor
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/010c4fc0 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/010c4fc0 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/010c4fc0 Branch: refs/heads/tlf Commit: 010c4fc0cedcc591e54316103bf37a7c68803f01 Parents: b9d5e8e Author: Alex Harui <[email protected]> Authored: Thu Jun 22 11:57:19 2017 -0700 Committer: Alex Harui <[email protected]> Committed: Thu Jun 22 11:57:29 2017 -0700 ---------------------------------------------------------------------- manualtests/CursorTest/src/CursorTest.mxml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/010c4fc0/manualtests/CursorTest/src/CursorTest.mxml ---------------------------------------------------------------------- diff --git a/manualtests/CursorTest/src/CursorTest.mxml b/manualtests/CursorTest/src/CursorTest.mxml index 78b8d3b..f77eb81 100644 --- a/manualtests/CursorTest/src/CursorTest.mxml +++ b/manualtests/CursorTest/src/CursorTest.mxml @@ -36,6 +36,21 @@ ]]> </fx:Script> + <fx:Style> + @namespace models "models.*"; + @namespace controllers "controllers.*"; + @namespace js "library://ns.apache.org/flexjs/basic"; + + @media -flex-flash + { + + global + { + copy: ClassReference("org.apache.flex.css2.Copy"); + } + } + + </fx:Style> <js:beads> <js:ApplicationDataBinding /> </js:beads>
