ICT: ActionScript Flashcards
What is ActionScript?
Is an object-
oriented programming language originally
developed by Macromedia
Inc. (later acquired by
Adobe).
Refers to languages that use
objects in programming.
Object-Oriented Programming Language
Programming paradigm
based on the concept of
objects, which may contain
data and code.
Object-Oriented Programming Language
Give all list of Object-Oriented Programming Language.
Java, Python, C++, Lisp, Perl,
PHP, Ruby, C#, Visual Basic, HTML, and CSS
The programming language
used in Flash CS4 or
higher
ActionScript 3.0
Part of the brain is responsible
for initiating and coordinating motor
movements;
Frontal Lobe
Is used to
control the timeline or
make the buttons
interactive.
ActionScript
To apply ActionScript to
Flash objects, it should be a?
Movie clip or a button
What should you do when you are adding instance names?
You start it
with a lowercase letter and
when you need to separate
words, never use spaces.
What should you do in naming conventions?
Movie clips instance names
should have an ”_mc” suffix
and “_btn” for buttons.
Code Hinting
Gives you a clue as to what
objects you are adding
interactivity.
Actions Panel
Lets you access all the actions that will
control your Flash movie.
Code Snippets Panel
Is designed to make it easy for
non-programmers to start
using simple JavaScript and
ActionScript 3.0 quickly.
Steps on Code Snippets Panel
- Add code that affects the behavior of an object on the Stage
- Add code that controls the movement of the playhead in the Timeline
- (CS5.5 only) - Add code that allows touchscreen user-interaction
- Add new code snippets that you create to the panel
Demonstration
- Open an existing
animation file as your
subject for
ActionScripting. - Make sure that Action
panel & code snippets are
open. - Make space for buttons.
- Highlight the active
frames across all layers
and drag. - Create new layer and
name it as play. - Add another layer and
name it as action. - Select frame 1 of action
layer and assign a stop
command from the
timeline navigation folder. - Select the “Stop at this
Frame” script, and double
click. Pay attention to the
Action panel.
- Now, select frame 1 of
play layer and choose “Go
to Frame and Play”.