Misc
Versions
ActionScript 2.0Optimizing ActionScript
ActionScript 1.0
- Introduced in Flash MX 2004
- Syntactically similar to Java
- Case sensitive
- Introduced in Flash 5
- Case insensitive
- Delete variables that are no longer needed, or set them to null.
- Minimize the usage of the eval() function and the array access operator.
- Put a special emphasis on optimizing loops, setInterval,
onEnterFrame, and onMouseMove.
- MovieClip
- Camera
- Button
- TextField
- ContextMenu
- ContextMenuItem
- Mouse
- with
- delete
- new
- typeof
- instanceof
- import
- Event listeners