Category Archives: Flash

Build an Intelligent Tic-Tac-Toe Game with AS3

intelligent-tic-tac-toe-game

“Tic-Tac-Toe, that’s boring!” you might think. In this Tutorial I will show you that building a Tic-Tac-Toe game is anything but boring. It’s the ideal game to create when you would like to learn ActionScript 3.0. While building it you’ll learn a great deal about functions and event listeners, you will see how easy it is to customize the graphics of a game and you will even learn how to program Artificial Intelligence (AI)!

Quick Tip: How to Build a Frame Rate Counter in ActionScript 3.0

In this Quick Tip you’ll learn how to measure the current frame rate of your Flash application using ActionScript 3, and display the FPS on screen.

The Comprehensive Guide to Preloading a Single SWF File

In this Tutorial we’ll create a SWF that preloads itself, meaning that the preloader and the content is in the same file. We’ll go over how to do things the right way and avoid the traps.

Blow an Image Away with a Custom Wind Effect

blow-an-image-away

In this Tutorial, we will create a custom class which breaks a picture into a thousand pieces and simulates a wind blowing them away. I created this project purely with AS3 and FlashDevelop – Flash not required!

Exclusive Freebie: The Piecemaker XML Gallery

exclusive-freebie-the-piecemaker-xml

It’s April 1st! Whilst I wouldn’t suggest you take everything on the tuts+ sites seriously today, this post is no joke. Today sees the beginning of monthly Exclusive Freebies – high quality files (website templates, galleries, media players, icon sets..) created exclusively for Activetuts+ readers!

Quick Tip: How to Export Flash to PNG with HYPE

export-flash-to-png-with-hype

With Flash you can create some awesome code generated graphics. Often you’d like to save these graphics as an image, so you can edit them afterwards with image editing software or just showcase them. We’ll use the HYPE framework from Joshua Davis and Branden Hall to save our code-generated graphics as a PNG.

Create a Mac Dock Style Menu with AS3

mac-dock-style-menu

In this Tutorial I’ll show you how to create a menu like Apple’s Dock using AS3 classes. We will create a single .as file that will perform all the magic, extending it to add new features.

Thinking in Commands: Part 1 of 2

thinking-in-commands-part-1-of-2

In this Tutorial, I’ll show you how to create a minimalist AS3 Command framework, capable of performing actions in sequence, in parallel, or with a delay. You’ll lean how to use this framework to create a complex effect with simple and clean code.

Extend your Flash Application Using the Context Menu

flash-application-using-the-context

A Context Menu is a menu in a graphical user interface that appears upon user interaction, such as a right-mouse click. The Flash Player context menu allows you to add custom menu items, control the display of the built-in context menu items (for example, Zoom In and Print) and create copies of menus.

In this Tutorial, we’ll learn how to take advantage of these items.