flash action script 经典字典教程大全,学flash必备

时间:2012-11-05 16:35:07
【文件属性】:

文件名称:flash action script 经典字典教程大全,学flash必备

文件大小:1.01MB

文件格式:CHM

更新时间:2012-11-05 16:35:07

flash action script 字典 教程

flash action script 经典字典教程大全,学flash必备 -- --(递减) ++ ++(递增) ! !(逻辑 NOT) != !=(不等于) !== !==(不全等) % %(模) %= %=(模赋值) & &(按位 AND 运算符) && &&(逻辑 AND) &= &=(按位 AND 赋值) () ()(括号) - -(减号) * *(乘号) *= *=(相乘赋值) , ,(逗号) . .(点) : :(类型) ?: ?:(条件) / /(除号) // //(注释分隔符) /* /*(注释分隔符) /= /=(除法赋值) [] [](数组访问) ^ ^(按位 XOR) ^= ^=(按位 XOR 赋值) {} {}(对象初始值设定项) | |(按位 OR) || ||(逻辑 OR) |= |=(按位 OR 赋值) ~ ~(按位 NOT) + +(加号) += +=(加法赋值) < <(小于) << <<(按位向左移位) <<= <<=(按位向左移位并赋值) <= <=(小于等于) <> <>(不等于) = =(赋值) -= -=(减法赋值) == ==(等于) === ===(全等) > >(大于) >= >=(大于等于) >> >>(按位向右移位) >>= >>=(按位向右移位并赋值) >>> >>>(按位无符号向右移位) >>>= >>>=(按位无符号向右移位并赋值) 下表列出所有不是运算符号的动作脚本元素。 动作脚本元素 参见条目 #endinitclip #endinitclip #include #include #initclip #initclip __proto__ Object.__proto__ _accProps _accProps _alpha MovieClip._alpha、Button._alpha、TextField._alpha _currentframe MovieClip._currentframe _droptarget MovieClip._droptarget _focusrect _focusrect、Button._focusrect、MovieClip._focusrect _framesloaded MovieClip._framesloaded _global _global 对象 _height Button._height、MovieClip._height、TextField._height _highquality _highquality、Button._highquality、MovieClip._highquality、TextField._highquality _lockroot MovieClip._lockroot _name Button._name、MovieClip._name、TextField._name _parent _parent、Button._parent、MovieClip._parent、TextField._parent _quality _quality、Button._quality、TextField._quality _root _root _rotation Button._rotation、MovieClip._rotation、TextField._rotation _soundbuftime _soundbuftime、Button._soundbuftime、MovieClip._soundbuftime、TextField._soundbuftime _target Button._target、MovieClip._target、TextField._target _totalframes MovieClip._totalframes _url Button._url、MovieClip._url、TextField._url _visible Button._visible、MovieClip._visible、TextField._visible _width Button._width、MovieClip._width、TextField._width _x Button._x、MovieClip._x、TextField._x _xmouse Button._xmouse、MovieClip._xmouse、TextField._xmouse _xscale Button._xscale、MovieClip._xscale、TextField._xscale _y Button._y、MovieClip._y、TextField._y _ymouse Button._ymouse、MovieClip._ymouse、TextField._ymouse _yscale Button._yscale、MovieClip._yscale、TextField._yscale abs Math.abs() Accessibility Accessibility 类 acos Math.acos() activityLevel Camera.activityLevel、Microphone.activityLevel add add addListener Key.addListener()、Mouse.addListener()、MovieClipLoader.addListener()、Selection.addListener()、Stage.addListener()、TextField.addListener() addPage PrintJob.addPage() addProperty Object.addProperty() addRequestHeader LoadVars.addRequestHeader()、XML.addRequestHeader() align Stage.align、TextFormat.align allowDomain LocalConnection.allowDomain、System.security.allowDomain() allowInsecureDomain LocalConnection.allowInsecureDomain、System.security.allowInsecureDomain() and and appendChild XML.appendChild() apply Function.apply() Arguments Arguments 类 Array Array 类、Array() asfunction asfunction asin Math.asin() atan Math.atan() atan2 Math.atan2() attachAudio MovieClip.attachAudio() attachMovie MovieClip.attachMovie() attachSound Sound.attachSound() attachVideo Video.attachVideo() attributes XML.attributes autosize TextField.autoSize avHardwareDisable System.capabilities.avHardwareDisable background TextField.background backgroundColor TextField.backgroundColor BACKSPACE Key.BACKSPACE bandwidth Camera.bandwidth beginFill MovieClip.beginFill() beginGradientFill MovieClip.beginGradientFill() blockIndent TextFormat.blockIndent bold TextFormat.bold 布尔值 Boolean()、Boolean 类 border TextField.border borderColor TextField.borderColor bottomScroll TextField.bottomScroll break break bufferLength NetStream.bufferLength bufferTime NetStream.bufferTime builtInItems ContextMenu.builtInItems bullet TextFormat.bullet 按钮 Button 类 bytesLoaded NetStream.bytesLoaded bytesTotal NetStream.bytesTotal call call()、Function.call() callee arguments.callee caller arguments.caller 摄像头 Camera 类 capabilities System.capabilities 对象 CAPSLOCK Key.CAPSLOCK caption ContextMenuItem.caption case case catch try..catch..finally ceil Math.ceil() charAt String.charAt() charCodeAt String.charCodeAt() childNodes XML.childNodes chr chr class class clear MovieClip.clear()、SharedObject.clear()、Video.clear() clearInterval clearInterval() cloneNode XML.cloneNode() close LocalConnection.close()、NetStream.close()、XMLSocket.close() Color Color 类、TextFormat.color concat Array.concat()、String.concat() connect LocalConnection.connect()、NetConnection.connect()、 XMLSocket.connect() condenseWhite TextField.condenseWhite 构造函数 Array 类、Boolean 类、Camera 类、Color 类、ContextMenu 类、ContextMenuItem 类、Date 类、Error 类、LoadVars 类、LocalConnection 类、Microphone 类、NetConnection 类、NetStream 类、Number 类、Object 类、PrintJob 类、SharedObject 类、Sound 类、String 类、TextField.StyleSheet 类、TextFormat 类、XML 类、XMLSocket 类 contentType LoadVars.contentType、XML.contentType ContextMenu ContextMenu 类 ContextMenuItem ContextMenuItem 类 continue continue CONTROL Key.CONTROL copy ContextMenu.copy()、ContextMenuItem.copy() cos Math.cos() createElement XML.createElement() createEmptyMovieClip MovieClip.createEmptyMovieClip() createTextField MovieClip.createTextField() createTextNode XML.createTextNode() currentFps Camera.currentFps、NetStream.currentFps curveTo MovieClip.curveTo() CustomActions CustomActions 类 customItems ContextMenu.customItems data SharedObject.data 日期 Date 类 deblocking Video.deblocking default default delete delete DELETEKEY Key.DELETEKEY do while do while docTypeDecl XML.docTypeDecl domain LocalConnection.domain() DOWN Key.DOWN duplicateMovieClip duplicateMovieClip()、MovieClip.duplicateMovieClip() duration Sound.duration dynamic dynamic E Math.E else else else if else if embedFonts TextField.embedFonts enabled Button.enabled、ContextMenuItem.enabled、MovieClip.enabled END Key.END endFill MovieClip.endFill() ENTER Key.ENTER eq eq(等于 - 字符串专用) Error Error 类 ESCAPE(常数) Key.ESCAPE escape(函数) escape eval eval() exactSettings System.exactSettings exp Math.exp() extends extends false false finally try..catch..finally findText TextSnapshot.findText() firstChild XML.firstChild floor Math.floor() flush SharedObject.flush() focusEnabled MovieClip.focusEnabled font TextFormat.font for for for..in for..in fps Camera.fps fromCharCode String.fromCharCode() fscommand fscommand() function function、Function 类 gain Microphone.gain ge ge(大于或等于 - 字符串专用) get Camera.get()、CustomActions.get()、get、Microphone.get() getAscii Key.getAscii() getBeginIndex Selection.getBeginIndex() getBounds MovieClip.getBounds() getBytesLoaded LoadVars.getBytesLoaded()、MovieClip.getBytesLoaded()、 Sound.getBytesLoaded()、XML.getBytesLoaded() getBytesTotal LoadVars.getBytesTotal()、MovieClip.getBytesTotal()、Sound.getBytesTotal()、XML.getBytesTotal() getCaretIndex Selection.getCaretIndex() getCode Key.getCode() getCount TextSnapshot.getCount() getDate Date.getDate() getDay Date.getDay() getDepth Button.getDepth()、MovieClip.getDepth()、TextField.getDepth() getEndIndex Selection.getEndIndex() getFocus Selection.getFocus() getFontList TextField.getFontList() getFullYear Date.getFullYear() getHours Date.getHours() getInstanceAtDepth MovieClip.getInstanceAtDepth() getLocal SharedObject.getLocal() getMilliseconds Date.getMilliseconds() getMinutes Date.getMinutes() getMonth Date.getMonth() getNewTextFormat TextField.getNewTextFormat() getNextHighestDepth MovieClip.getNextHighestDepth() getPan Sound.getPan() getProgress MovieClipLoader.getProgress() getProperty getProperty getRGB Color.getRGB() getSeconds Date.getSeconds() getSelected TextSnapshot.getSelected() getSelectedText TextSnapshot.getSelectedText() getSize SharedObject.getSize() getStyle TextField.StyleSheet.getStyle() getStyleNames TextField.StyleSheet.getStyleNames() getSWFVersion MovieClip.getSWFVersion() getText TextSnapshot.getText() getTextExtent TextFormat.getTextExtent() getTextFormat TextField.getTextFormat() getTextSnapshot MovieClip.getTextSnapshot() getTime Date.getTime() getTimer getTimer getTimezoneOffset Date.getTimezoneOffset() getTransform Color.getTransform()、Sound.getTransform() getURL getURL()、MovieClip.getURL() getUTCDate Date.getUTCDate() getUTCDay Date.getUTCDay() getUTCFullYear Date.getUTCFullYear() getUTCHours Date.getUTCHours() getUTCMilliseconds Date.getUTCMilliseconds() getUTCMinutes Date.getUTCMinutes() getUTCMonth Date.getUTCMonth() getUTCSeconds Date.getUTCSeconds() getVersion getVersion getVolume Sound.getVolume() getYear Date.getYear() globalToLocal MovieClip.globalToLocal() goto gotoAndPlay()、gotoAndStop() gotoAndPlay gotoAndPlay()、MovieClip.gotoAndPlay() gotoAndStop gotoAndStop()、MovieClip.gotoAndStop() gt gt(大于 - 字符串专用) hasAccessibility System.capabilities.hasAccessibility hasAudio System.capabilities.hasAudio hasAudioEncoder System.capabilities.hasAudioEncoder hasChildNodes XML.hasChildNodes() hasEmbeddedVideo System.capabilities.hasEmbeddedVideo hasMP3 System.capabilities.hasMP3 hasPrinting System.capabilities.hasPrinting hasScreenBroadcast System.capabilities.hasScreenBroadcast hasScreenPlayback System.capabilities.hasScreenPlayback hasStreamingAudio System.capabilities.hasStreamingAudio hasStreamingVideo System.capabilities.hasStreamingVideo hasVideoEncoder System.capabilities.hasVideoEncoder height Camera.height、Stage.height、Video.height hide Mouse.hide() hideBuiltInItems ContextMenu.hideBuiltInItems() hitArea MovieClip.hitArea hitTest MovieClip.hitTest() hitTestTextNearPos TextSnapshot.hitTestTextNearPos() HOME Key.HOME hscroll TextField.hscroll html TextField.html htmlText TextField.htmlText ID3 Sound.ID3 if if ifFrameLoaded ifFrameLoaded ignoreWhite XML.ignoreWhite implements implements import import indent TextFormat.indent index Camera.index、Microphone.index indexOf String.indexOf() Infinity Infinity -Infinity -Infinity INSERT Key.INSERT insertBefore XML.insertBefore() install CustomActions.install() instanceof instanceof int int interface interface isActive Accessibility.isActive() isDebugger System.capabilities.isDebugger isDown Key.isDown() isFinite isFinite isNaN isNaN() isToggled Key.isToggled() italic TextFormat.italic join Array.join() Key Key 类 language System.capabilities.language lastChild XML.lastChild lastIndexOf String.lastIndexOf() le le(小于或等于 - 字符串专用) leading TextFormat.leading LEFT Key.LEFT leftMargin TextFormat.leftMargin length length、arguments.length、Array.length、String.length、TextField.length level _level lineStyle MovieClip.lineStyle() lineTo MovieClip.linSeTo() list CustomActions.list() LN10 Math.LN10 LN2 Math.LN2 load LoadVars.load()、TextField.StyleSheet.load()、XML.load() loadClip MovieClipLoader.loadClip() loaded LoadVars.loaded、XML.loaded loadMovie loadMovie()、MovieClip.loadMovie() loadMovieNum loadMovieNum() loadSound Sound.loadSound() loadVariables loadVariables()、MovieClip.loadVariables() loadVariablesNum loadVariablesNum() LoadVars LoadVars 类 LocalConnection LocalConnection 类 localFileReadDisable System.capabilities.localFileReadDisable localToGlobal MovieClip.localToGlobal() log Math.log() LOG10E Math.LOG10E LOG2E Math.LOG2E lt lt(小于 - 字符串专用) manufacturer System.capabilities.manufacturer Math Math 类 max Math.max() MAX_VALUE Number.MAX_VALUE maxChars TextField.maxChars maxhscroll TextField.maxhscroll maxscroll maxscroll、TextField.maxscroll mbchr mbchr mblength mblength mbord mbord mbsubstring mbsubstring menu Button.menu、MovieClip.menu、TextField.menu message Error.message 麦克风 Microphone 类 min Math.min() MIN_VALUE Number.MIN_VALUE MMExecute MMExecute() motionLevel Camera.motionLevel motionTimeOut Camera.motionTimeOut Mouse Mouse 类 mouseWheelEnabled TextField.mouseWheelEnabled moveTo MovieClip.moveTo() MovieClip MovieClip 类 MovieClipLoader MovieClipLoader 类 multiline TextField.multiline muted Camera.muted、Microphone.muted name Error.name、Microphone.name names Camera.names、Microphone.names NaN NaN、Number.NaN ne ne(不等于 - 字符串专用) NEGATIVE_INFINITY Number.NEGATIVE_INFINITY NetConnection NetConnection 类 NetStream NetStream 类 new(运算符) new newline newline nextFrame nextFrame()、MovieClip.nextFrame() nextScene nextScene() nextSibling XML.nextSibling nodeName XML.nodeName nodeType XML.nodeType nodeValue XML.nodeValue not not null null 数字 Number()、Number 类 对象 Object 类、Object() on on() onActivity Camera.onActivity、Microphone.onActivity onChanged TextField.onChanged onClipEvent onClipEvent() onClose XMLSocket.onClose() onConnect XMLSocket.onConnect() onData LoadVars.onData、MovieClip.onData、XML.onData、XMLSocket.onData() onDragOut Button.onDragOut、MovieClip.onDragOut onDragOver Button.onDragOver、MovieClip.onDragOver onEnterFrame MovieClip.onEnterFrame onID3 Sound.onID3 onKeyDown Button.onKeyDown、Key.onKeyDown、MovieClip.onKeyDown onKeyUp Button.onKeyUp、Key.onKeyUp、MovieClip.onKeyUp onKillFocus Button.onKillFocus、MovieClip.onKillFocus、TextField.onKillFocus onLoad LoadVars.onLoad、MovieClip.onLoad、Sound.onLoad、TextField.StyleSheet.onLoad、XML.onLoad() onLoadComplete MovieClipLoader.onLoadComplete() onLoadError MovieClipLoader.onLoadError() onLoadInit MovieClipLoader.onLoadInit() onLoadProgress MovieClipLoader.onLoadProgress() onLoadStart MovieClipLoader.onLoadStart() onMouseDown Mouse.onMouseDown、MovieClip.onMouseDown onMouseMove Mouse.onMouseMove、MovieClip.onMouseMove onMouseUp Mouse.onMouseUp、MovieClip.onMouseUp onMouseWheel Mouse.onMouseWheel onPress Button.onPress、MovieClip.onPress onRelease Button.onRelease、MovieClip.onRelease onReleaseOutisde Button.onReleaseOutside、MovieClip.onReleaseOutside onResize Stage.onResize onRollOut Button.onRollOut、MovieClip.onRollOut onRollOver Button.onRollOver、MovieClip.onRollOver onScroller TextField.onScroller onSelect ContextMenu.onSelect、ContextMenuItem.onSelect onSetFocus Button.onSetFocus、MovieClip.onSetFocus、Selection.onSetFocus、TextField.onSetFocus onSoundComplete Sound.onSoundComplete onStatus Camera.onStatus、LocalConnection.onStatus、Microphone.onStatus、NetStream.onStatus、SharedObject.onStatus、System.onStatus onUnload MovieClip.onUnload onUpdate onUpdate onXML XMLSocket.onXML() or(逻辑 OR) or ord ord os System.capabilities.os parentNode XML.parentNode parseCSS TextField.StyleSheet.parseCSS() parseFloat parseFloat() parseInt parseInt parseXML XML.parseXML() password TextField.password pause NetStream.pause() PGDN Key.PGDN PGUP Key.PGUP PI Math.PI pixelAspectRatio System.capabilities.pixelAspectRatio play play()、MovieClip.play()、NetStream.play() playerType System.capabilities.playerType pop Array.pop() position Sound.position POSITIVE_INFINITY Number.POSITIVE_INFINITY pow Math.pow() prevFrame prevFrame()、MovieClip.prevFrame() previousSibling XML.previousSibling prevScene prevScene() print print() printAsBitmap printAsBitmap() printAsBitmapNum printAsBitmapNum() PrintJob PrintJob 类 printNum printNum() private private prototype Function.prototype public public push Array.push() quality Camera.quality random random、Math.random() rate Microphone.rate registerClass Object.registerClass() removeListener Key.removeListener()、Mouse.removeListener()、MovieClipLoader.removeListener()、Selection.removeListener()、Stage.removeListener()、TextField.removeListener() removeMovieClip removeMovieClip()、MovieClip.removeMovieClip() removeNode XML.removeNode() removeTextField TextField.removeTextField() replaceSel TextField.replaceSel() replaceText TextField.replaceText() resolutionX System.capabilities.screenResolutionX resolutionY System.capabilities.screenResolutionY restrict TextField.restrict return return reverse Array.reverse() RIGHT Key.RIGHT rightMargin TextFormat.rightMargin round Math.round() scaleMode Stage.scaleMode screenColor System.capabilities.screenColor screenDPI System.capabilities.screenDPI screenResolutionX System.capabilities.screenResolutionX screenResolutionY System.capabilities.screenResolutionY scroll scroll、TextField.scroll seek NetStream.seek() selectable TextField.selectable Selection Selection 类 send LoadVars.send()、LocalConnection.send()、PrintJob.send()、XML.send()、XMLSocket.send() sendAndLoad LoadVars.sendAndLoad()、XML.sendAndLoad() separatorBefore ContextMenuItem.separatorBefore serverString System.capabilities.serverString set set set variable set variable setBufferTime NetStream.setBufferTime() setClipboard System.setClipboard() setDate Date.setDate() setFocus Selection.setFocus() setFullYear Date.setFullYear() setGain Microphone.setGain() setHours Date.setHours() setInterval setInterval() setMask MovieClip.setMask() setMilliseconds Date.setMilliseconds() setMinutes Date.setMinutes() setMode Camera.setMode() setMonth Date.setMonth() setMotionLevel Camera.setMotionLevel() setNewTextFormat TextField.setNewTextFormat() setPan Sound.setPan() setProperty setProperty() setQuality Camera.setQuality() setRate Microphone.setRate() setRGB Color.setRGB() setSeconds Date.setSeconds() setSelectColor TextSnapshot.setSelectColor() setSelected TextSnapshot.setSelected() setSelection Selection.setSelection() setSilenceLevel Microphone.setSilenceLevel() setStyle TextField.StyleSheet.setStyle() setTextFormat TextField.setTextFormat() setTime Date.setTime() setTransform Color.setTransform()、Sound.setTransform() setUseEchoSuppression Microphone.setUseEchoSuppression() setUTCDate Date.setUTCDate() setUTCFullYear Date.setUTCFullYear() setUTCHours Date.setUTCHours() setUTCMilliseconds Date.setUTCMilliseconds() setUTCMinutes Date.setUTCMinutes() setUTCMonth Date.setUTCMonth() setUTCSeconds Date.setUTCSeconds() setVolume Sound.setVolume() setYear Date.setYear() SharedObject SharedObject 类 SHIFT(常数) Key.SHIFT shift(方法) Array.shift() show Mouse.show() showMenu Stage.showMenu showSettings System.showSettings() silenceLevel Microphone.silenceLevel() silenceTimeout Microphone.silenceTimeout() sin Math.sin() size TextFormat.size slice Array.slice()、String.slice() smoothing Video.smoothing sort Array.sort() sortOn Array.sortOn() Sound Sound 类 SPACE Key.SPACE splice Array.splice() split String.split() sqrt Math.sqrt() SQRT1_2 Math.SQRT1_2 SQRT2 Math.SQRT2 Stage Stage 类 start PrintJob.start()、Sound.start() startDrag startDrag()、MovieClip.startDrag() static static status XML.status stop stop()、MovieClip.stop()、Sound.stop() stopAllSounds stopAllSounds() stopDrag stopDrag()、MovieClip.stopDrag() 字符串 String 类、String() StyleSheet(类) TextField.StyleSheet 类 styleSheet(属性) TextField.styleSheet substr String.substr() substring substring、String.substring() super super swapDepths MovieClip.swapDepths() switch switch System System 类 TAB Key.TAB tabChildren MovieClip.tabChildren tabEnabled Button.tabEnabled、MovieClip.tabEnabled、TextField.tabEnabled tabIndex Button.tabIndex、MovieClip.tabIndex、TextField.tabIndex tabStops TextFormat.tabStops tan Math.tan() target TextFormat.target targetPath targetPath tellTarget tellTarget text TextField.text textColor TextField.textColor TextField TextField 类 TextFormat TextFormat 类 textHeight TextField.textHeight TextSnapshot TextSnapshot 对象 textWidth TextField.textWidth this this throw throw time NetStream.time toggleHighQuality toggleHighQuality() toLowerCase String.toLowerCase() toString Array.toString()、Boolean.toString()、Date.toString()、Error.toString()、LoadVars.toString()、Number.toString()、Object.toString()、XML.toString() toUpperCase String.toUpperCase() trace trace() trackAsMenu Button.trackAsMenu、MovieClip.trackAsMenu true true try try..catch..finally type TextField.type typeof typeof undefined undefined underline TextFormat.underline unescape unescape uninstall CustomActions.uninstall() unloadClip MovieClipLoader.unloadClip() unloadMovie unloadMovie()、MovieClip.unloadMovie() unLoadMovieNum unloadMovieNum() unshift Array.unshift() unwatch Object.unwatch() UP Key.UP updateAfterEvent updateAfterEvent() updateProperties Accessibility.updateProperties() url TextFormat.url useCodePage System.useCodepage useEchoSuppression Microphone.useEchoSuppression() useHandCursor Button.useHandCursor、MovieClip.useHandCursor UTC Date.UTC() valueOf Boolean.valueOf()、Number.valueOf()、Object.valueOf() var var variable TextField.variable version System.capabilities.version Video Video 类 visible ContextMenuItem.visible void void watch Object.watch() while while width Camera.width、Stage.width、Video.width with with wordwrap TextField.wordWrap XML XML 类 xmlDecl XML.xmlDecl XMLNode XMLNode 类 XMLSocket XMLSocket 类


网友评论

  • 还算有用,入门的看看