unlimited arguments with as3 events..

February 7th, 2008

Filed Under: actionscript with Comments Off

Kudos to this man.
Though rather than accessing the appended data directly through the array, I prefer to use apply() and send it to another function.
event_function.apply(null, e.arg);

custom classes for assets in as3..

February 6th, 2008

Filed Under: actionscript with Comments Off

I’m way behind with this, but that’s hardly surprising considering I’ve only just been picking up as3.
I used custom classes a fair bit in as2, allow you to bring in an assets from the library with a class already attached was very useful, though trying to emulate that in as3 proved difficult. That is, until […]

embed xml with mxmlc

February 4th, 2008

Filed Under: actionscript with 1 Comment

Admittedly it’s not often that you’d need to embed an xml file, but it does happen to be a useful format to use when you need to store data. So when a client asks for a swf to drop into a powerpoint (ugh) presentation, and wants no reliance on external files, you’re faced with the […]

netstream.play()

January 29th, 2008

Filed Under: actionscript with Comments Off

Can anyone explain the weird half-documented features of Netstream.play() in the as2.0 help? Undefined arguments!

flade graphics manager

January 26th, 2008

Filed Under: actionscript with Comments Off

If you’ll read back a few posts you’ll discover that I’ve only recently embraced actionscript 3.. I’d previously (obviously) been solely using as2. I am, however, a big fan of physics engines.. I love the way they work, and look. This comes as a bit of problem when using as2 as it was never really […]

mxml-see im not crazy

January 24th, 2008

Filed Under: actionscript with 1 Comment

So in an effort to sustain my earlier promise of starting to develop in as3, I downloaded the Flex 2 SDK and made a start on some simple code. All was going fine, using FlashDevelop to quick-build a single, simple class. Until, that is, I tried to tween something..
In as2 I often used the mx.transitions.Tween […]

i am hating this:

January 24th, 2008

Filed Under: actionscript with Comments Off

Error: fl.transitions.Tween can not be found.

i am loving this:

January 23rd, 2008

Filed Under: actionscript with Comments Off

[Embed(source = ‘assets/logo.png’)] public var Logo:Class;

actionscript 3..

January 22nd, 2008

Filed Under: actionscript with Comments Off

OKAY okay, i know, it’s been out for ages… why am I not already using it? Shaddup, I’m starting today.
Bah. I hate that I’ll love it.

quarter-planes

January 16th, 2008

Filed Under: actionscript with Comments Off

I’ve been looking recently into how to distort images with actionscript.. a friend sent me the following link to explain a technique he used on a perspective-distortion for one of his flash games. I found it to be a great explanation of the theory, though I’m yet to succeed in my attempts. Mouse to […]

Categories