Archive for the 'aswing' Category

Converting SWF animations to video

Tuesday, October 14th, 2008

If you ever tried to convert a SWF animation to a video you know what a pain it can be. Let’s first look at the solutions at hand:

Exporting a movie from Flash
Using a SWF to movie converter
Screen capture

Now let’s break those down.

Exporting a movie from Flash
- Doesn’t play sub-movieclip animations
Using a SWF to video converter
- [...]

Quickly generating AsDoc

Tuesday, June 17th, 2008

For ease of use i have a small batch file to generate the documentation for my ActionScript projects. It’s definitely nothing special, but if you struggle with the asdoc syntax and you just want a quick solution, here it is:

@echo off

set asdoc_bin="E:\projects\flex_sdk_3\bin\asdoc.exe"
set aswing_path="E:\projects\aswing\trunk\AsWing\bin"

%asdoc_bin% -doc-sources org\dirty_motherfucker\. -main-title "My ActionScript Project" -output "doc" -compiler.library-path %aswing_path%

pause

It also points [...]

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 [...]

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

/**
* Opens the global MessageBox instance with the supplied parameters set.
* When the MessageBox is closed it [...]