In fact, the idea is very simple, that is, when you click the canvas, the mouse turns into a hand shape, meaning to drag. But the following line does not pass compilation.
Cursormanager. setcursor (mousecursor. Hand); // However, this line does not exist and the mousecursor access attribute is not defined.
I found some information on the Internet and found out that mousecursor is a new feature of Flash Player 10 (the subline is: Flash Player is a pre-compiler of flex ). I installed the FB plugin with Flash Player 9, But I updated the Flash Player to 10, I checked a file in/Adobe/flex builder 3 plug-in/player/win, which is indeed Flash Player 10. Why not?
When I continue searching, I find that I need to set it to Flash Player 10 in the release environment. But what's important is how to set it,My environment is eclipse3.2,Specific settings are as follows:
Click project> Properties> flex compiler on the left. In the HTML wrapper column under the right, change require Flash Player version to Flash Player 10.0.0.