Onmouseevent incident Detailed

Source: Internet
Author: User
Detailed site original, reproduced please indicate the source

Today to introduce you to the Onmouseevent incident

Onmouseevent event, is when we use flash to do work, as long as the button (buttons) on the set instructions, it will automatically generate on (release), which is used to set the button under what circumstances to execute instructions.

Multiple conditions can be set on the parameter area on

Press: The left button is pressed

Release: Open the left button in the sensing area

Releaseoutside: Release the left button outside the sensing area

Rollover: mouse move into the sensing area

RollOut: Mouse move out of the sensing area

DragOver: Press and hold the left button to drag into the induction zone: DragOver translation is really drag into the induction zone, but you may not be in the SWF file to try out, in fact, the right, DragOver to produce the effect must be dragged out of the sensor area and then towed back, the middle left button can not let go

Dragout: Press and hold left button to drag out the sensing area

KeyPress: Press one of the keys on the keyboard

When a movie is played, the instructions contained between on and Endon are executed as soon as the condition is reached. When the mouse is pressed to execute play instructions, press the ENTER key will link the Web page (GetURL); So, the same button can also set a variety of events in response to various mouse events.

KeyPress is a relatively special condition, you can press the keyboard when a key occurs, but can only set a single button, so if you want to press enter and space can carry out the same instructions.

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.