|
5 600 brands
1 870 000 user's guides |
|
|
|||||||||||||||
|
Search a brand
Advanced Search
|
Our partners wish to propose you the following products
|
User manual MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE
Diplodocs help download the user guide MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE.
Preview of the first 3 pages of manual
You either have JavaScript turned off or an old version of Adobe Flash Player Get the latest Flash Player.
User guide MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE
Detailed instructions for use are in the User's Guide. ActionScript 2.0 Language Reference
Trademarks 1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite, FlashPaper, Flash Video Encoder, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder, Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit, Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally. Third-Party Information This guide contains links to third-party websites that are not under the control of Macromedia, and Macromedia is not responsible for the content on any linked site. If you access a third-party website mentioned in this guide, then you do so at your own risk. Macromedia provides these links only as a convenience, and the inclusion of the link does not imply that Macromedia endorses or accepts any responsibility for the content on those third-party sites. Speech compression and decompression technology licensed from Nellymoser, Inc. (www.nellymoser.com). SorensonTM SparkTM video compression and decompression technology licensed from Sorenson Media, Inc. Opera ® browser Copyright © 1995-2002 Opera Software ASA and its suppliers. All rights reserved. Macromedia Flash 8 video is powered by On2 TrueMotion video technology. © 1992-2005 On2 Technologies, Inc. All Rights Reserved. http://www.on2.com. Mitsubishi Electric Research Laboratory: This product includes software that is Copyright © 2005, Mitsubishi Electric Research Laboratory Inc. All Rights Reserved. http://www.merl.com. Copyright © 2004-2005 Macromedia, Inc. All rights reserved. This manual may not be copied, photocopied, reproduced, translated, or converted to any electronic or machine-readable form in whole or in part without written approval from Macromedia, Inc. Notwithstanding the foregoing, the owner or authorized user of a valid copy of the software with which this manual was provided may print out one copy of this manual from an electronic version of this manual for the sole purpose of such owner or authorized user learning to use such software, provided that no part of this manual may be printed out, reproduced, distributed, resold, or transmitted for any other purposes, including, without limitation, commercial purposes, such as selling copies of this documentation or providing paid-for support services. Acknowledgments Project Management: JuLee Burdekin Lead Writers: Francis Cheng, Robert Dixon, Shimul Rahim Additional Writers: Jen deHaan, Thais Derich, Guy Haas, David Jacowitz, Jeff Swartz Samples Developers: Luke Bayes, Francis Cheng, Robert Dixon, Ali Mills, Jeff Swartz Editing: Linda Adler, Geta Carlson, Evelyn Eldridge, John Hammett, Noreen Maher, Mark Nigara, Lisa Stanziano, Anne Szabla, Jessie Wood Production Management: Patrice O'Neill Media Design and Production: Adam Barnett, John Francis, Brett Jarvis, Mario Reynoso Special thanks to: Peter deHaan, Gary Grossman, Lee Thomason, and The Flash Player Core Team First Edition: September 2005 Macromedia, Inc. 601 Townsend St. San Francisco, CA 94103
Contents
Chapter 1: ActionScript language elements. . . . . . . . . . . . . . . . . . 31 Compiler Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 #endinitclip directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 #include directive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 #initclip directive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 false constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Infinity constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 -Infinity constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 NaN constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 newline constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 null constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37 true constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 undefined constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Global Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Array function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 asfunction protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Boolean function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 call function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 chr function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 clearInterval function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 duplicateMovieClip function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 escape function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 eval function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 fscommand function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 getProperty function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 getTimer function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 getURL function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 getVersion function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 gotoAndPlay function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 gotoAndStop function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 ifFrameLoaded function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 int function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 isFinite function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 isNaN function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 length function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 loadMovie function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
3
loadMovieNum function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 loadVariables function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 loadVariablesNum function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 mbchr function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 mblength function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 mbord function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 mbsubstring function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 MMExecute function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 nextFrame function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 nextScene function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Number function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Object function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 on handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 onClipEvent handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 ord function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 parseFloat function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 parseInt function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 play function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 prevFrame function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 prevScene function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 print function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 printAsBitmap function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 printAsBitmapNum function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 printNum function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 random function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 removeMovieClip function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 setInterval function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 setProperty function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 showRedrawRegions function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 startDrag function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 stop function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 stopAllSounds function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 stopDrag function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 String function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 substring function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 targetPath function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 tellTarget function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 toggleHighQuality function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 trace function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 unescape function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 unloadMovie function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 unloadMovieNum function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 updateAfterEvent function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 Global Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 _accProps property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
4
Contents
_focusrect property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 _global property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 _highquality property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 _level property. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 maxscroll property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120 _parent property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120 _quality property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 _root property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 scroll property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124 _soundbuftime property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124 this property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125 Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 + addition operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132 += addition assignment operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133 [] array access operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134 = assignment operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 & bitwise AND operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138 &= bitwise AND assignment operator . . . . . . . . . . . . . . . . . . . . . . . . .139 << bitwise left shift operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140 <<= bitwise left shift and assignment operator. . . . . . . . . . . . . . . . . . . 141 ~ bitwise NOT operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142 | bitwise OR operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144 |= bitwise OR assignment operator . . . . . . . . . . . . . . . . . . . . . . . . . . .145 >> bitwise right shift operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146 >>= bitwise right shift and assignment operator . . . . . . . . . . . . . . . . . 147 >>> bitwise unsigned right shift operator . . . . . . . . . . . . . . . . . . . . . . . .148 >>>= bitwise unsigned right shift and assignment operator . . . . . . . .149 ^ bitwise XOR operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150 ^= bitwise XOR assignment operator . . . . . . . . . . . . . . . . . . . . . . . . . . 151 /*..*/ block comment delimiter operator . . . . . . . . . . . . . . . . . . . . . . .152 , comma operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153 add concatenation (strings) operator . . . . . . . . . . . . . . . . . . . . . . . . .154 ?: conditional operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155 -- decrement operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156 / division operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156 /= division assignment operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 . dot operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158 == equality operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159 eq equality (strings) operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160 > greater than operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 gt greater than (strings) operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . .162 >= greater than or equal to operator . . . . . . . . . . . . . . . . . . . . . . . . . . .162 ge greater than or equal to (strings) operator . . . . . . . . . . . . . . . . . .163 ++ increment operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .164 != inequality operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166
Contents
5
<> inequality operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 instanceof operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 < less than operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 lt less than (strings) operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 <= less than or equal to operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 le less than or equal to (strings) operator. . . . . . . . . . . . . . . . . . . . . . . 171 // line comment delimiter operator . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 && logical AND operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 and logical AND operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 ! logical NOT operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 not logical NOT operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 || logical OR operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 or logical OR operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 % modulo operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 %= modulo assignment operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 * multiplication operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 *= multiplication assignment operator . . . . . . . . . . . . . . . . . . . . . . . . 179 new operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 ne not equal (strings) operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 {} object initializer operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181 () parentheses operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 === strict equality operator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 !== strict inequality operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 " string delimiter operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 - subtraction operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 -= subtraction assignment operator . . . . . . . . . . . . . . . . . . . . . . . . . . 188 : type operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 typeof operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 void operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191 Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 break statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 case statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 class statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 continue statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 default statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 delete statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 do..while statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 dynamic statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 else statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 else if statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 extends statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207 for statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 for..in statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211 function statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 get statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
6
Contents
if statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215 implements statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216 import statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 interface statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .218 intrinsic statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219 private statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .221 public statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 return statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 set statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 set variable statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 static statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 super statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 switch statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 throw statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 try..catch..finally statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 var statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 while statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 with statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 Chapter 2: ActionScript classes . . . . . . . . . . . . . . . . . . . . . . . . . 239 Accessibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 isActive (Accessibility.isActive method) . . . . . . . . . . . . . . . . . . . . . . 240 updateProperties (Accessibility.updateProperties method) . . . . .241 arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 callee (arguments.callee property). . . . . . . . . . . . . . . . . . . . . . . . . . . 243 caller (arguments.caller property). . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 length (arguments.length property) . . . . . . . . . . . . . . . . . . . . . . . . . . 243 Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244 Array constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247 CASEINSENSITIVE (Array.CASEINSENSITIVE property). . . . . 248 concat (Array.concat method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249 DESCENDING (Array.DESCENDING property) . . . . . . . . . . . . . . 250 join (Array.join method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 length (Array.length property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .251 NUMERIC (Array.NUMERIC property). . . . . . . . . . . . . . . . . . . . . . . 252 pop (Array.pop method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 push (Array.push method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 RETURNINDEXEDARRAY (Array.RETURNINDEXEDARRAY property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 reverse (Array.reverse method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 shift (Array.shift method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 slice (Array.slice method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 sort (Array.sort method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 sortOn (Array.sortOn method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 splice (Array.splice method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Contents
7
toString (Array.toString method). . . . . . . . . . . . . . . . . . . . . . . . . . . . .264 UNIQUESORT (Array.UNIQUESORT property) . . . . . . . . . . . . . . .264 unshift (Array.unshift method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265 AsBroadcaster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265 addListener (AsBroadcaster.addListener method) . . . . . . . . . . . .266 broadcastMessage (AsBroadcaster.broadcastMessage method) . . . . . . . . . . . . . . . 267 initialize (AsBroadcaster.initialize method) . . . . . . . . . . . . . . . . . . . .268 _listeners (AsBroadcaster._listeners property). . . . . . . . . . . . . . . . .270 removeListener (AsBroadcaster.removeListener method). . . . . . 271 BevelFilter (flash.filters.BevelFilter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 angle (BevelFilter.angle property). . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 BevelFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 blurX (BevelFilter.blurX property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278 blurY (BevelFilter.blurY property) . . . . . . . . . . . . . . . . . . . . . . . . . . . .279 clone (BevelFilter.clone method) . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 distance (BevelFilter.distance property) . . . . . . . . . . . . . . . . . . . . . .282 highlightAlpha (BevelFilter.highlightAlpha property) . . . . . . . . . . .283 highlightColor (BevelFilter.highlightColor property) . . . . . . . . . . . .284 knockout (BevelFilter.knockout property). . . . . . . . . . . . . . . . . . . . .285 quality (BevelFilter.quality property). . . . . . . . . . . . . . . . . . . . . . . . . .286 shadowAlpha (BevelFilter.shadowAlpha property). . . . . . . . . . . . . 287 shadowColor (BevelFilter.shadowColor property) . . . . . . . . . . . . .288 strength (BevelFilter.strength property) . . . . . . . . . . . . . . . . . . . . . .289 type (BevelFilter.type property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 BitmapData (flash.display.BitmapData). . . . . . . . . . . . . . . . . . . . . . . . . 291 applyFilter (BitmapData.applyFilter method) . . . . . . . . . . . . . . . . . .297 BitmapData constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 clone (BitmapData.clone method) . . . . . . . . . . . . . . . . . . . . . . . . . . 300 colorTransform (BitmapData.colorTransform method) . . . . . . . . 302 copyChannel (BitmapData.copyChannel method) . . . . . . . . . . . . 303 copyPixels (BitmapData.copyPixels method) . . . . . . . . . . . . . . . . 305 dispose (BitmapData.dispose method) . . . . . . . . . . . . . . . . . . . . . . 306 draw (BitmapData.draw method) . . . . . . . . . . . . . . . . . . . . . . . . . . . .307 fillRect (BitmapData.fillRect method) . . . . . . . . . . . . . . . . . . . . . . . 309 floodFill (BitmapData.floodFill method) . . . . . . . . . . . . . . . . . . . . . . 310 generateFilterRect (BitmapData.generateFilterRect method). . . .311 getColorBoundsRect (BitmapData.getColorBoundsRect method) . . . . . . . . . . . . . . . . 312 getPixel (BitmapData.getPixel method) . . . . . . . . . . . . . . . . . . . . . . 313 getPixel32 (BitmapData.getPixel32 method) . . . . . . . . . . . . . . . . . 314 height (BitmapData.height property) . . . . . . . . . . . . . . . . . . . . . . . . . 315 hitTest (BitmapData.hitTest method). . . . . . . . . . . . . . . . . . . . . . . . . 315 loadBitmap (BitmapData.loadBitmap method) . . . . . . . . . . . . . . . . 317 merge (BitmapData.merge method) . . . . . . . . . . . . . . . . . . . . . . . . . 318
8
Contents
noise (BitmapData.noise method) . . . . . . . . . . . . . . . . . . . . . . . . . . . .319 paletteMap (BitmapData.paletteMap method) . . . . . . . . . . . . . . . . 320 perlinNoise (BitmapData.perlinNoise method) . . . . . . . . . . . . . . . . 322 pixelDissolve (BitmapData.pixelDissolve method) . . . . . . . . . . . . 324 rectangle (BitmapData.rectangle property) . . . . . . . . . . . . . . . . . . . 326 scroll (BitmapData.scroll method) . . . . . . . . . . . . . . . . . . . . . . . . . . . 326 setPixel (BitmapData.setPixel method) . . . . . . . . . . . . . . . . . . . . . . 327 setPixel32 (BitmapData.setPixel32 method) . . . . . . . . . . . . . . . . . 328 threshold (BitmapData.threshold method) . . . . . . . . . . . . . . . . . . . 329 transparent (BitmapData.transparent property) . . . . . . . . . . . . . . . .331 width (BitmapData.width property) . . . . . . . . . . . . . . . . . . . . . . . . . . .331 BitmapFilter (flash.filters.BitmapFilter) . . . . . . . . . . . . . . . . . . . . . . . . . 332 clone (BitmapFilter.clone method) . . . . . . . . . . . . . . . . . . . . . . . . . . 333 BlurFilter (flash.filters.BlurFilter). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 BlurFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 blurX (BlurFilter.blurX property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 blurY (BlurFilter.blurY property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 clone (BlurFilter.clone method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 quality (BlurFilter.quality property). . . . . . . . . . . . . . . . . . . . . . . . . . . 340 Boolean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .341 Boolean constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342 toString (Boolean.toString method) . . . . . . . . . . . . . . . . . . . . . . . . . 343 valueOf (Boolean.valueOf method) . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 _alpha (Button._alpha property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347 blendMode (Button.blendMode property) . . . . . . . . . . . . . . . . . . . . 348 cacheAsBitmap (Button.cacheAsBitmap property) . . . . . . . . . . . 353 enabled (Button.enabled property) . . . . . . . . . . . . . . . . . . . . . . . . . . 354 filters (Button.filters property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 _focusrect (Button._focusrect property) . . . . . . . . . . . . . . . . . . . . . . 357 getDepth (Button.getDepth method) . . . . . . . . . . . . . . . . . . . . . . . . 357 _height (Button._height property). . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 _highquality (Button._highquality property) . . . . . . . . . . . . . . . . . . . 359 menu (Button.menu property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359 _name (Button._name property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 onDragOut (Button.onDragOut handler) . . . . . . . . . . . . . . . . . . . . . .361 onDragOver (Button.onDragOver handler) . . . . . . . . . . . . . . . . . . . .361 onKeyDown (Button.onKeyDown handler) . . . . . . . . . . . . . . . . . . . 362 onKeyUp (Button.onKeyUp handler) . . . . . . . . . . . . . . . . . . . . . . . . 363 onKillFocus (Button.onKillFocus handler) . . . . . . . . . . . . . . . . . . . . 364 onPress (Button.onPress handler). . . . . . . . . . . . . . . . . . . . . . . . . . . 364 onRelease (Button.onRelease handler) . . . . . . . . . . . . . . . . . . . . . . 365 onReleaseOutside (Button.onReleaseOutside handler). . . . . . . . 365 onRollOut (Button.onRollOut handler) . . . . . . . . . . . . . . . . . . . . . . . 366 onRollOver (Button.onRollOver handler) . . . . . . . . . . . . . . . . . . . . . 366
Contents
9
onSetFocus (Button.onSetFocus handler). . . . . . . . . . . . . . . . . . . .366 _parent (Button._parent property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367 _quality (Button._quality property). . . . . . . . . . . . . . . . . . . . . . . . . . . .368 _rotation (Button._rotation property) . . . . . . . . . . . . . . . . . . . . . . . . .368 scale9Grid (Button.scale9Grid property) . . . . . . . . . . . . . . . . . . . . .369 _soundbuftime (Button._soundbuftime property) . . . . . . . . . . . . . .370 tabEnabled (Button.tabEnabled property) . . . . . . . . . . . . . . . . . . . . 371 tabIndex (Button.tabIndex property) . . . . . . . . . . . . . . . . . . . . . . . . . 371 _target (Button._target property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372 trackAsMenu (Button.trackAsMenu property). . . . . . . . . . . . . . . . . 373 _url (Button._url property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 useHandCursor (Button.useHandCursor property) . . . . . . . . . . . . 375 _visible (Button._visible property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 _width (Button._width property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 _x (Button._x property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377 _xmouse (Button._xmouse property) . . . . . . . . . . . . . . . . . . . . . . . . . 377 _xscale (Button._xscale property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 _y (Button._y property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 _ymouse (Button._ymouse property) . . . . . . . . . . . . . . . . . . . . . . . . .379 _yscale (Button._yscale property) . . . . . . . . . . . . . . . . . . . . . . . . . . . 380 Camera. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381 activityLevel (Camera.activityLevel property) . . . . . . . . . . . . . . . . .383 bandwidth (Camera.bandwidth property) . . . . . . . . . . . . . . . . . . . . .384 currentFps (Camera.currentFps property) . . . . . . . . . . . . . . . . . . . .385 fps (Camera.fps property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .386 get (Camera.get method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 height (Camera.height property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .389 index (Camera.index property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 motionLevel (Camera.motionLevel property). . . . . . . . . . . . . . . . . . 391 motionTimeOut (Camera.motionTimeOut property). . . . . . . . . . . .393 muted (Camera.muted property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 name (Camera.name property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 names (Camera.names property) . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 onActivity (Camera.onActivity handler) . . . . . . . . . . . . . . . . . . . . . . .396 onStatus (Camera.onStatus handler). . . . . . . . . . . . . . . . . . . . . . . . .397 quality (Camera.quality property) . . . . . . . . . . . . . . . . . . . . . . . . . . . .398 setMode (Camera.setMode method) . . . . . . . . . . . . . . . . . . . . . . . . 399 setMotionLevel (Camera.setMotionLevel method) . . . . . . . . . . . . 401 setQuality (Camera.setQuality method) . . . . . . . . . . . . . . . . . . . . . . 402 width (Camera.width property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403 capabilities (System.capabilities). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404 avHardwareDisable (capabilities.avHardwareDisable property) .407 hasAccessibility (capabilities.hasAccessibility property) . . . . . . . .407 hasAudio (capabilities.hasAudio property) . . . . . . . . . . . . . . . . . . . 408 hasAudioEncoder (capabilities.hasAudioEncoder property) . . . 408
10
Contents
hasEmbeddedVideo (capabilities.hasEmbeddedVideo property) . . . . . . . . . . . . . . . . 409 hasIME (capabilities.hasIME property) . . . . . . . . . . . . . . . . . . . . . . . 409 hasMP3 (capabilities.hasMP3 property) . . . . . . . . . . . . . . . . . . . . . 409 hasPrinting (capabilities.hasPrinting property) . . . . . . . . . . . . . . . . .410 hasScreenBroadcast (capabilities.hasScreenBroadcast property) . . . . . . . . . . . . . . . .410 hasScreenPlayback (capabilities.hasScreenPlayback property) .410 hasStreamingAudio (capabilities.hasStreamingAudio property) . 411 hasStreamingVideo (capabilities.hasStreamingVideo property) . 411 hasVideoEncoder (capabilities.hasVideoEncoder property) . . . . . 411 isDebugger (capabilities.isDebugger property) . . . . . . . . . . . . . . . .412 language (capabilities.language property) . . . . . . . . . . . . . . . . . . . . .412 localFileReadDisable (capabilities.localFileReadDisable property) . . . . . . . . . . . . . . . .413 manufacturer (capabilities.manufacturer property) . . . . . . . . . . . . .414 os (capabilities.os property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .414 pixelAspectRatio (capabilities.pixelAspectRatio property) . . . . . .414 playerType (capabilities.playerType property) . . . . . . . . . . . . . . . . .415 screenColor (capabilities.screenColor property) . . . . . . . . . . . . . . .415 screenDPI (capabilities.screenDPI property) . . . . . . . . . . . . . . . . . .415 screenResolutionX (capabilities.screenResolutionX property) . . .416 screenResolutionY (capabilities.screenResolutionY property) . . .416 serverString (capabilities.serverString property) . . . . . . . . . . . . . . .416 version (capabilities.version property). . . . . . . . . . . . . . . . . . . . . . . . . 417 Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 Color constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .419 getRGB (Color.getRGB method). . . . . . . . . . . . . . . . . . . . . . . . . . . . .419 getTransform (Color.getTransform method) . . . . . . . . . . . . . . . . . . 420 setRGB (Color.setRGB method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .421 setTransform (Color.setTransform method) . . . . . . . . . . . . . . . . . . .421 ColorMatrixFilter (flash.filters.ColorMatrixFilter) . . . . . . . . . . . . . . . . . 423 clone (ColorMatrixFilter.clone method) . . . . . . . . . . . . . . . . . . . . . . 426 ColorMatrixFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 matrix (ColorMatrixFilter.matrix property) . . . . . . . . . . . . . . . . . . . . 427 ColorTransform (flash.geom.ColorTransform). . . . . . . . . . . . . . . . . . . 428 alphaMultiplier (ColorTransform.alphaMultiplier property). . . . . . .431 alphaOffset (ColorTransform.alphaOffset property) . . . . . . . . . . . 432 blueMultiplier (ColorTransform.blueMultiplier property) . . . . . . . . 432 blueOffset (ColorTransform.blueOffset property) . . . . . . . . . . . . . 433 ColorTransform constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 concat (ColorTransform.concat method) . . . . . . . . . . . . . . . . . . . . . 435 greenMultiplier (ColorTransform.greenMultiplier property) . . . . . 437 greenOffset (ColorTransform.greenOffset property). . . . . . . . . . . 437 redMultiplier (ColorTransform.redMultiplier property). . . . . . . . . . 438
Contents
11
redOffset (ColorTransform.redOffset property) . . . . . . . . . . . . . . . 439 rgb (ColorTransform.rgb property) . . . . . . . . . . . . . . . . . . . . . . . . . . 440 toString (ColorTransform.toString method) . . . . . . . . . . . . . . . . . . . 441 ContextMenu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442 builtInItems (ContextMenu.builtInItems property) . . . . . . . . . . . . . 444 ContextMenu constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445 copy (ContextMenu.copy method) . . . . . . . . . . . . . . . . . . . . . . . . . . 446 customItems (ContextMenu.customItems property) . . . . . . . . . . .447 hideBuiltInItems (ContextMenu.hideBuiltInItems method) . . . . . .448 onSelect (ContextMenu.onSelect handler). . . . . . . . . . . . . . . . . . . .448 ContextMenuItem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 caption (ContextMenuItem.caption property) . . . . . . . . . . . . . . . . . 451 ContextMenuItem constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452 copy (ContextMenuItem.copy method) . . . . . . . . . . . . . . . . . . . . . . .453 enabled (ContextMenuItem.enabled property) . . . . . . . . . . . . . . . .453 onSelect (ContextMenuItem.onSelect handler) . . . . . . . . . . . . . . 454 separatorBefore (ContextMenuItem.separatorBefore property) 455 visible (ContextMenuItem.visible property) . . . . . . . . . . . . . . . . . . . .456 ConvolutionFilter (flash.filters.ConvolutionFilter) . . . . . . . . . . . . . . . . .457 alpha (ConvolutionFilter.alpha property) . . . . . . . . . . . . . . . . . . . . . 460 bias (ConvolutionFilter.bias property) . . . . . . . . . . . . . . . . . . . . . . . . 461 clamp (ConvolutionFilter.clamp property) . . . . . . . . . . . . . . . . . . . . . 461 clone (ConvolutionFilter.clone method). . . . . . . . . . . . . . . . . . . . . . .462 color (ConvolutionFilter.color property) . . . . . . . . . . . . . . . . . . . . . . 464 ConvolutionFilter constructor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .465 divisor (ConvolutionFilter.divisor property) . . . . . . . . . . . . . . . . . . . .466 matrix (ConvolutionFilter.matrix property). . . . . . . . . . . . . . . . . . . . . 467 matrixX (ConvolutionFilter.matrixX property) . . . . . . . . . . . . . . . . . .468 matrixY (ConvolutionFilter.matrixY property) . . . . . . . . . . . . . . . . . .468 preserveAlpha (ConvolutionFilter.preserveAlpha property) . . . . .468 CustomActions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469 get (CustomActions.get method) . . . . . . . . . . . . . . . . . . . . . . . . . . . .470 install (CustomActions.install method). . . . . . . . . . . . . . . . . . . . . . . . 471 list (CustomActions.list method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473 uninstall (CustomActions.uninstall method) . . . . . . . . . . . . . . . . . . .474 Date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .475 Date constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480 getDate (Date.getDate method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .482 getDay (Date.getDay method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .482 getFullYear (Date.getFullYear method). . . . . . . . . . . . . . . . . . . . . . .483 getHours (Date.getHours method) . . . . . . . . . . . . . . . . . . . . . . . . . . .483 getMilliseconds (Date.getMilliseconds method) . . . . . . . . . . . . . . .484 getMinutes (Date.getMinutes method) . . . . . . . . . . . . . . . . . . . . . . .485 getMonth (Date.getMonth method) . . . . . . . . . . . . . . . . . . . . . . . . . .485 getSeconds (Date.getSeconds method). . . . . . . . . . . . . . . . . . . . . .486
12
Contents
getTime (Date.getTime method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486 getTimezoneOffset (Date.getTimezoneOffset method) . . . . . . . . 487 getUTCDate (Date.getUTCDate method) . . . . . . . . . . . . . . . . . . . . 487 getUTCDay (Date.getUTCDay method). . . . . . . . . . . . . . . . . . . . . . 488 getUTCFullYear (Date.getUTCFullYear method). . . . . . . . . . . . . . 488 getUTCHours (Date.getUTCHours method) . . . . . . . . . . . . . . . . . . 489 getUTCMilliseconds (Date.getUTCMilliseconds method) . . . . . . 490 getUTCMinutes (Date.getUTCMinutes method) . . . . . . . . . . . . . . 490 getUTCMonth (Date.getUTCMonth method) . . . . . . . . . . . . . . . . . 490 getUTCSeconds (Date.getUTCSeconds method) . . . . . . . . . . . . .491 getUTCYear (Date.getUTCYear method) . . . . . . . . . . . . . . . . . . . . .491 getYear (Date.getYear method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 492 setDate (Date.setDate method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493 setFullYear (Date.setFullYear method) . . . . . . . . . . . . . . . . . . . . . . 493 setHours (Date.setHours method). . . . . . . . . . . . . . . . . . . . . . . . . . . 494 setMilliseconds (Date.setMilliseconds method) . . . . . . . . . . . . . . . 495 setMinutes (Date.setMinutes method) . . . . . . . . . . . . . . . . . . . . . . . 495 setMonth (Date.setMonth method) . . . . . . . . . . . . . . . . . . . . . . . . . . 496 setSeconds (Date.setSeconds method) . . . . . . . . . . . . . . . . . . . . . 496 setTime (Date.setTime method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497 setUTCDate (Date.setUTCDate method) . . . . . . . . . . . . . . . . . . . . 498 setUTCFullYear (Date.setUTCFullYear method) . . . . . . . . . . . . . . 498 setUTCHours (Date.setUTCHours method) . . . . . . . . . . . . . . . . . . 499 setUTCMilliseconds (Date.setUTCMilliseconds method) . . . . . . 500 setUTCMinutes (Date.setUTCMinutes method). . . . . . . . . . . . . . . .501 setUTCMonth (Date.setUTCMonth method) . . . . . . . . . . . . . . . . . 502 setUTCSeconds (Date.setUTCSeconds method) . . . . . . . . . . . . . 502 setYear (Date.setYear method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 toString (Date.toString method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504 UTC (Date.UTC method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504 valueOf (Date.valueOf method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505 DisplacementMapFilter (flash.filters.DisplacementMapFilter). . . . . 505 alpha (DisplacementMapFilter.alpha property). . . . . . . . . . . . . . . . 508 clone (DisplacementMapFilter.clone method) . . . . . . . . . . . . . . . . .510 color (DisplacementMapFilter.color property) . . . . . . . . . . . . . . . . .512 componentX (DisplacementMapFilter.componentX property) . . .514 componentY (DisplacementMapFilter.componentY property). . .516 DisplacementMapFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . 517 mapBitmap (DisplacementMapFilter.mapBitmap property) . . . . 520 mapPoint (DisplacementMapFilter.mapPoint property). . . . . . . . 522 mode (DisplacementMapFilter.mode property) . . . . . . . . . . . . . . . 524 scaleX (DisplacementMapFilter.scaleX property) . . . . . . . . . . . . . 525 scaleY (DisplacementMapFilter.scaleY property) . . . . . . . . . . . . . 527 DropShadowFilter (flash.filters.DropShadowFilter). . . . . . . . . . . . . . 528 alpha (DropShadowFilter.alpha property) . . . . . . . . . . . . . . . . . . . . .531
Contents
13
angle (DropShadowFilter.angle property). . . . . . . . . . . . . . . . . . . . .532 blurX (DropShadowFilter.blurX property) . . . . . . . . . . . . . . . . . . . . .533 blurY (DropShadowFilter.blurY property) . . . . . . . . . . . . . . . . . . . . .534 clone (DropShadowFilter.clone method) . . . . . . . . . . . . . . . . . . . . .535 color (DropShadowFilter.color property) . . . . . . . . . . . . . . . . . . . . .536 distance (DropShadowFilter.distance property) . . . . . . . . . . . . . . . 537 DropShadowFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .538 hideObject (DropShadowFilter.hideObject property) . . . . . . . . . 540 inner (DropShadowFilter.inner property) . . . . . . . . . . . . . . . . . . . . . 541 knockout (DropShadowFilter.knockout property) . . . . . . . . . . . . 542 quality (DropShadowFilter.quality property). . . . . . . . . . . . . . . . . . .543 strength (DropShadowFilter.strength property) . . . . . . . . . . . . . . 544 Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545 Error constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .546 message (Error.message property) . . . . . . . . . . . . . . . . . . . . . . . . . .547 name (Error.name property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .547 toString (Error.toString method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .548 ExternalInterface (flash.external.ExternalInterface). . . . . . . . . . . . . . 549 addCallback (ExternalInterface.addCallback method) . . . . . . . . . . 551 available (ExternalInterface.available property) . . . . . . . . . . . . . . . .553 call (ExternalInterface.call method). . . . . . . . . . . . . . . . . . . . . . . . . . .553 FileReference (flash.net.FileReference) . . . . . . . . . . . . . . . . . . . . . . . 555 addListener (FileReference.addListener method) . . . . . . . . . . . . 560 browse (FileReference.browse method) . . . . . . . . . . . . . . . . . . . . . . 561 cancel (FileReference.cancel method) . . . . . . . . . . . . . . . . . . . . . . .563 creationDate (FileReference.creationDate property) . . . . . . . . . . .564 creator (FileReference.creator property). . . . . . . . . . . . . . . . . . . . . .565 download (FileReference.download method) . . . . . . . . . . . . . . . . .565 FileReference constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .568 modificationDate (FileReference.modificationDate property) . . 569 name (FileReference.name property) . . . . . . . . . . . . . . . . . . . . . . . 569 onCancel (FileReference.onCancel event listener) . . . . . . . . . . . . .570 onComplete (FileReference.onComplete event listener). . . . . . . . 571 onHTTPError (FileReference.onHTTPError event listener) . . . . . 571 onIOError (FileReference.onIOError event listener) . . . . . . . . . . . . 573 onOpen (FileReference.onOpen event listener) . . . . . . . . . . . . . . .574 onProgress (FileReference.onProgress event listener) . . . . . . . . .575 onSecurityError (FileReference.onSecurityError event listener) . 576 onSelect (FileReference.onSelect event listener). . . . . . . . . . . . . . 577 removeListener (FileReference.removeListener method) . . . . . . 578 size (FileReference.size property) . . . . . . . . . . . . . . . . . . . . . . . . . . .579 type (FileReference.type property) . . . . . . . . . . . . . . . . . . . . . . . . . . 580 upload (FileReference.upload method) . . . . . . . . . . . . . . . . . . . . . . 580 FileReferenceList (flash.net.FileReferenceList). . . . . . . . . . . . . . . . . .584 addListener (FileReferenceList.addListener method) . . . . . . . . . . 587
14
Contents
browse (FileReferenceList.browse method) . . . . . . . . . . . . . . . . . . 588 fileList (FileReferenceList.fileList property) . . . . . . . . . . . . . . . . . . 590 FileReferenceList constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .591 onCancel (FileReferenceList.onCancel event listener) . . . . . . . . . 592 onSelect (FileReferenceList.onSelect event listener). . . . . . . . . . 592 removeListener (FileReferenceList.removeListener method) . . 593 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594 apply (Function.apply method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595 call (Function.call method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597 GlowFilter (flash.filters.GlowFilter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598 alpha (GlowFilter.alpha property). . . . . . . . . . . . . . . . . . . . . . . . . . . . 600 blurX (GlowFilter.blurX property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .601 blurY (GlowFilter.blurY property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602 clone (GlowFilter.clone method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 color (GlowFilter.color property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 GlowFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 inner (GlowFilter.inner property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608 knockout (GlowFilter.knockout property). . . . . . . . . . . . . . . . . . . . . 609 quality (GlowFilter.quality property). . . . . . . . . . . . . . . . . . . . . . . . . . .610 strength (GlowFilter.strength property) . . . . . . . . . . . . . . . . . . . . . . . 611 GradientBevelFilter (flash.filters.GradientBevelFilter) . . . . . . . . . . . . .612 alphas (GradientBevelFilter.alphas property) . . . . . . . . . . . . . . . . . .615 angle (GradientBevelFilter.angle property) . . . . . . . . . . . . . . . . . . . .616 blurX (GradientBevelFilter.blurX property). . . . . . . . . . . . . . . . . . . . . 617 blurY (GradientBevelFilter.blurY property) . . . . . . . . . . . . . . . . . . . .618 clone (GradientBevelFilter.clone method) . . . . . . . . . . . . . . . . . . . . .619 colors (GradientBevelFilter.colors property) . . . . . . . . . . . . . . . . . . 620 distance (GradientBevelFilter.distance property). . . . . . . . . . . . . . .621 GradientBevelFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622 knockout (GradientBevelFilter.knockout property) . . . . . . . . . . . . 624 quality (GradientBevelFilter.quality property) . . . . . . . . . . . . . . . . . 625 ratios (GradientBevelFilter.ratios property) . . . . . . . . . . . . . . . . . . . 627 strength (GradientBevelFilter.strength property) . . . . . . . . . . . . . . 629 type (GradientBevelFilter.type property) . . . . . . . . . . . . . . . . . . . . . 630 GradientGlowFilter (flash.filters.GradientGlowFilter) . . . . . . . . . . . . . .631 alphas (GradientGlowFilter.alphas property). . . . . . . . . . . . . . . . . . 634 angle (GradientGlowFilter.angle property). . . . . . . . . . . . . . . . . . . . 635 blurX (GradientGlowFilter.blurX property) . . . . . . . . . . . . . . . . . . . . 636 blurY (GradientGlowFilter.blurY property) . . . . . . . . . . . . . . . . . . . . 637 clone (GradientGlowFilter.clone method) . . . . . . . . . . . . . . . . . . . . 638 colors (GradientGlowFilter.colors property) . . . . . . . . . . . . . . . . . . 640 distance (GradientGlowFilter.distance property) . . . . . . . . . . . . . . 642 GradientGlowFilter constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643 knockout (GradientGlowFilter.knockout property). . . . . . . . . . . . . 645 quality (GradientGlowFilter.quality property). . . . . . . . . . . . . . . . . . 646
Contents
15
ratios (GradientGlowFilter.ratios property) . . . . . . . . . . . . . . . . . . . . 647 strength (GradientGlowFilter.strength property) . . . . . . . . . . . . . . 650 type (GradientGlowFilter.type property) . . . . . . . . . . . . . . . . . . . . . . 651 IME (System.IME) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .653 addListener (IME.addListener method). . . . . . . . . . . . . . . . . . . . . . .656 ALPHANUMERIC_FULL (IME.ALPHANUMERIC_FULL property) . . . . . . . . . . . . . . . . . . . 657 ALPHANUMERIC_HALF (IME.ALPHANUMERIC_HALF property). . . . . . . . . . . . . . . . . . .658 CHINESE (IME.CHINESE property) . . . . . . . . . . . . . . . . . . . . . . . . 659 doConversion (IME.doConversion method) . . . . . . . . . . . . . . . . . . 659 getConversionMode (IME.getConversionMode method) . . . . . . 660 getEnabled (IME.getEnabled method). . . . . . . . . . . . . . . . . . . . . . . . 661 JAPANESE_HIRAGANA (IME.JAPANESE_HIRAGANA property) . . . . . . . . . . . . . . . . . . . 661 JAPANESE_KATAKANA_FULL (IME.JAPANESE_KATAKANA_FULL property) . . . . . . . . . . . .662 JAPANESE_KATAKANA_HALF (IME.JAPANESE_KATAKANA_HALF property) . . . . . . . . . . . .663 KOREAN (IME.KOREAN property) . . . . . . . . . . . . . . . . . . . . . . . . . .663 onIMEComposition (IME.onIMEComposition event listener) . . . .664 removeListener (IME.removeListener method) . . . . . . . . . . . . . . . .665 setCompositionString (IME.setCompositionString method) . . . .666 setConversionMode (IME.setConversionMode method) . . . . . . . 667 setEnabled (IME.setEnabled method) . . . . . . . . . . . . . . . . . . . . . . . .668 UNKNOWN (IME.UNKNOWN property) . . . . . . . . . . . . . . . . . . . . .668 Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .669 addListener (Key.addListener method) . . . . . . . . . . . . . . . . . . . . . . . 672 BACKSPACE (Key.BACKSPACE property) . . . . . . . . . . . . . . . . . . 673 CAPSLOCK (Key.CAPSLOCK property) . . . . . . . . . . . . . . . . . . . . . 673 CONTROL (Key.CONTROL property) . . . . . . . . . . . . . . . . . . . . . . . 674 DELETEKEY (Key.DELETEKEY property) . . . . . . . . . . . . . . . . . . . 675 DOWN (Key.DOWN property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676 END (Key.END property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676 ENTER (Key.ENTER property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 677 ESCAPE (Key.ESCAPE property) . . . . . . . . . . . . . . . . . . . . . . . . . . . 678 getAscii (Key.getAscii method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678 getCode (Key.getCode method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .679 HOME (Key.HOME property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681 INSERT (Key.INSERT property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681 isAccessible (Key.isAccessible method) . . . . . . . . . . . . . . . . . . . . . .682 isDown (Key.isDown method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .682 isToggled (Key.isToggled method). . . . . . . . . . . . . . . . . . . . . . . . . . .683 LEFT (Key.LEFT property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .685 _listeners (Key._listeners property) . . . . . . . . . . . . . . . . . . . . . . . . . . .685
16
Contents
onKeyDown (Key.onKeyDown event listener) . . . . . . . . . . . . . . . . 686 onKeyUp (Key.onKeyUp event listener) . . . . . . . . . . . . . . . . . . . . . . 687 PGDN (Key.PGDN property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687 PGUP (Key.PGUP property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688 removeListener (Key.removeListener method) . . . . . . . . . . . . . . . 688 RIGHT (Key.RIGHT property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689 SHIFT (Key.SHIFT property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 SPACE (Key.SPACE property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 TAB (Key.TAB property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .691 UP (Key.UP property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .691 LoadVars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 addRequestHeader (LoadVars.addRequestHeader method). . . 695 contentType (LoadVars.contentType property) . . . . . . . . . . . . . . . 696 decode (LoadVars.decode method) . . . . . . . . . . . . . . . . . . . . . . . . . 696 getBytesLoaded (LoadVars.getBytesLoaded method) . . . . . . . . 697 getBytesTotal (LoadVars.getBytesTotal method) . . . . . . . . . . . . . 698 load (LoadVars.load method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 loaded (LoadVars.loaded property). . . . . . . . . . . . . . . . . . . . . . . . . . . 701 LoadVars constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702 onData (LoadVars.onData handler) . . . . . . . . . . . . . . . . . . . . . . . . . 702 onHTTPStatus (LoadVars.onHTTPStatus handler) . . . . . . . . . . . 703 onLoad (LoadVars.onLoad handler) . . . . . . . . . . . . . . . . . . . . . . . . . 705 send (LoadVars.send method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706 sendAndLoad (LoadVars.sendAndLoad method). . . . . . . . . . . . . 708 toString (LoadVars.toString method) . . . . . . . . . . . . . . . . . . . . . . . . . 710 LocalConnection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710 allowDomain (LocalConnection.allowDomain handler) . . . . . . . . . 713 allowInsecureDomain (LocalConnection.allowInsecureDomain handler). . . . . . . . . . . . 717 close (LocalConnection.close method) . . . . . . . . . . . . . . . . . . . . . . . 718 connect (LocalConnection.connect method) . . . . . . . . . . . . . . . . . . 719 domain (LocalConnection.domain method) . . . . . . . . . . . . . . . . . . 722 LocalConnection constructor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725 onStatus (LocalConnection.onStatus handler). . . . . . . . . . . . . . . . 726 send (LocalConnection.send method) . . . . . . . . . . . . . . . . . . . . . . . 727 Locale (mx.lang.Locale) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729 addDelayedInstance (Locale.addDelayedInstance method). . . . 732 addXMLPath (Locale.addXMLPath method) . . . . . . . . . . . . . . . . . 732 autoReplace (Locale.autoReplace property) . . . . . . . . . . . . . . . . . 733 checkXMLStatus (Locale.checkXMLStatus method) . . . . . . . . . 734 getDefaultLang (Locale.getDefaultLang method). . . . . . . . . . . . . 735 initialize (Locale.initialize method) . . . . . . . . . . . . . . . . . . . . . . . . . . . 735 languageCodeArray (Locale.languageCodeArray property) . . . . 736 loadLanguageXML (Locale.loadLanguageXML method) . . . . . . 737 loadString (Locale.loadString method) . . . . . . . . . . . . . . . . . . . . . . 738
Contents
17
loadStringEx (Locale.loadStringEx method) . . . . . . . . . . . . . . . . . .739 setDefaultLang (Locale.setDefaultLang method). . . . . . . . . . . . . .740 setLoadCallback (Locale.setLoadCallback method) . . . . . . . . . . .740 setString (Locale.setString method) . . . . . . . . . . . . . . . . . . . . . . . . . 741 stringIDArray (Locale.stringIDArray property) . . . . . . . . . . . . . . . . .742 Math . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .742 abs (Math.abs method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .745 acos (Math.acos method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 746 asin (Math.asin method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .746 atan (Math.atan method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747 atan2 (Math.atan2 method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748 ceil (Math.ceil method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748 cos (Math.cos method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .749 E (Math.E property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .750 exp (Math.exp method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .750 floor (Math.floor method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751 LN10 (Math.LN10 property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752 LN2 (Math.LN2 property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752 log (Math.log method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752 LOG10E (Math.LOG10E property) . . . . . . . . . . . . . . . . . . . . . . . . . . . 753 LOG2E (Math.LOG2E property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 753 max (Math.max method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .754 min (Math.min method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .754 PI (Math.PI property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .755 pow (Math.pow method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756 random (Math.random method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757 round (Math.round method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757 sin (Math.sin method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 758 sqrt (Math.sqrt method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .759 SQRT1_2 (Math.SQRT1_2 property) . . . . . . . . . . . . . . . . . . . . . . . . .760 SQRT2 (Math.SQRT2 property). . . . . . . . . . . . . . . . . . . . . . . . . . . . .760 tan (Math.tan method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761 Matrix (flash.geom.Matrix). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 762 a (Matrix.a property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766 b (Matrix.b property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766 c (Matrix.c property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767 clone (Matrix.clone method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767 concat (Matrix.concat method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768 createBox (Matrix.createBox method) . . . . . . . . . . . . . . . . . . . . . . . 770 createGradientBox (Matrix.createGradientBox method). . . . . . . . 771 d (Matrix.d property). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772 deltaTransformPoint (Matrix.deltaTransformPoint method) . . . . . 773 identity (Matrix.identity method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 774 invert (Matrix.invert method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775 Matrix constructor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
18
Contents
rotate (Matrix.rotate method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .777 scale (Matrix.scale method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780 toString (Matrix.toString method) . . . . . . . . . . . . . . . . . . . . . . . . . . . 780 transformPoint (Matrix.transformPoint method). . . . . . . . . . . . . . . . 781 translate (Matrix.translate method) . . . . . . . . . . . . . . . . . . . . . . . . . . 782 tx (Matrix.tx property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783 ty (Matrix.ty property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783 Microphone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784 activityLevel (Microphone.activityLevel property) . . . . . . . . . . . . . 786 gain (Microphone.gain property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 787 get (Microphone.get method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 788 index (Microphone.index property) . . . . . . . . . . . . . . . . . . . . . . . . . . 790 muted (Microphone.muted property) . . . . . . . . . . . . . . . . . . . . . . . . . 791 name (Microphone.name property) . . . . . . . . . . . . . . . . . . . . . . . . . . . 791 names (Microphone.names property) . . . . . . . . . . . . . . . . . . . . . . . . 792 onActivity (Microphone.onActivity handler). . . . . . . . . . . . . . . . . . . 793 onStatus (Microphone.onStatus handler) . . . . . . . . . . . . . . . . . . . . 794 rate (Microphone.rate property) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795 setGain (Microphone.setGain method). . . . . . . . . . . . . . . . . . . . . . . 796 setRate (Microphone.setRate method) . . . . . . . . . . . . . . . . . . . . . . 797 setSilenceLevel (Microphone.setSilenceLevel method) . . . . . . . 798 setUseEchoSuppression (Microphone.setUseEchoSuppression method) . . . . . . . . . . . . .801 silenceLevel (Microphone.silenceLevel property) . . . . . . . . . . . . . 802 silenceTimeOut (Microphone.silenceTimeOut property) . . . . . . . 803 useEchoSuppression (Microphone.useEchoSuppression property). . . . . . . . . . . . . . . 804 Mouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 805 addListener (Mouse.addListener method). . . . . . . . . . . . . . . . . . . . 807 hide (Mouse.hide method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 808 onMouseDown (Mouse.onMouseDown event listener) . . . . . . . . 809 onMouseMove (Mouse.onMouseMove event listener) . . . . . . . . . .810 onMouseUp (Mouse.onMouseUp event listener) . . . . . . . . . . . . . . .812 onMouseWheel (Mouse.onMouseWheel event listener) . . . . . . . .813 removeListener (Mouse.removeListener method). . . . . . . . . . . . . .814 show (Mouse.show method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .816 MovieClip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 817 _alpha (MovieClip._alpha property) . . . . . . . . . . . . . . . . . . . . . . . . . . 826 attachAudio (MovieClip.attachAudio method) . . . . . . . . . . . . . . . . 827 attachBitmap (MovieClip.attachBitmap method). . . . . . . . . . . . . . 828 attachMovie (MovieClip.attachMovie method) . . . . . . . . . . . . . . . . 829 beginBitmapFill (MovieClip.beginBitmapFill method) . . . . . . . . . 830 beginFill (MovieClip.beginFill method) . . . . . . . . . . . . . . . . . . . . . . . 832 beginGradientFill (MovieClip.beginGradientFill method) . . . . . . . 833 blendMode (MovieClip.blendMode property) . . . . . . . . . . . . . . . . . 840
Contents
19
cacheAsBitmap (MovieClip.cacheAsBitmap property) . . . . . . . . .846 clear (MovieClip.clear method) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 847 createEmptyMovieClip (MovieClip.createEmptyMovieClip method) . . . . . . . . . . . . . . . .848 createTextField (MovieClip.createTextField method) . . . . . . . . . 850 _currentframe (MovieClip._currentframe property) . . . . . . . . . . . . .852 curveTo (MovieClip.curveTo method) . . . . . . . . . . . . . . . . . . . . . . . .852 _droptarget (MovieClip._droptarget property) . . . . . . . . . . . . . . . . .854 duplicateMovieClip (MovieClip.duplicateMovieClip method) . . . .855 enabled (MovieClip.enabled property) . . . . . . . . . . . . . . . . . . . . . . . . 857 endFill (MovieClip.endFill method) . . . . . . . . . . . . . . . . . . . . . . . . . . . 857 filters (MovieClip.filters property) . . . . . . . . . . . . . . . . . . . . . . . . . . . .858 focusEnabled (MovieClip.focusEnabled property) . . . . . . . . . . . . 860 _focusrect (MovieClip._focusrect property) . . . . . . . . . . . . . . . . . . 860 _framesloaded (MovieClip._framesloaded property) . . . . . . . . . . . 861 getBounds (MovieClip.getBounds method) . . . . . . . . . . . . . . . . . . .862 getBytesLoaded (MovieClip.getBytesLoaded method) . . . . . . . .863 getBytesTotal (MovieClip.getBytesTotal method) . . . . . . . . . . . . .864 getDepth (MovieClip.getDepth method) . . . . . . . . . . . . . . . . . . . . . .865 getInstanceAtDepth (MovieClip.getInstanceAtDepth method) . .866 getNextHighestDepth (MovieClip.getNextHighestDepth method) . . . . . . . . . . . . . . . . . 867 getRect (MovieClip.getRect method) . . . . . . . . . . . . . . . . . . . . . . . .868 getSWFVersion (MovieClip.getSWFVersion method) . . . . . . . . .870 getTextSnapshot (MovieClip.getTextSnapshot method) . . . . . . . 871 getURL (MovieClip.getURL method). . . . . . . . . . . . . . . . . . . . . . . . . 872 globalToLocal (MovieClip.globalToLocal method) . . . . . . . . . . . . . 874 gotoAndPlay (MovieClip.gotoAndPlay method) . . . . . . . . . . . . . . . 876 gotoAndStop (MovieClip.gotoAndStop method) . . . . . . . . . . . . . . 877 _height (MovieClip._height property) . . . . . . . . . . . . . . . . . . . . . . . . . 878 _highquality (MovieClip._highquality property) . . . . . . . . . . . . . . . . . 878 hitArea (MovieClip.hitArea property) . . . . . . . . . . . . . . . . . . . . . . . . . 879 hitTest (MovieClip.hitTest method). . . . . . . . . . . . . . . . . . . . . . . . . . .880 lineGradientStyle (MovieClip.lineGradientStyle method) . . . . . . . 881 lineStyle (MovieClip.lineStyle method) . . . . . . . . . . . . . . . . . . . . . . .885 lineTo (MovieClip.lineTo method) . . . . . . . . . . . . . . . . . . . . . . . . . . . .888 loadMovie (MovieClip.loadMovie method) . . . . . . . . . . . . . . . . . . . .889 loadVariables (MovieClip.loadVariables method) . . . . . . . . . . . . . . 891 localToGlobal (MovieClip.localToGlobal method) . . . . . . . . . . . . . .893 _lockroot (MovieClip._lockroot property). . . . . . . . . . . . . . . . . . . . . .895 menu (MovieClip.menu property) . . . . . . . . . . . . . . . . . . . . . . . . . . . .898 moveTo (MovieClip.moveTo method) . . . . . . . . . . . . . . . . . . . . . . . 899 _name (MovieClip._name property) . . . . . . . . . . . . . . . . . . . . . . . . . 899 nextFrame (MovieClip.nextFrame method) . . . . . . . . . . . . . . . . . . 900 onData (MovieClip.onData handler) . . . . . . . . . . . . . . . . . . . . . . . . . . 901 onDragOut (MovieClip.onDragOut handler) . . . . . . . . . . . . . . . . . . 902
20
Contents
If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Diplodocs provides you a fast and easy access to the user manual MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE. MACROMEDIA offer a product for which we do not have the user manual? Let us know what you are looking for: site Internet, histoire, actualité, filiales, site Internet, mode d'emploi, driver, avis des utilisateurs, meilleur prix des produits, forum d'assistance aux problèmes, annuaire des marques, annuaire des constructeurs, répertoire des marques, répertoire des constructeurs, site Internet de la marque, site Internet du constructeur Diplodocs allows you to download user manual MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE, user guide MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE, instructions MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE, owner's manual MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE, online manual MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE.Access web reviews MACROMEDIA FLASH 8 - ACTIONSCRIPT 2.0 LANGUAGE REFERENCE, , Software. |
![]() |
Include the add-on to download manuals from your site, forum or blog | ![]() |
Frequently Asked Questions | ![]() |
Contact Diplodocs team | ![]() |
Last searches Last additions |
![]() |
Sitemap | ![]() |
|||
| Brands starting with A B C D E F G H I J K L M N O P Q R S T U V W X Y Z # | |||||||||||||
|
|
Copyright © 2005 - 2008 - Diplodocs -
All Rights Reserved. Designated trademarks and brands are the property of their respective owners. |