Archive | Actionscript 3.0 RSS feed for this section

AS3 Quick Tip: Get a Class reference from a String

Convert a String to a Class reference with AS3

Continue Reading

AS3 Basics: List all files in a folder including subdirectories (AIR)

Hey all just a quickie. I’ve been building a game save backup program recently and i’ve come across several instances where i need to get a list of all the files within a directory.

so i wrote a class which does this :)

Continue Reading
AS3 Basics: Breaking out of loops (stopping loops)

AS3 Basics: Breaking out of loops (stopping loops)

Hi There, So many of us use loops for a vast array of things, sometimes though you’ll want to stop a loop from executing further.
So the answer to the problem? the ‘break’ statement!

Continue Reading
Flex 4: Getting a reference to the host application or host mxml from ItemRenderers

Flex 4: Getting a reference to the host application or host mxml from ItemRenderers

Sometimes you have a custom ItemRenderer. That has, perhaps, a button that needs to access one of the methods of you’re main application. how would you accomplish this? read on…

Continue Reading
AS3 Flex: Spark DropDownList Dataprovider problems (blank first item)

AS3 Flex: Spark DropDownList Dataprovider problems (blank first item)

Hey all, Just encountered a bit of a strange bug in my flex app.

Continue Reading
AS3 Basics: Condensing if Statements (aka shorthand)

AS3 Basics: Condensing if Statements (aka shorthand)

In this tutorial I’ll teach you how to write condensed if statements. and some other methods of doing comparisons.

Continue Reading

Rapid Prototyping

Some of you may be familiar with rapid prototyping. It is a concept i learnt from the Experimental gameplay project, specifically this article by Kyle Gabler, Kyle Gray (2D Boy, World of Goo), Matt Kucic, Shalin Shodhan.

Continue Reading

AS3 Basics: Loops in Actionscript 3 Part 1 For Loops

Hey Wuup readers. After going through all my older AS3 Basics articles, I found that most of them didn’t really go over the core elements. So in order to rectify the problem, I’ve decided that it’s time to flesh out this area a little. I’m by no means an expert on the language – unless [...]

Continue Reading

AS3: How to Run Applications from a Flash Projector EXE with Actionscript 3 and Batch Files

So i’ve been writing some CD launchers recently with some handy tools on. One thing i had major trouble with was getting a Projector .exe to run programs from sub directorys. Luckily i figured it out so heres how… First in your CD/DVD root directory place a folder named “fscommand” this is the only folder [...]

Continue Reading

AS3 Handy Snippets: Handy Regular Expressions

Hey everyone. This week, I’m bringing you some handy regular expression snippets I use quite frequently. If you are unfamiliar with regular expressions, think of them as a different language that you use within ActionScript. I’m not going to go into detail about Regular Expressions, there’s far better documentation on the Adobe LiveDocs here for [...]

Continue Reading