Flash - AS 기본 코드 해석
13061 단어 xml브 라 우 저Flashaspactionscript
Action。 :
- Go to
- Play
- Stop
- Toggle High Quality
- Stop All Sounds
- Get URL
- FSCommand FSCommand
- Load Movie
- Unload Movie
- Tell Target
- If Frame Is Loaded ..
- On Mouse Event
Actions。 :
- break
- call ( )
- comment
- continue
- delete (Object)
- do while do while
- duplicateMovieClip MC
- else ( if )
- else if ( if )
- evaluate (Function)
- for for
- for .. in (Object)
- FSCommand FSCommand
- function
- getURL
- goto
- if
- ifFrameLoaded ..
- include ActionScript (.as)
- loadMovie MC
- loadVariables , , ASP/CGI
- on
- onClipEvent MC
- play
- print
- removeMovieClip MC
- return (function)
- set variable
- setProperty
- startDrag
- stop
- stopAllSounds
- stopDrag
- swapDepths MC
- tellTarget Action
- toggleHighQuality
- trace
- unloadMovie MC
- var
- while .. ..
- with .. (Object) ..
。 ( Operators)
- !
- !=
- ""
- %
- &&
- ()
- *
- +
- ++
- -
- --
- /
- <
- <=
- <>
- ==
- >
- >=
- and
- not
- or
- typeof
- void ,
- | |
+ Bitwise Operators
- &
- <<
- >>
- >>> ( )
- ^
- |
- ~
+ Compound Assign Operators
- %= A%=B A=A%B
- &= A&=B A=A&B
- *= A*=B A=A*B
- += A+=B A=A+B
- -= A-=B A=A-B
- /= A/=B A=A/B
- <<= A<<=B A=A<<B
- >>= A>>=B A=A>>B
- >>>= A>>>=B A=A>>>B
- ^= A^=B A=A^B
- |= A|=B A=A|B
+ String Operators ( : ASCII )
- add
- eq A eq B A B
- ge A ge B A B
- gt A gt B A B
- le A le B A B
- lt A lt B A B
- ne A ne B A B
+ Functions
- Boolean (True False)
- escape URL , URL (String)
- eval (expression) , (String)
- false (0)
- getProperty
- getTimer ( )
- getVersion FLASHPlayer
- globalToLocal (Scene) MC
- hitTest MC ( )
- int
- isFinite
- isNaN
- keycode (ASCII )
- localToGlobal MC (Scene)
- maxscroll
- newline
- Number :
x , ; x , 0 1; x , x ; x , 0。
- parseFloat
- parseInt
- random 0
- scroll
- String
- targetPath MC
- true (1)
- unescape %XX
+ String Functions
- chr ASCII
- length
- mbchr ASCII/S-JIS
- mblength
- mbord ASCII/S-JIS
- mbsubstring
- ord ASCII
- substring
+ Properties
- _alpha Alpha ( )
- _currentframe MC
- _droptarget Start drag MC , MC
- _focusrect (True /Flase )
- _framesloaded
- _height MC
- _highquality (True /False )
- _name MC
- _quality ( ) LOW,MEDIUM,HIGH,BEST
- _rotation MC ( : )
- _soundbuftime ( 5, : )
- _target MC
- _totalframes
- _url URL
- _visible (True /False )
- _width MC
- _x MC x
- _xmouse x
- _xscale MC X
- _y MC y
- _ymouse y
- _yscale MC y
+ Objects
+ Array
- concat
- join , ,
- length
- new Array
- pop (FILO )
- push ( )
- reverse ( , ……)
- shift (FIFO )
- slice
- sort
- splice
- unshift
+ Boolean
- new Boolean
- toString
- valueOf ( )
+ Color
- getRGB RGB ( 0xRRGGBB )
- getTransform ( cxform ) [ ]
- new Color
- setRGB RGB ( 0xRRGGBB )
- setTransform ( cxform ) [ ]
+ Date
- getDate ( )
- getDay (0-Sunday,1-Monday...)
- getFullYear ( )
- getHours (24 ,0-23)
- getMilliseconds
- getMinutes
- getMonth ( 0 :0-Jan,1-Feb...)
- getSeconds
- getTime UTC 1970.1.1 0:00
- getTimezoneOffset UTC ( )
- getUTCDate UTC ( )
- getUTCDay UTC (0-Sunday,1-Monday...)
- getUTCFullYear UTC ( )
- getUTCHours UTC (24 ,0-23)
- getUTCMilliseconds UTC
- getUTCMinutes UTC
- getUTCMonth UTC ( 0 :0-Jan,1-Feb...)
- getUTCSeconds UTC
- getYear ( 1900)
- new Date
- setDate ( )
- setFullYear ( )
- setHours (24 ,0-23)
- setMilliseconds
- setMinutes
- setMonth ( 0 :0-Jan,1-Feb...)
- setSeconds
- setTime UTC 1970.1.1 0:00
- setUTCDate UTC ( )
- setUTCFullYear UTC ( )
- setUTCHours UTC (24 ,0-23)
- setUTCMilliseconds UTC
- setUTCMinutes UTC
- setUTCMonth UTC ( 0 :0-Jan,1-Feb...)
- setUTCSeconds UTC
- setYear ( 1900)
- toString " / "
- UTC UTC
+ Key
- BACKSPACE Backspace(<-)
- CAPSLOCK CapsLock
- CONTROL Ctrl
- DELETEKEY Delete(Del)
- DOWN
- END End
- ENTER Enter( )
- ESCAPE Esc
- getAscii Ascii
- getCode
- HOME Home
- INSERT Insert(Ins)
- isDown True
- isToggled Caps lock Num Lock (True)
- LEFT
- PGDN PageDown(PGDN)
- PGUP PageUp(PGUP)
- RIGHT
- SHIFT Shift
- SPACE
- TAB Tab
- UP
+ Math
- abs abs(n) n
- acos acos(n) n ( : )
- asin asin(n) n ( : )
- atan atan(n) n ( : )
- atan2 atan2(x,y) x/y
- ceil ceil(n) n ( )
- cos cos(n) n (n : )
- E Euler( ) ( 2.718)
- exp
- floor floor(n) n ( )
- LN10 ln10( 2.302)
- LN2 ln2( 0.693)
- log (e )
- LOG10E 10 E ( 0.434)
- LOG2E 2 E ( 1.443)
- max
- min
- PI ( 3.14159)
- pow pow(x,y) x y
- random 0-1
- round
- sin sin(n) n (n : )
- sqrt
- SQRT1_2 0.5 ( 0.707)
- SQRT2 2 ( 1.414)
- tan tan(n) n (n : )
+ MovieClip
- attachMovie MC
- dupicateMovieClip MC MC
- getURL
- gotoAndPlay
- gotoAndStop
- loadMovie
- loadVariables
- nextFrame
- play
- prevFrame
- removeMovieClip duplicateMovieClip MC
- startDrag MC
- stop MC
- stopDrag MC
- unloadMovie loadMovie Movie
+ Mouse
- hide
- show
+ Number
- MAX_value FLASH5 1.79769313486231 e 308
- MIN_value FLASH5 5 e -324
- NaN (Not a Number)
- NEGATIVE_INFINITY
- new Number
- POSITIVE_INFINITY
- toString
+ Object
- new Object
- toString
- valueOf
+ Selection
- getBeginIndex ,-1
- getCaretIndex ,-1
- getEndIndex ,-1
- getFocus
- setFocus
- setSelection
+ Sound
- attachSound
- getPan [ ]
- getTransform ( :sxform) [ ]
- getVolume ( )
- new Sound
- setPan [ ]
- setTransform ( :sxform) [ ]
- setVloume ( )
- start
- stop
+ String
- charAt
- charCodeAt
- concat
- fromCharCode
- indexOf , -1(-1 )
- lastIndexOf , -1(-1 )
- length
- new String
- slice
- split
- substr substr( start, length ) start , length
- substring substring( indexA, indexB ) indexA..indexB
- toLowerCase
- toUpperCase
+ XML
- appendChild XML
- attributes XML
- childNodes XML
- cloneNode ( )
- createElement XML
- createTextNode XML
- firstChild XML
- hasChildNodes XML ( true /flash )
- insertBefore XML
- lastChild XML
- load URL XML FLASH
- loaded XML FLASH , true
- new XML XML
- nextSibling XML
- nodeName XML
- nodeType XML (1- ,3- )
- nodevalue XML (text )
- onLoad
- parentNode XML
- parseXML XML XML
- previousSibling XML
- removeNode XML
- send FLASH XML URL
- sendAndLoad FLASH XML URL XML
- toString XML XML
+ XMLSocket XML
- close XML
- connect XML , URL,
- new XMLSocket XML
- onClose XML
- onConnect XML
- onXML XML
- send XML
출처:http://www.360doc.com/content/10/0509/15/1243732_26792591.shtml
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
XML이란 무엇입니까?이것은 저장, 검색 및 공유할 수 있는 형식으로 데이터를 저장하는 강력한 방법입니다. 가장 중요한 것은 XML의 기본 형식이 표준화되어 있기 때문에 시스템이나 플랫폼 간에 로컬 또는 인터넷을 통해 XML을 공유하거나...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.