Currently Browsing: Actionscript

How do you drag and drop in AS 3.0?

The other day I was approached by a flash designer who was creating an avatar drag & drop interface. He wanted to know how I would approach creating such an interface. Well he didn’t like my answer because I drew him into OOP land. He was trying to avoid all that, so I gave him the run down on how he could build a simple drag & drop and then hack his way to save it to the model. After creating...

How do you attach Movie in AS 3.0?

Migrating from ActionScript 2.0 to 3.0 has been a bit bumpy, since my brain has been trained to solve problems in AS 2 for a very long time. While starting out on my mission to conquer AS 3, I realized that I use to rely on AttachMovie to dynamically place assets on stage. Unfortunately, attachMovie has been replaced with addChild. So the question becomes: How do I work with assets in the library? The answer...

Actionscript 3.0 here I come!

I’m now in the process of migrating my 10 + years of Flash ActionScript knowledge to AS 3.0. I have been stuck in AS 2.0 for a while now, due to client work. I book marked a link back in 2008 that should make this process easier. Playing around in AS 3 has been a delight. The basic differences I have noticed are: Underscores For most properties of a MovieClip, TextField, ect. have dropped the underscore. mc._x...
Page 4 of 41234
Coding Color | 2009 All Rights Reserved.