02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

Trace

Before starting with visuals, we must first learn how to get the output in plain text. This is possible with the help of functions. Once we declare a function, we can call it any number of times within the same program and get the work done is short time. For now we'll just focus on a simple syntax for printing any text on the output panel by using the keyword 'trace'.

We must always be aware of the code's syntax before using it in the program. Now, we know that trace is used for typing the text but we must follow the correct syntax or the command won't work. The word trace must be followed with (), where single or double quotes are included within the parenthesis. The text that is to be printed must be between these quotes. Finally, end the line with semicolon (;). It is a must for every line to end with a semicolon if it is not continued further. We can write any number of trace commands within a program. The general syntax for trace is trace("02 Rocks!!!!");. The text inside can be a character or string.

This is the basic step for producing output and is used in almost every program. You must have "trace" down pat before going to the next video because it is also widely used in the visual programs: you don't want to commit mistakes while writing the syntax for trace (you'll make enough other errors, we all do – and we all use "trace" to find them!) There are few more things you should know about the trace syntax. You must be very specific about the data type that is declared and assigned when you're dealing with variables. This was discussed earlier as well. After watching this video, you must be able to get the desired text output at will. Practice this at least once before moving to the next video: can you output a single line joke?

Intro

In this video, we will learn the basics concepts of coding in Flash. The main focus is on the output panel. Once we understand Flash's environment, then we learn how to manage the output panel.

03:16

Publish Settings Recap

Get into a rhythm of efficiently setting up your files so you can smoothly transition into writing code. This video shows you how to compile your .swf and .html files..

03:41

Setting Up Our Main Class

Get into a rhythm of efficiently setting up your files so you can smoothly transition into writing code. This video shows you how to set up your script for all the code you'll write from here on out.

04:51

Test Movie

The basics of working with Flash, focusing on the publish settings and testing movies.The basics of working with Flash, focusing on the publish settings and testing movies.

00:58

Trace

For your first programming task, you'll experiment with the 'trace' function and learn how to output data from your application. This can be used to print the desired text at will.

04:08

Single Line Comment

In this video we will learn the syntax of single line comment and the need for its existence in programming, and explore how to create them in actionscript 3 flash.

01:25

Numbers And Basic Math

In order to do great things in flash, all you need is a grasp of basic math. So let's work on computing mathematical equations using the 'trace' function.

06:42

Answer To Math Question

In order to do great things in flash, all you need is a grasp of basic math. So let's work on using the Trace function to compute mathematic equations. We ended the last video with a question, let's s

01:40

Multi line Comments

You already know how to comment line by line but wouldn't it be nicer for you and your fingers if you could cancel out a full block of code? Yes, it is possible using multi line comments.

01:40

What Are Variables?

Learn how to create different kinds of variables and see how they can make your life easier as your code gets more complex. They play a major role in writing the code efficiently.

02:20

Strings As Our First Variable

learn how to create your first string variable in actionscript flash. This video helps you understand how to declare a variable and assign a string to it.

03:42

Error 1067: Implicit Coercion

Help-I just got the dreaded 1067 error... ohh actually it is not that bad it is telling me something... but what? Let’s learn about 1067 error and know how it is helpful to the user

01:21

Numbers As Our Second Variable

Learn how to create different kinds of number variables and see how they can make your life easier as your code gets more complex. Also learn the syntax for declaring all types of numbers

01:56