Archive for March, 2005

March 31st, 2005

Extending mx.transitions.Tween

This is a really cool AS 2.0 class for extending the mx.transitions.Tween class to pass multiple properties. I wish I had know about this before. I just finished up a small project where I was doing multiple lines of mx.transistions.Tween when I didn't need to be.
Here is some sample code on using [...]

March 10th, 2005

Mac Mini has arrived

Even the Mac Mini box was almost smaller than the small form factor Shuttle PC I have.

Once its been unwrapped, it even got smaller, but not lighter. The mini may be small..but not light.

Its final resting place on top of the Shuttle box.

All booted up and no where to go... yet..

March 6th, 2005

Basic XML with Flash

Someone had asked me today how to use XML with Flash. He is interested in using a XML file to configure a game he wants to write. He wants to write a Monopoly-like game but be able to quickly reconfigure the game board based on the location he wants to use. I wrote [...]

March 5th, 2005

New iPod Mini

My new iPod Mini arrived the other day... well, it was mine for about 5 hours. It was really bought for my wife, but I got to play with it until she got home from work.
Her computer is an "old" dual AMD MP BoxxTech machine and was well before FireWire [...]

March 4th, 2005

ActionScript — Use mx.transitions.Tween

Using the mx.transitions Class is very easy and a simple way to tween stuff that used to take a LOT longer to do the "old-way".
Syntax:
referenceID = new mx.transistions.Tween( InstanceName, "_property", easingType, beginning value, ending value, # of frames or seconds, boolean);
Example:
PLAIN TEXT
Actionscript:

easeType = mx.transitions.easing.Strong.easeOut;

myTween = new mx.transitions.Tween(myMovieClip_mc, "_x",easeType, 0, 600, 20);

 

// [...]