Archive for the 'actionscript' Category

Compiling SWC Libraries - Part 2

Thursday, May 8th, 2008

dragonworx, a user from the FlashDevelop message board took the time to write an SWC compilation plug-in for FlashDevelop.
So, if you’re a FlashDevelop user and you’re looking to compile an SWC library you should definitely have a look at this.
http://www.flashdevelop.org/community/viewtopic.php?t=2987
I personally have not yet put it to use as i am waiting until solutions are [...]

Achieving high performance in Full-HD resolution with ActionScript

Thursday, May 8th, 2008

I recently had to write a rather simple picture viewing application with a little twist. The image display had to be interesting looking, which means blends, filters and movement. In addition to that the display unit had to run in Full-HD resolution (1920×1080).
Now i don’t know about your system, but with my Core2 Duo E6600 [...]

Actionscript Maze Generator

Tuesday, April 15th, 2008

If you’ve been checking my blog regularly (yeah, right) you might have noticed that there have been no updates lately (yes i am really sorry).
But i am very grateful for my 100 visits a month, so i have to give you something.
Ok, just for the fuck of it, so you know i am not dead, [...]

Building an SWC library using the Flex 3 SDK

Wednesday, February 20th, 2008

So the other day i was trying to build the AsWing library with the Flex SDK. Sadly, i failed miserably. I didn't even know where to start. How do you feed all the files into the compiler? What command line switches to use? So after reading basically every piece of documentation that Adobe has to [...]

Yay, Bubbles!

Thursday, February 14th, 2008

Nothing special, yet fun, somehow. Control the direction and speed of the bubbles with the mouse. YAY \o/
Leftclick to start/stop.


edit: Make sure you got the latest version of the Flash runtime (9,0,115,0)!

Short filenames based on weighted curve

Tuesday, February 12th, 2008

Here is a small function that will shorten a filename based on a weighted curve.
I used a simple sine curve given the start and end of the filename the highest weights.
PLAIN TEXT
Actionscript:

/**

* This function will return a shorter representation of the path.

* Each token in the path is given a certain weight based [...]

TimedForEach Class

Thursday, February 7th, 2008

I ran into some trouble today with batch processing some files.
I am processing a set of files, but it is possible that some of the supplied files are invalid.
In that case i want to be able to pop up a messagebox and ask the user if he wants to retry, ignore or abort.
A lot of [...]

MessageBox Class for AsWing

Friday, February 1st, 2008

I lately commited a new class to the AsWing Kit SVN.
It enables you to display simple message boxes in AsWing based ActionScript applications.
The class was modeled after the Windows API function MessageBox().

The repository can be accessed through http://svn.aswing.org/aswingkit
PLAIN TEXT
Actionscript:

/**

* Opens the global MessageBox instance with the supplied parameters set.

* When the MessageBox is closed [...]