Browsing Category

ActionScript

Circular Motion in AS3: Make One Moving Object Orbit Another

Circular Motion in AS3: Make One Moving Object Orbit Another

Having one object orbit another is a movement mechanic that’s been used since the early gaming era, and it remains handy to this very day! In this Quick Tip we will explore the mathematical function for orbiting, see how to modify it, and look at practical uses in actual game design.


This entry is part 10 of 10 in the You Do The Math Session
Quick Tip: How to Debug an AS3 Error #1203
basix

Quick Tip: How to Debug an AS3 Error #1203

In this Quick Tip, we’ll discuss the confusing AS3 error 1203, “no constructor found”, which crops up without provocation and is rather unfortunately worded. We’ll examine the scenario in which it will appear, and how to fix it.


This entry is part 10 of 10 in the How to Fix Bugs in Flash Session
Quick Tip: Implementing the Bubble Sort in AS3

Quick Tip: Implementing the Bubble Sort in AS3

In this Quick Tip, I’ll show you how and why the Bubble Sort algorithm works, and how to implement it in AS3. You’ll end up with a class that you can use in any Flash project, for sorting any array.

Easy, Fluid Keyboard Movement in AS3 With the Input Class

Easy, Fluid Keyboard Movement in AS3 With the Input Class

There are a lot of games out there with jerky, unrealistic movements and that can do only one thing to your product: make it unappealing to the audience. But smooth movement is not hard to achieve – let’s get to work!

Quick Tip: Use FZip to Open Zip Files Within AS3

Quick Tip: Use FZip to Open Zip Files Within AS3

In this tutorial I will introduce you to FZip, an AS3 Library that lets you open zip files inside your Flash projects. This can save a lot of bandwidth; in this tutorial we will load an 2.5MB zip file which contains 9.3MB worth of assets.

Building Real Time Web Applications With Adobe Cirrus – Tuts+ Premium
plus

Building Real Time Web Applications With Adobe Cirrus – Tuts+ Premium

Building real time networked games and applications can be challenging. This tutorial will show you how to connect flash clients using Cirrus, and introduce you to some vital techniques.

Beginning Audio Programming in AS3 – Tuts+ Premium
plus

Beginning Audio Programming in AS3 – Tuts+ Premium

Flash Player 10 introduced new low-level APIs for manipulating audio with AS3. In this tutorial, exclusive to Tuts+ Premium members, you’ll learn about these APIs and how they work, and use them to create a simple app that can play MP3s in reverse.

AS3 Quick Tip: Hacking the Event Flow

AS3 Quick Tip: Hacking the Event Flow

Sometimes you may find yourself needing to modify the behavior of a component for a user input event. This article will explain how to do so by modifying the event object in-flight, before it’s processed by the component. That’s right, you can lie and cheat. In code.

How to Add Mouse Gesture Control to Your Flash Projects: Multi-Stroke Gestures

How to Add Mouse Gesture Control to Your Flash Projects: Multi-Stroke Gestures

This entry is part 2 of 2 in the series Mouse Gesture Control in Flash

In the first part of this series, I introduced a class to handle single mouse stroke detection: MGesture. This tutorial takes it a step further, by detecting a sequence of strokes.

Monitoring the Loading Process in Flash With the Loader Class

Monitoring the Loading Process in Flash With the Loader Class

In AS3 projects, you often need to load external assets like images and other SWFs. While loading these assets you have to keep track of several events for successful execution of your application. You might have been using some of these events like ProgressEvent, COMPLETE event. This tutorial shows you how to get info about the assets you’re loading with Loader.load(), using its associated events, all in one place. So if you’re having difficulty loading such assets, or you have less time in hand to debug, take a look at this.

Page 1 of 1812345678...Last »