Flash - AS 기본 코드 해석


       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

좋은 웹페이지 즐겨찾기