ActionScript 3 interactive objects tutorial (CS3): Difference between revisions
Jump to navigation
Jump to search
m (using an external editor) |
m (using an external editor) |
||
Line 30: | Line 30: | ||
== Interactive objects - an overview == | == Interactive objects - an overview == | ||
Below is summary table of ActionScript 3 interactive objects (there are more non-interactive display objects) | Below is summary table of ActionScript 3 interactive objects (there are more non-interactive display objects). It shows that interactive objects are defined as hierarchical classes. Methods and properties that work for a parent class (e.g. Sprite) also will work for its child classes (e.g. UIComponent). | ||
* [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html DisplayObject] | |||
** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/InteractiveObject.html InteractiveObject] | |||
*** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html DisplayObjectContainer] | |||
**** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html Loader] | |||
**** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Sprite.html Sprite] | |||
***** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html FLVPlayback] FLVPlayback] | |||
***** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlaybackCaptioning.html FLVPlaybackCaptioning] | |||
***** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/MovieClip.html MovieClip] | |||
***** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/core/UIComponent.html UIComponent] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/BaseButton.html BaseButton] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/containers/BaseScrollPane.html BaseScrollPane] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/ColorPicker.html ColorPicker] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/ComboBox.html ComboBox] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/progressBarClasses/IndeterminateBar.html IndeterminateBar] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/Label.html Label] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/NumericStepper.html NumericStepper] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/ProgressBar.html ProgressBar] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/ScrollBar.html ScrollBar] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/Slider.html Slider] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/TextArea.html TextArea] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/controls/TextInput.html TextInput] | |||
****** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/containers/UILoader.html UILoader] | |||
**** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Stage.html Stage] | |||
*** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/SimpleButton.html SimpleButton] | |||
*** [http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html TextField] | |||
== Links == | == Links == |
Revision as of 11:45, 20 September 2007
This article or section is currently under construction
In principle, someone is working on it and there should be a better version in a not so distant future.
If you want to modify this page, please discuss it with the person working on it (see the "history")
Overview
- Learning goals
- Learn about the most important interactive ActionScript 3 objects
- Learn some methods and properties you may want to use in your animations.
- Prerequisites
- Flash CS3 desktop tutorial
- Flash drawing tutorial
- Flash button tutorial
- Flash components tutorial
- ActionScript 3 event handling tutorial
- Moving on
- ActionScript 3 interactive objects tutorial
- The Flash article has a list of other tutorials.
- Quality
- This text should technical people get going and may not be good enough for self-learning beginners. It can be used as handout in a "hands-on" class. That is what Daniel K. Schneider made it for...
- Level
- It aims at Flash design beginners, not beginning ActionScript 3 programmers, although programmers can read this to get a quick overview before digging into a real documentation like Adobe's Flash 9 reference manual
- Learning materials
Grab the various *.fla files from here:
Interactive objects - an overview
Below is summary table of ActionScript 3 interactive objects (there are more non-interactive display objects). It shows that interactive objects are defined as hierarchical classes. Methods and properties that work for a parent class (e.g. Sprite) also will work for its child classes (e.g. UIComponent).
Links
Important manual pages
These are almost impossible to understand for non programmers, but otherwise the documentation at Adobe is excellent.
- InteractiveObject. This InteractiveObject class is the abstract base class for all display objects with which the user can interact, using the mouse and keyboard. Most Events are documented here. (Make sure to list also the inherited events).