2. Recap
● Using grid to aide us in drawing
● Snapping tool function
● Window Select
● Making a rounded rectangle
● Converting to symbol
● Library
● Creating Gradient
● "No-color" selection option
● Grouping
● How to draw a circle
● Clicking twice to select both stroke and fill
● Importing jpg and png image file
● Layers
6. Actionscript 3.0
● ActionScript is a programming language used to
develop applications that will run on the Adobe
Flash Player platform.
7. What are properties?
Think of properties as characteristics that describe instances (e.g. size, color,
rotation).
Some properties of MovieClip instances are:
● scaleX - scales the instance horizontally by a specified number
● scaleY - scales the instance vertically by a specified number
● x - controls the x coordinate of the instance
● y - controls the y coordinate of the instance
● rotation - rotates the instance to the angle specified
● width - adjusts the width of the instance
● height - adjusts the height of the instance
● alpha - adjusts the opacity level of the instance
8. What is a variable?
Think of a variable as a container. It's like a box where you can put
something in. But instead of a physical object, a variable can
contain information.
A variable is made up of a name and a value. The name is like the
label on the box, and the value is the item inside that box.
For example:
quantity = 12
price = 1.25
9. What is the data type?
● The data type refers to the type of value that a variable can
contain.
● String data is made up of characters.
● The Boolean data type only chooses between 2 values - true
or false.
Examples:
var firstName:String;
var isActive:Boolean;
10. Expression???
● An expression is something that computes or
evaluates into a single value. In a very simple
form, a reference to a variable is already an
expression.
For example:
var quantity:Number = 5;