Flash. UI. mousecursor undefined (resolved)

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.