Tag Archives: Actionscript

Object 2 Layer jsfl

For a project of mine: Custmm Grumm I needed to change a shape into an array (explained in this post shape 2 array jsfl ). To make this happen I imported the .AI file (Illustrator) to the stage. But it will place everything on one layer, every shape it’s own ‘group’ and the script I [...]

From AS2 to AS3 – Where did it go – attachMovie

Where did attachMovie go in AS3? Once I started using attachMovie instead duplicateMovieClip my AS2 life became a lot easier. What has the ActionScript 2.0 Migration to say about this subject: ActionScript 2.0  ActionScript 3.0  Comments attachMovie() Method Removed In ActionScript 3.0, use addChild() to add child display objects. Removed… wtf? and you can read the documentation [...]

From AS2 to AS3 – Where did it go – setRGB

Update #1: It seems that .setRGB () has been deprecated in favor of the flash.geom.ColorTransform class. So a little as2 update. In some cases I can’t help thinking that AS3 hasn’t made our live easier. The same happened with the change that happened from the AS2 setRGB to AS3. Specifies an RGB color for a [...]

Lite components from BIT-101: Minimalcomps

Update #1: there has been another update New MinimalComp: WheelNav, but I’m pretty sure I won’t been using this one very much… I’m using this for some time now, and it’s time to share this with you all: Minimalcomps from BIT-101. This lite-weight components set is great, I can see what the code is doing, [...]

ActionScript syntax highlighting

I wanted an easy way to present my ActionScript code on my blog. The easiest way is to use the code button in WordPress and CSS. I’ve used this in combination with the pre tag But that’s doesn’t show nice code highlighting or line numbers… Syntax highlighting is a feature of some text editors that [...]

AS2 to AS3: get all objects in a movieclip

Sometimes you want a list of everything inside a movieclip. For example: you want to know the instance names of every movie in the root. ActionScript 2 A little trick that I used a lot in AS2 is: for(var i in _root){ trace(‘key: ‘ + i + ‘, value: ‘ + _root[i]); } or for(var [...]

Separate RSS feeds Papercraft and Flash

Because I talk about two topics on my blog that have absolutely nothing to do with each other I created (well, WordPress provided it) two separate RSS feeds for Urban papercraft and Flash. Custom RSS Links All Flash posts All Urban papercraft posts

From AS2 to AS3 – Where did it go – onRelease

Last year I started working with AS3, and after having some startup problems, I’ve made my first application in it (not online yet). The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2… That AS2 is embedded deep into [...]

AS3 – take one step at a time: step 1a

I’ve made a mistake, the code I original wrote doesn’t work (I’m glad nobody noticed it ). You can find the correct class here My previous post is about my first step into ActionScript 3 (AS3) and in my case: trail and error is the best way to learn stuff. But it takes some time [...]

AS3 – take one step at a time: step 1

I finally started programming with ActionScript 3 (AS3); I know, I not a early adopter… And the first steps in AS3 are as uncomfortable as the first time I started OOP programming … or when I started moved from AS1 to AS2… Since I started working for NOISE 5 months ago and moved to Amsterdam, [...]