100 個 AS3 小技巧
整理的不錯,很像 cookbook 的風格…
下面是標題列表。
—
1. 06-19-06: Change the frame rate of your movie
2. 06-20-06: Class scope is now bound to class methods
3. 06-21-06: Graphics Object and the Drawing API
4. 06-22-06: New Variable Types
5. 06-23-06: Display Objects
6. 06-24-06: New Import Directive
7. 06-25-06: Type Casting and the as Operator
8. 06-26-06: Unique Class Variables
9. 06-27-06: New MouseMove Behavior
10. 06-28-06: The delete Keyword and Class Members
11. 06-29-06: The Dictionary Class
12. 06-30-06: Label Statements
13. 07-01-06: Detecting When the Mouse Leaves the Movie
14. 07-02-06: SimpleButton Instances
15. 07-03-06: Commas in Shorthand Array Definitions
16. 07-04-06: Package Block
17. 07-05-06: Same-file Helper Classes
18. 07-06-06: Access Attributes
19. 07-07-06: Abstract Classes
20. 07-08-06: The override Keyword
21. 07-09-06: Using prototype
22. 07-10-06: Regular Expression (RegExp) Support
23. 07-11-06: Approach to Depth Sorting
24. 07-12-06: Deep Object Copies with ByteArray
25. 07-13-06: Similarly Named Instance and Static Properties
26. 07-14-06: EventDispatcher
27. 07-15-06: Events and Event Types
28. 07-16-06: Writing Inline XML
29. 07-17-06: Determine Instance Class or Superclass
30. 07-18-06: super() Placement (Now Anywhere)
31. 07-19-06: Determining Current Frame Label
32. 07-20-06: Multiple Arguments in trace()
33. 07-21-06: Calling Event Handlers without Events
34. 07-22-06: URLRequest for URL Strings
35. 07-23-06: XML vs. XMLDocument
36. 07-24-06: Loading Text and XML with URLLoader
37. 07-25-06: is Operator (vs instanceof)
38. 07-26-06: Flash 9: Timelines as Classes
39. 07-27-06: RegExp: Email Validation
40. 07-28-06: Render Event
41. 07-29-06: XML: @ Operator for Attributes
42. 07-30-06: Event Propagation Support
43. 07-31-06: Get Sound Spectrum Information
44. 08-01-06: Number() Conversion No Longer Interprets Octals
45. 08-02-06: Garbage Collection: Reference Counting & Mark and Sweep
46. 08-03-06: Weak References
47. 08-04-06: Flash 9: BitmapData and Bitmaps from the Library
48. 08-05-06: Changes in typeof
49. 08-06-06: getBounds() vs getRect()
50. 08-07-06: for..in and for each..in
51. 08-08-06: Default Values for Function Parameters
52. 08-09-06: Undetermined Number of Arguments With ...(rest)
53. 08-10-06: arguments
54. 08-11-06: Support for Namespaces
55. 08-12-06: Namespaces: Name Qualifier Operator (::)
56. 08-13-06: dynamic is Not Inherited
57. 08-14-06: Creating a mouseWithin Event
58. 08-15-06: Prevent Overriding and Subclassing with final
59. 08-16-06: MXMLC: SWF Metadata Tag
60. 08-17-06: Proxy Class
61. 08-18-06: in Operator
62. 08-19-06: Proxy: getProperty and setProperty
63. 08-20-06: Flash 9: Display Object Variables and Instance Names
64. 08-21-06: XML: XML and XMLList
65. 08-22-06: Constants
66. 08-23-06: duplicateMovieClip Replacement
67. 08-24-06: Proxy: callProperty
68. 08-25-06: Creating graphics Copies
69. 08-26-06: TextField.appendText()
70. 08-27-06: include Directive
71. 08-28-06: Duplicate Variable Definitions
72. 08-29-06: mouseEnabled and Event Blocking
73. 08-30-06: mouseChildren with Event Propagation
74. 08-31-06: rollOver and rollOut vs. mouseOver and mouseOut
75. 09-01-06: DisplayObjectContainer contains()
76. 09-02-06: Cleaning Up Event Listeners
77. 09-03-06: Detecting Addition to or Removal from Stage
78. 09-04-06: Event Phases and Event Capturing
79. 09-05-06: Determining Event Phase
80. 09-06-06: Preventing Event Propagation
81. 09-07-06: Global Events
82. 09-08-06: Detecting a mouseUp Outside
83. 09-09-06: Flash 9: Document Class
84. 09-10-06: Access to stage and root
85. 09-11-06: Namespaces: use namespace Directive
86. 09-12-06: No More Color Class; Use ColorTransform
87. 09-13-06: Runtime Errors; Error Class
88. 09-14-06: Errors: try..catch..finally and Exception Handling
89. 09-15-06: Errors: Asynchronous Exception Handling
90. 09-16-06: XML: Children (.) and Decendants (..)
91. 09-17-06: Array.indexOf (Array.lastIndexOf())
92. 09-18-06: asfunction: Now event:
93. 09-19-06: Proxy: Property Enumeration (nextName(), nextValue(), and nextNameIndex())
94. 09-20-06: Event Capturing and mouseEnabled
95. 09-21-06: Flash 9: Strict Mode
96. 09-22-06: System.totalMemory
97. 09-23-06: Closing Net Connections
98. 09-24-06: Timer Class
99. 09-25-06: AVM2 (AS3) to AVM1 (AS2/AS1) Communication via LocalConnection
100. 09-26-06: ByteArray Class
—


6 Comments Add your own
1. cmanwalking&hellip | December 5th, 2006 at 11:32 am
刚开始的时候,前辈针对.NET的问题,阐述过数据传输的问题,到现在,想问问前辈:针对FLEX,java和php在flash remote(Remote Object)的连接方面,用什么合适?
2. jeremy&hellip | December 5th, 2006 at 4:22 pm
php 現在有 sabreamf 支援 AMF3 與 remote object,所以已不是問題。
http://osflash.org/sabreamf
java 的話就用 weborb 囉!
不過我最近的新玩具都不是這些…
3. cmanwalking&hellip | December 5th, 2006 at 9:00 pm
谢谢前辈的回答!
那么,前辈的新玩具是什么呢?秘密?
4. miao&hellip | December 7th, 2006 at 11:16 am
被一個問題困擾,像是Youtube這樣的,上傳視頻是wmv、rm格式的話,網站只要加上FLV container就好了嗎?還是要重新解碼、編碼?
5. jeremy&hellip | December 7th, 2006 at 4:43 pm
to cmanwalking: 過一陣子就會知道了
to miao: flash player 只能播放 flv, swf,所以 wmv, rm 要在 server 端重新編碼(transcoding),台灣大部份同類型網站都是用 ffmpeg 做。
6. cmanwalking&hellip | December 8th, 2006 at 8:36 am
哈,期待中。。。
Trackback this post | Subscribe to the comments via RSS Feed