The complete collection of ActionScript in Flash MX (iii)

Source: Internet
Author: User
Tags delete key insert variables range relative square root visibility
GE (greater or equal-special parameters)
GetProperty Get the value
Gettimer Get the time
Geturl Get Hyperlink value
GetVersion Get version
_global can support core classes or strings, math or queues, global variables
Globalstyleformate Global Style format
gotoAndPlay Jump and run
gotoAndStop Jump and stop
GT (Greater than)
_highquality High Quality
If if
Ifframeloaded when frames are downloaded
#iclude包含
#initclip定义一个外部组件, and reference it using the
Instanceof (Theobject,theclass) Determines whether this object conforms to this class
int integral type
Isfinite determines whether a finite number, if it is, returns true, otherwise false
isNaN determines whether one is a number and, if so, returns to Flase if it is not returned to True
Key (object) keyboard * * CAN
Key.addlistener Keyboard Increase * * Can be pressed or released like a keyboard
Key.backspace Keyboard Space Key
The CapsLock return value in the Key.capslock keyboard is 20
Key.control returns the control key in the keyboard
Key.deletekey return to the keyboard delete key
Key.down Keyboard * * Can be pressed in the
Key.end keyboard in the END key
Key.enter Keyboard * * In the ability to confirm
Key.escape Return to keyboard escape (27)
Key.getascii refers to the keyboard to get the ASCII value
Key.getcode gets the last value of the key
Key.home the home button in the keyboard
Insert key in Key.insert keyboard
Key.isdown confirm that the key value is pressed
key.istoggled If the NumLock key is activated, return to True
Key.left keyboard left-direction ASCII (37)
Key.onkeydown keyboard
The PgDn in the KEY.PGDN small keyboard
The PgDn in the Key.pgup keyboard
Key.removelistener returns the method in the registration, if it is not an object in the list, it is flase, otherwise it is true

Key.right Right Direction keyboard
Whether the shift** key in the Key.shift keyboard is pressed
Key.space keyboard in space** can
Key.tab keyboard in tab** can
Key.up the keyboard to float up * * can
The complete works of ActionScript in 2:FLASHMX (2)
Le (less than or equal to) less or equal
Length Lengths
_level
Loadmovie Download Movie
Loadmovienum ("Http://www.blag.com/image45.jpg", 2), which can present two graphs simultaneously
Loadvariables ("Data.txt", "_root.vartarget") download variable from data.txt file
Loadvariablesnum ("Data.txt", 0), starting from level 0, to transfer the Data.txe file
Loadvars (object)
Content types in Loadvars.contenttype variables
loadvar.getbytesloaded to get the download variables in binary
Loadvars.getbytestotal to get binary values from a pre-download or a way to send or download
Loadvars.load a variable from a specified hyperlink
Loadvars.loaded is loaded from the specified hyperlink strong
Loadvars.onload variable is downloading
Loadvars.send send a variable from the strong chain
Loadvars.sendandload sends and downloads this anchor object relative to the download variable in the hyperlink
Loadvars.tostring returns the encoded string of all Loadvars objects in the hyperlink that contain the Rose variable
LT (less than)
M

Math (object) digitization
MATH.ABX returns the absolute value of a number
Math.acos Anti-cosine
Math.asin anyway Chord
Math.atan anyway cut
Math.atan2 (y,x) anyway cut namely y/x
Math.ceil the nearest integer to it
Math.Cos cosine
MATH.E the occurrence of e-second square calculation
Math.exp Open Square
Math.floor rounding
Math.log logarithm
MAHT.LOG2E 2 is the base and E is the exponent
MATH.LOG10E 10 is the base and E is the exponent
MATH.LN2 is based on E, with 2 as the index
MATH.LN10 is based on E, with 10 as the index
Math.max (x,y) compares x,y to calculate the largest number of them
Math.min (x,y) Compare x,y to calculate the smallest number
The ratio of math.pi circumference to diameter is
Math.pow (x,y) returns the Y-second side of X
Math.random returns a range of random numbers
Math.Round estimates the nearest number relative to X, take this number
Math.sin sine
Math.sqrt Open Square
Math.sqrt1_2 2 square root and then half.
Math.sqrt2 it as 1. 414213562373, take the square root of 2.
Math.tan Tangent
Maxscroll Max Scrolling
Mbchr the number of bytes converted to the ASCI code
Mblength the length of multiple bytes
Mbord converts this word as a multi-byte number
Mbsubstring (Value,index,count) removes a new substring from a string
Object.Method = function ([parameters]) methods
Mouse (object) mouse * * CAN
Mouse.addlistener Mouse to increase monitoring
Mouse.hide Mouse Hide
Mouse.onmousedown under the mouse pressure
Mouse.onmousemove Mouse Removal
Mouse.onmouseup the mouse to lift
Mouse.removelistener whether the mouse can be removed from an external component
Mouse.show Mouse display Mode
MovieClip (object) Movie Clip * * can
Movieclip._alpha Movie Clip Visibility
Movieclip.attachmovie Movie Clip Cache movie
Mymovieclip.beginfill ([rgb[, Alpha]]) The movie clip starts to overwrite the background color or a visual
Mymovieclip.begingradientfill (Filltype, colors, alphas, ratios, matrix)

