Best Tutorials website
Latest tutorials

Advertisment

Passing Variables to Flash

Passing Variables to Flash

In this tutorial I will explain how to pass variables to flash and what dynamic things you could do with passing variables.


Views: 470 | Rating star | by Daniel
Flash - Actionscripting

Functions

Functions

There are times when you will want to have a section of ActionScript code reused. In those cases, functions play an important role. A function is a...


Views: 562 | Rating star | by Brad
Flash - Actionscripting

AS 2.0 Variable Hints

AS 2.0 Variable Hints

This short article is on variable naming in the new Actionscript 2.0 (and 1.0, I guess).


Views: 500 | Rating star | by Source
Flash - Actionscripting

Commenting Your Code

Commenting Your Code

Most of the best programmers on the world will tell you that: always comment on your code. For yourself and for the others. This is absolutely vital.


Views: 517 | Rating star | by Stephen
Flash - Actionscripting

Naming Conventions

Naming Conventions

The naming scheme of your movie is very important for readability purposes.


Views: 507 | Rating star | by Steve
Flash - Actionscripting

Global Variables

Global Variables

Global variables are useful when you want a variable to be accessible from anywhere in your movie, even in different scenes.


Views: 491 | Rating star | by Troy
Flash - Actionscripting

Var Declaration

Var Declaration

This is not a very important issue for small movies, but it is a good thing to think about it.


Views: 516 | Rating star | by Jarry
Flash - Actionscripting

Variable Scope

Variable Scope

One of the first problems programmers encountered when switching from Flash 5 to Flash MX was the variables scope.


Views: 528 | Rating star | by Isac
Flash - Actionscripting

Relative Addressing

Relative Addressing

We have talked already about scope issues and addressing. They're tricky. Well there's very particular issue I want to talk to you about:...


Views: 485 | Rating star | by Marry
Flash - Actionscripting

_root, _parent, and this

_root, _parent, and this

_root is an alias, just as _parent and this.


Views: 487 | Rating star | by Donald
Flash - Actionscripting

Incrementation or Decrementation

Incrementation or Decrementation

First: what does increment mean? When I say that I increment a value by 1, it only means that I add 1 to this value. There are several ways I can...


Views: 509 | Rating star | by Jarry
Flash - Actionscripting

Getting an Index Position from an Array

Getting an Index Position from an Array

There are several times when I found it helpful to get the position of an item contained in an array.


Views: 497 | Rating star | by Amy
Flash - Actionscripting

Array Duplication Made Easy

Array Duplication Made Easy

To make a duplicate of an array proves more difficult than it seems.


Views: 521 | Rating star | by John
Flash - Actionscripting

Tertiary Operator

Tertiary Operator

This operator is also used to shorten if tests. It is used in the case that: if something is true, then 1 (or 0) thing happens, otherwise 1 (or 0)...


Views: 490 | Rating star | by Daniel
Flash - Actionscripting

Easy Random Color

Easy Random Color

An easy method to randomizing colors.


Views: 438 | Rating star | by Daniel
Flash - Actionscripting

Color Object

Color Object

What the color object does is allows you ways to apply color and alpha effects to movieclip objects much in the sense of a filter.


Views: 392 | Rating star | by Mark
Flash - Actionscripting

The Drawing API

The Drawing API

Using the drawing API is not the easiest thing in the world, but once you get the hang of it, you can produce very easily lots of cool all-code...


Views: 426 | Rating star | by Daniel
Flash - Actionscripting

Dynamic Event Handlers

Dynamic Event Handlers

Now dynamic event handlers are really one of the best things that Flash MX brought, as they allow us to change a handler at run time. You may...


Views: 515 | Rating star | by Sarah
Flash - Actionscripting

For...in Loops

For...in Loops

for...in loops are tricky to use. What they do is simple though: they reference everything they find in an object and put it in an array.


Views: 362 | Rating star | by Donald
Flash - Actionscripting

Random Numbers

Random Numbers

In programming, it is nice to be able to create numbers that occur unexpectedly


Views: 414 | Rating star | by Isac
Flash - Actionscripting