The complete ActionScript in Flash mx (i)

Source: Internet
Author: User
Tags contains continue sort tostring

Previously collected, dedicated to everyone: the Latin alphabet as the preface
A
Accessibility (object) is a channel that arranges ActionScript in just one way
Accessibility.isactive (annotation that program is active)
Add Usage: string1 add sting2
Represents two parameters linked
and determine if the condition is a true expression (Condition1 and Condition2)
Argument (object) is used to invoke a function:
Argument.callee point to called function
Argument.caller to a function called by a request
Number of variables to be used in the Argument.length function
Array (object) is used to represent a set of data columns, an array
Example: myarray[0]= "January"
myarray[1]= "February"
myarray[2]= "March"
myarray[3]= "April"
MyArray for a custom array name
Array.concat (link variable and return a new array)
Array.join (Add all elements to the same entry
Array.pop (returns the value of the last element in the queue)
Array.push (adds a few or more elements at its end and returns a new length)
Array.reverse (Flip the elements in the queue)
Array.shift () (moves the first element from the queue and returns the element)
Array.slice () (part or sub array in an array, excluding the last array value)
Array.Sort (Comparefunction) (method sort call parameter)
Array.sorton (field) (sort according to that type of row)
Array.splice (' A ', 2) deletes a second
Array.tostring (return parameter is TRUE or FALSE)
Array.unshift (adds one or more at the beginning of the array and returns a new length)
Asfuction:myfunc (for calls to functions when hyperlinks)
Boolean (function) returns each qualification
Boolean (Object) Boolean
Boolean.tostring returns the value of the link is true or false
Boolean.valueof returns the type of the original Boolean value
Break for Loop Jump
Button (object) buttons * * Can
Event Summary for the button object button events
Transparency of the Button._alpha button
Button.enabled button is available
Button._focusrect the button focus of a square line
Button.getdepth returns the thickness of the button
Height of the Button._height button
Button._highquality is divided into two 1 when the bitmap is smooth, for 2 o'clock as the best bitmap * * can,
Minimum quality for 0
Button._name button Name
Button.ondragout Drag the mouse through the button and move outside the button
Button.ondragover Drag the mouse outside the button and overwrite it
Button.onkeydown by getting the ASCI code to determine which keyboard was pressed
Button.onkeyup that one key was released.
Button.onkillfocus when keyboard focus is lost, this parameter receives a parameter, a new focus, and if there is no object, it is set to a null value.
The Button.onpress event handler, when a button is pressed, determines which function is parsed and requested.
Button.onrelease event handler, action occurs when button is released
Button.onreleaseoutside when the button teacher takes action in the outer range
Button.onrollout events that occur when the pointer is scrolled externally
Button.onrollover events that occur when the pointer passes
Button.onsetfocus sets the focus way, as when you press the TAB key to move the cursor from one text box to the button, the old cursor still contains all the contents of the square box.
Button._parent Movie clip contains a child movie clip, which is the parent node of the button
The performance of the Button._quality button has four kinds of low, medium, High, best
Button._rotation Button Rotation degree
Button._soundbuftime Button's sound buffer time
Availability of button.tabenabled buttons
Button.tabindex the tab order of customized buttons
Center focus of the Button._target button
Button.trackasmenu can customize menus to indicate whether a movie clip or other button can perform a mouse-release event.
Button._url returns a hyperlink that creates a SWF file that should be button
Button.usehandcursor button to make cursor state
Visibility of the button._visible button
Width of the Button._width button
x coordinate of the button._x button
Y-coordinate of the button._y button
Button._xmouse the mouse x coordinates to the button
Button._xscale point to button x percent coordinates
Y-coordinate of the button._y button
Button._ymouse the mouse y-coordinate of the button
Button.yscale point to button y percent coordinate
Call calls
The call function calls functions
Case equivalent to choice and ===** can be similar
chr//equivalent to an ASCII value
clearinterval//Clearance Interval
Color (object) Colors
Color.getrgb Get background color
Color.setrgb Set Color
Color.settransform Set Conversion color
Continue continue to practice often in for, while and other conditional sentences
Customactions (object)
Customactions.get read XML definition file
Customactiond.install XML information when reading downloads
Customactions.list Color List
Customactions.uninstall (Custom read Uninstall is a situation that occurs



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.