Archive for the 'c++ and others' Category

AS3C — take a look inside

I have started working on AS3C at the end of last year. After a quick prototype the development stagnated and I added just several fixes and tests to the code. Basically I started AS3C as a complete C# newcommer and because of that the code is very ugly.

Due to the fact that I do not have much free time to continue developing AS3C I think it is the right time to release the source-code on the one hand and to let people experiment with it on the other hand.

You can either download the sources and build AS3C manually (you will need zlib.net) or download a binary from trunk/bin/.

When using AS3C you will need the ActionScript from the SVN. Remember that you write real ActionScript code which gets translated by AS3C. There is also one undocumented and very experimental feature existing. If you run as3c.exe -optimize main.swf you could get some speed improvements if you have heavy loops using the Math class. But it could also destroy the SWF so do not forget to make a backup :o)

FlashHunter Deluxe

FlashHunter has been used by actually one person: Michael Baczynski. He asked me at the FFK08 in Germany if I could modify the plugin to give him a global keyboard hook which will kill all instances of the Flash Player including the debugger.

So here it is: The FlashHunter Deluxe. Just for you Michael :)

FlashHunter

FlashHunter

FlashHunter is a neat Eclipse plug-in I wrote that allows you to kill all running Flash player instances with a single click. Two days ago I was implementing the fast Fourier transformation in Flash and I had a stupid error that caused an endless loop. Since I am testing with the standalone player the only way to get rid of it was Ctrl+Alt+Del and killing it. This is not really a nice workflow so I wrote the plug-in.

I am not a Java developer and definitly not an Eclpise platform developer so the plugin itself is very basic. I experimented a little bit with JNI and wrote most of the plugin in C++ because it still is my language of choice.

The plugin is Windows only. I think you could also do something like that as an external tool for OS X (”killall Flash\ Player”).

FlashMate

…or my WinApi weekend. Someone at the office asked why the Flash player does not remember size and position. My answer was FDT would do it for you. But since we are not using it (arrg!) I asked the C++ gurus here what keywords I have to google for to do it on my own.

The result is FlashMate. Just download, unzip and start it. It will be completly silent (perfect for startup) and while FlashMate is running your player will remember size and position for SWF files individually. You can also disable FlashMate for certain files. Just right click on the titlebar and uncheck it.

Hope this nifty little thing will make your daily life a little bit easier. Ugly source code is included — I am not a good C/C++ coder at all but digging a little bit in the WinApi was fun. Now back to managed memory :)

Improvements and bug reports are more than welcome.




Close
E-mail It