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

Publish Settings Recap

The first step to write a program is to create a file in which the code is to be written. Normally, when you are dealing with Flash, you can see the menu section CREATE FILE. In this section, you can find various file types but remember to click on Flash File (Action Script 3.0). Some users might not see the welcome panel when they start. In that case, you must select 'New' from the drop down menu of either Flash or File located at the top left of the window. Remember to select Action Script 3.0 again while selecting the file type in the pop-up window. Now your Flash file is created and you must save it in the source folder before proceeding further. You must always save the file with the .fla extension and don't forget to use the 'save as' option.

Now it is the time to learn about publish settings, but first you must gain some knowledge about different file extensions such as .html and .swf files. However, for now you don't need to go deeply into this – just focus on the publish settings. You can find the option for publish settings, when you click on the File option. When the dialog box is opened for publish settings, you'll see that the Flash and HTML check boxes are checked by default. You will find that Flash files have the .swf extension and HTML have the .html extension. These files are saved in the folder where we previously saved our .fla file: the source folder.

Here we need to change the publish settings because we want the compiled files to be in the deploy folder. This can be performed by typing ../ before the file name for both Flash and html files. Typing these symbols moves the file one folder back without much strain to the user. However, if we want to move the present file to a specific folder directly from publish settings, we must type ../target folder/ before the file name. In most of the cases, the target folder is the deploy folder and hence, typing ../deploy/ before main.swf will move the main.swf file to the deploy folder.

Learning how to work with the publish settings is not of a step necessary for every programing language: other languages such as javascript don't even need them. This step is focused on getting you aware of the work flow in Flash rather than a general step in programing.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

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