Error: Error #2176: some actions (such as the actions displayed in the pop-up window) can only be called through user interaction.

Source: Internet
Author: User
Problem:
Error: Error #2176: some actions (such as the action displayed in the pop-up window) can only be called through user interaction, such as clicking the mouse or pressing the button.
At flash. System: System $/setclipboard ()

Flash Player version: 10

Cause:

The security mechanism of flashplayer10 has changed. Only air can set clipboard. Please refer to the specific description.

Solution:

Use try {} catch {}.CodeAs follows:ProgramCode {
System. setclipboard (string );
}
Catch (ERR: Error)
{
Alert. Show ("Please use ctrl-C for copy, Ctrl-X for cut and Ctrl-V for paste, or use Edit menu above the browser toolbar .");
}

PS: currently, flashplayer10 is not an official version and does not need to be considered too much.

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.