Movie clips can be of type color, visibility, ratio, pattern
Mymovieclip.clear () Movie Clip Erase
Mymovieclip.createemptymovieclip (instancename, depth) create an empty movie clip
Mymovieclip.createtextfield (instancename, depth, x, y, width, height)

Create text in movie clips
Mymovieclip.curveto (Controlx, Controly, Anchorx, anchory) Movie clips Location
Movieclip._droptarget Movie Clip fixed-point location
Movieclip.duplicatemovieclip Movie Clip Copy
movieclip.enabled Movie Clip Availability
Overwrite at end of Movieclip.endfill movie clip
moveiclip.focusenabled Movie Clip Focus availability
movieclip._framesloaded Movie Clip Frame download
Movieclip._focusrect movie clips Surround a square when a keyboard is focused, covering the focus of a global variable
Movieclip.getbounds movie clip gets bound value
movieclip.getbytesloaded movie clip gets byte download
Movieclip.getbytestotal Movie clip Get type
Movieclip.getdepth Movie Clip Get depth
Movieclip.geturl movie clips get Hyper link
Movieclip.globaltolocal Film Clamping Bureau positioning
Movieclip.gotoandplay movie clip go to and play
Movieclip.gotoandstop movie clip go to and stop
Movieclip._height Movie Clip Height
Movieclip._highquality Movie Clip Display quality
The effective range of Movieclip.hitarea movie clips
Moviedlip.hittest the test in the middle of a movie.
Movieclip.linestyle Movie Clip Line type
Movieclip.lineto Movie Clip Link
Movieclip.loadmovie Movie clip Download movie
Movieclip.localtoglobal movie clip from local movie clip to global movie clip
Movieclip.moveto Movie clip move current line of paint position
Movieclip._name the name of the movie clip
Movieclip.nextframe Movie Clip Next Frame
Movieclip.ondata Movie Clip Expiration
Movieclip.ondragout Movie Clip Pull out
Movieclip.ondragover Movie clip when it's over, pull it in.
Movieclip.onenterframe Movie clips through frames
Movieclip.onkeydown Movie Clip Key Press
Movieclip.onkeyup Movie Clip Key release
Mymovieclip.onkillfocus = function (newfocus) movie clip loses focus
Movieclip.onload Movie clip is downloading
Movieclip.onmousedown movie clip under mouse pressure
Movieclip.onmousmove Movie Clip Mouse move
Movieclip.onpress Movie Clip Press
Movieclip.onrelease Movie Clip Release
Movieclip.onreleaseoutside movie clips are released externally
Movieclip.onrollout Movie Clip External scrolling
Movieclip.onrollover Movie Clip Scrolling Overlay
Movieclip.onsetfocus Movie Clip Set focus
Movieclip.onunload Movie clip Discard download
Movieclip._parent Movie Folder parent node
Movieclip.play Movie Clip Play
Movieclip.prevframe a frame on a movie clip
Movieclip.removemovieclip Movie clip Remove movie clip
Movieclip._rotation Film clip rotation degree
Movieclip.setmask Movie Clip Set mask
Movieclip._soundbuttime Movie clip Sound cache time
Movieclip.startdrag the movie clip starts dragging
Movieclip.stop Movie Clip Stop
Movieclip.stopdrag Movie Clip Stop dragging
Movieclip.swapdepths Movie Clip Exchange depth
Son of Movieclip.tabchildren Movie Clip tab
movieclip.tabenabled Movie clips available Tab key
Movieclip.tabindex Movie clips by tab
Movieclip._target Movie Clip Point
Movieclip._totalframes Movie Clip Total Frames
Movieclip.trackasmenu Movie clip as menu
Movieclip.unloadmovie movie clip does not download movie
Movieclip._url of movie Clips
Movieclip.usehandcursor movie clip with handle focus
Movieclip._visable Movie Clip Visibility
Movieclip._width Movie Clip Height
moviecli._x the coordinates of the movie clip X
Movieclip._xmouse movie clip's X mouse position
Movieclip._xscale x coordinates in movie clips
Movieclip._y the coordinates of the y-axis of the movie clip
Movieclip._ymouse Movie clip y-axis mouse
Movieclip._yscale Movie Clip Y axis

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.