Related Tutorials
Random NumbersIn programming, it is nice to be able to create numbers that occur unexpectedly.To create numbers that occur with no set pattern, one would need to use random numbers.
Sorting Arrays with Bubble Sort and sort()
Learn how to sort Arrays.
Picking unique random entries from a larger group.
This tutorial describes a very efficient method for picking N unique random numbers from a list of M numbers. This method, based on a clever algorithm by famous computer scientist Donald Knuth, does not use arrays and only requires a single pass.
Formatting numbers as currency
In this tutorial we will learn how to Formatting numbers as currency.
Random Jumping Flash
Random Jumping - Predictability is way overrated. Web users all over the world expect a button to stand still when they click on it. So why not take a little of that predictability away from them? In this video, you'll learn how to generate random numbers in Flash and then use those numbers to create an elusive button or graphic that jumps to a random position on the stage every time your user hovers his mouse cursor over it.
Accessing Multiple Buttons in UI Components #2 Message Box
This is sort of a follow-up to my previous tutorial on CGI Forms with Flash MX and the UI Components Set#2. I used the message box in that tutorial, but only with a single button. An email from a reader of that tutorial prompted me to take a closer look at the message box and how to use it with multiple buttons.
Vectors and the Tracing Command in Flash
One of the greatest advantages of Flash over other web technologies is that it is vector based. In addition to the ability of flash to contain bitmap images, the Flash player can also hold vector images that look extremely sharp in comparison to their bitmap counterparts.
Generate random numbers in Actionscript 3
In this tutorial you will learn how to generate random numbers in Actionscript 3.
Generate an array of Unique random numbers from 1 to n
Code to generate an array of Unique random numbers from 1 to n.
A Simple XML-Based Searchable Database (part 2): URLs and Frame numbers
This tutorial is about adding URLs to buttons or frame numbers to ´gotoAndPlay´ or other actions using xml. The tutorial is a continuation of the previously published tutorial ´A Simple XML-Based Searchable Database´. The previous tutorial was about creating a database using XML. I will also discuss some parts of the script again and this time in more detail. In particular I want to point to one mistake in the previous tutorial. This tutorial requires FlashMX.
CGI Forms With Flash MX and UI Components Set #2
There are several tutorials around using CGI with previous versions of Flash, but MX has added some new features that simplify this a little. Macro media has also issued a second set of components which I have used in this tutorial, as this set contains a "Message Box" component that I found interesting.
How To Set A Mute Sound Button
In this video clip tutorial you will learn the following: How to set a mute sound button in Flash. How to use the Behaviors Window to set common actions in Flash. How to attach an action script to stop all sounds in Flash.
E-mail in Flash the Easy way
This tutorial shows you how to set up a form based e-mail system from within your Flash movie. It describes how to set up the basic form components in the Flash movie as well as giving you the basic knowledge of how to set up either a PHP, Perl, or ASP script to handle the e-mail and have it sent to an address that you specify.
Letter and Number Rain
A tutorial on how to create a matrix-like animation where letters and numbers are falling randomly from above.
Displaying Frame Numbers
The aim of the tutorial is to learn how to use actionscript to display the frame number.
Displaying Frame Numbers
The aim of the tutorial is to learn how to use actionscript to display the Frame number from the Timeline.
How To Make Shootout Games
Learn how to make a health bar, limited bullets, gun cursor (animated), score, input name thing and a timer i sort of invented (hardly any actionscript).
Understanding Expressions
An expression can be a variable, text, numbers and operator or any combination of the above. The important thing to remember that an expression always evaluates to a value. This can be either a string, number or boolean value.
Unique Random Number Generator
Discover how to generate 10 unique, non-doubling random numbers, check out the code!.
Set Variable Action
This is a fundamental action in actionscripting. It allows the handling of information that can be passed between variables and evaluated by actions and/or commands. A variable should be viewed as a container and the Set Variable action places something in that container.
Flash Actionscript Goodies
Heres a collection of actionscript scripts and codes to use as reference when creating dynamic flash projects, includes, loops,random numbers and key listeners for keyboard input
The Color object in flash
The color object in flash allows us to set RGB color value to movie clip symbols. They also help us retrieve the value once set
How to Make 2 Digit Time Display
Just a couple weeks ago I had to make a clock and calendar for a screensaver. And there is a problem that Flash returns minutes, seconds and any other time-related numbers as they are, e.g. 12:5:7. So the task here was to make this number into 12:05:07.
Bar Preloader
The idea behind this preloader is that we halt the progression of the movie and find out our filesize. We find then find out how much of that is loaded, use these numbers to create a percentage and then affect the scale of our bar to represent this.
Tracing Bitmaps
This tutorial has been brought to you by the numbers 256, 1.6 million and the letter T (for tracing bitmaps). The question of animating and morphing bitmaps has come up a few times on the board recently. Enough so that it inspired this tutorial on the subject.
Super Easy Rotation
This tutorial is for you if you know basic, basic, basic actionscript. Pretty much all you have to do is copy and paste and maybe edit some names or numbers. Also you should already have a mouse cursor and a gun drawn, as this tutorial isn't for drawing, it's for a hard problem solved in an easy way.
Understanding Data
Data refers to the numbers, strings, and other information that you can manipulate within Flash. Using data is usually essential when you create applications or websites. You also use data when you create advanced graphics and script-generated animation, and you might have to manipulate values that you use to drive your effects.
SharedObject and You in Flash MX
This tutorial covers SharedObject. SharedObject is a kind of cookie for Flash. Though, SharedObject is much more powerful. SharedObject isn't just a way of saving mere strings on the client's hard disk, you can store texts, strings, numbers and even objects.
Complete Date & Time Clock
A digital type clock with date including the days in numbers & letters & the month in letters.
SharedObject and You
This tutorial covers SharedObject. SharedObject is a kind of cookie for Flash. Though, SharedObject is much more powerful. SharedObject isn't just a way of saving mere strings on the client's hard disk, you can store texts, strings, numbers and even objects. For instance, if you want to save a date object in JavaScript you would have to go though a whole encoding process, with SharedObject you just save it, and be ready.
Flash and DHTML layers for IE
When I was creating a website I wanted to use flash and dhtml together in one page so I didn't need some anoying popup to display some databased or extern data. But It didn't work right away. Why? Because Flash is a plugin with ActiveX and it's always on top. Then I began looking for a solution on the internet and nobody could say how to do it right. On the macromedia site they gave me a sort of solution but it didn't work as I hoped it would, so i surfed the net over and over again but nobody could give a nice explained example how to do it so I wrote this javascript for you all.
Dealing with Data Types
In this tutorial we are going to discuss and learn about one of the new introductions to Flash Actionscript. Some basic data types existed in Flash 4 such as strings, numbers and boolean though they weren't formalised until Flash 5. As you have probably figured out, Flash 5 Actionscript is a lot more complex that its Flash 4 parent but it's complexity delivers something the internet needs - more power :)
Random Generator according to given percentage.
Randomly generate Numbers or Strings according to a given percentage. e.g.:15% chance of the output being the number 15, 35% chance of the output being the number 17, 50% chance of the output being the number 19.
set volume of externally loaded mp3 file
In this tutorial, we will learn how to adjust volume of an externally loaded MP3 file in flash. As we all know, to get this done, we are basically revolving around sound object. The method used to adjust sound volume is setVolume() of sound object. Similarly we can even retrieve the already set volume by getVolume() method, getVolume() returns the sound volume level as an integer from 0 to 100, where 0 is off and 100 is full volume. The default setting is 100.
Score Posting
It's not hard to hack a score post to PHP. If you're posting the data, player = "Mark" and score = "50" so you can show the top 10 scores on your site, who's to stop someone from changing the posting data from 50 to 10000000000000? One system that I'd recomend as a quick fix is a secret password encrypted with your post. Then, when they check what data is posted they will see a bunch of numbers, that they can't change without your password.
Creating a Game - Step 2
In this part of the tutorial we will learn how to create collision detection and set boundaries.
Set Property
The makes repetitious work simple. Great for processing multiple duplicates of objects such as buttons or anywhere you need a task to be performed until a condition is met.
Setting a Delay using setInterval
In this tutorial you will learn how to delay an action for a set amount of time using ActionScript and to get something to repeat.
Advanced Flash Preloader
This preloader comes complete with byte counter, timer and no Javascript! It takes a little more time to set up but is well worth it.
Coloring In
The aim of the tutorial is to learn how to create a colouring-in book in flash. Included below is all the actionscript you need to create your own paint set.

Report
Adobe Fireworks
Adobe Flash
Adobe Illustrator
Adobe Image Ready
Adobe Photoshop
3D Studio Max
Cinema 4D
Maya 3D
Microsoft Excel
Microsoft PowerPoint
Microsoft Word
Microsoft Access
MySQL
C and C++
Python
Visual Basic
.htaccess
Adobe DreamWeaver
ASP
CGI & Perl
CSS
Java
JavaScript
Microsoft FrontPage
Windows Vista
Windows 7