Flash workshop Day Three
-
Upload
kamen-rider -
Category
Education
-
view
126 -
download
1
Transcript of Flash workshop Day Three
![Page 1: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/1.jpg)
Flash Workshop Day 3
Conducted by Lawrence Zhuang
![Page 2: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/2.jpg)
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
![Page 3: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/3.jpg)
Recap
![Page 4: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/4.jpg)
Recap
![Page 5: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/5.jpg)
● Back to where we last stop...
![Page 6: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/6.jpg)
Actionscript 3.0
● ActionScript is a programming language used to develop applications that will run on the Adobe Flash Player platform.
![Page 7: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/7.jpg)
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
![Page 8: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/8.jpg)
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
![Page 9: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/9.jpg)
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;
![Page 10: Flash workshop Day Three](https://reader034.fdocuments.in/reader034/viewer/2022042715/55844f54d8b42af85e8b4d91/html5/thumbnails/10.jpg)
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;