Browsing Author

Dru Kepple

Dru Kepple works at Summit Projects as an ActionScripter, and teaches Flash at the Art Institute of Portland. He writes about Flash-ish things at the Summit Projects Flash Blog. He's always thinking about ActionScript. He's thinking about it right now, in fact.
Author Feed

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
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 101: Quick Tip – Dispatching Events Without Extending EventDispatcher

AS3 101: Quick Tip – Dispatching Events Without Extending EventDispatcher

It’s rare, but it happens. Sometimes you absolutely need to extend a class, and that class does not already extend EventDispatcher. At the same time, you absolutely need your class to be an EventDispatcher. Because ActionScript 3 does not allow multiple inheritance, how do you reconcile this?


This entry is part 18 of 18 in the AS3 101 Session
Quick Tip: How to Debug an AS3 Error #1120
basix

Quick Tip: How to Debug an AS3 Error #1120

A very common ActionScript error is Error 1120, the “undefined property” error. In fact, this may be the most common compile-time error. Its cause is very simple, but there are a number of ways it can actually be induced. We’ll take a quick tour of some of the scenarios in which you’ll encounter this error, and how to fix them.


This entry is part 9 of 10 in the How to Fix Bugs in Flash Session
AS3 101: Events – Basix

AS3 101: Events – Basix

For this chapter of AS3 101, we will be diving into the mechanics of the Flash event system. If you’ve been following along so far, you’ll have seen events in use, dating all the way back to the first episode of the series. The editor and I felt that it was time to write up something to be formally included in the curriculum, so if you’ve ever seen those lines of code about adding event listeners or dispatching events, and not quite caught on, then this is the tutorial for you.


This entry is part 17 of 18 in the AS3 101 Session
AS3 101: OOP Introduction – Basix
basix

AS3 101: OOP Introduction – Basix

Twice a month, we revisit some of our readers’ favorite posts from throughout the history of Activetuts+. This week’s retro-Active tutorial, first published in October 2010, is an introduction to object-oriented programming in AS3. Don’t forget to check out the other AS3 101 tutorials!

Object-Oriented Programming is a bit of a hot topic. More and more programming languages are cropping up that support it (Ruby, for example), and more and more languages that previously didn’t support Object-Oriented Programming (OOP for short) have been released with versions that do, like PHP and ActionScript. Some languages only work if you utilize the whole OOP thing to begin with, like Java and Objective-C.

It’s actually been around for a long time, but came into the limelight in the 1990′s primarily due to its advantages with programming GUIs and the rise of C++ and Objective-C. Wikipedia has an interesting section on the history of OOP, which is a great place to start learning.


This entry is part 8 of 18 in the AS3 101 Session
Quick Tip: How to Debug an AS3 Error #2044
basix

Quick Tip: How to Debug an AS3 Error #2044

In this Quick Tip, we’ll take on run-time Error 2044, the un-handled IO error. It’s actually very simple, but it plagues even experienced developers, so we’ll go in-depth and turn everyone here into IO error ninjas.


This entry is part 7 of 10 in the How to Fix Bugs in Flash Session
Quick Tip: How to Debug an AS3 Error #1063
basix

Quick Tip: How to Debug an AS3 Error #1063

It’s time for another debugging Quick Tip. We’ll continue our focus on specific (and common) errors that tend to stymie less-experienced ActionScripters. In this case, we’ll cover Error #1063, the argument count mismatch error.


This entry is part 6 of 10 in the How to Fix Bugs in Flash Session
Quick Tip: How to Debug an AS3 Error #1009
basix

Quick Tip: How to Debug an AS3 Error #1009

One of the more common questions I see on forums and get from colleagues is how to debug Error 1009, also known as the “Null Object Reference Error.” Or, as I call it, the “Annoying Mosquito Error From Hell.” It crops up a lot, and unfortunately the error itself does not contain much information about the source of the error. In this quick tip, we’ll take a look at some steps you can take to track down this mosquito and squash it good.


This entry is part 5 of 10 in the How to Fix Bugs in Flash Session
Fixing Bugs in AS3: Introduction
basix

Fixing Bugs in AS3: Introduction

In this tutorial, I’ll describe some of the basic information you need to debug your Flash applications. Finding and resolving errors in your ActionScript is no small task, so this is actually just the first article of a series. In this installment, we’ll take a look at some of the general things you can do to help track down your bugs.


This entry is part 4 of 10 in the How to Fix Bugs in Flash Session
Page 1 of 3123