Lets start with a blank document. Draw a box on the canvas. Adjust the colors as you wish with the COLOR MIXER and such. Now, select the text tool and draw text over the box. Name it something like, "CLICK ME"...
I used the example of 'goto' frame 5. You can also jump scenes. Just like a movie... say, 1 room = a scene. If people would walk to another room, it'd be another scene. All new sorroundings...
Onion Skinning seemed useless to me when I first got to know flash. I was like, "WTF is this?" but i'll save you the trouble. Onion Skinning shows you previous frames to help you modify your symbol to do whatever you're trying to get it to do...
What is a variable? A variable is an amount of data which can change over time (throughout your program). What is a constant? A constant is an amount of data which will never change. When using variables in JavaScript, here are a few rules to keep in mind...
Here is a quick question. What do you think will be the typeof the following variable:
num1= "45";
If you said, "number" you are wrong! Yes - it is a number, and eventhough the variable name is "num1" that does not matter. It could be named anything...
If you are unfamiliar to what an array is, an array is just a collection of data that is refered to by a common name. Arrays in JavaScript start with element "0." Arrays can offer you a convient way to group related variables...
Now is a good time to discuss operators in JavaScript. I am also doing to discuss If and If/Else statements becuase this is when you are going to use many of these operators. There are several types of operators, and they are listed and described below...
The math object is a built in object which includes math constants and functions. Theres no need to create any math object, because it already exists automatically when using JavaScript.
There are four useful functions in JavaScript...
Loops are an important part of JavaScript. Loops control your program to whatever limits you set them to. There is a loop which executes a group of statements a finite number of times. Then, theres an infinite loop, which is a loop that will never terminate...