Archive for the 'WebDev' Category

Hacking SWF – PlaceObject and the Ratio Field

Monday, February 6th, 2012

According to the SWF10 specification, PlaceObject2 .. can both add a character to the display list, and modify the attributes of a character that is already on the display list. The placed character is usually defined earlier in the SWF, and can be anything supported by SWF, e.g., Shape, MorphShape, Sprite, Text, EditText etc. It [...]

ActionScript 3 Bitmap Tracer (Vectorizer): as3potrace

Monday, April 25th, 2011

Ever wanted to convert a bitmap to vector shapes, at runtime, in Flash? Look no further. Let me introduce you to as3potrace, an ActionScript 3 library to trace bitmaps. As the name suggests, this is a port of the well known C library potrace by Peter Selinger. To be more exact, it is a AS3 [...]

Adobe iPhone Packager 2.0

Sunday, October 3rd, 2010

The whole Flash community has been jumping for joy ever since Apple revised their controversial App Store License Agreement in early September this year. Apps created with Adobe’s “iPhone Packager” are not longer banned from the App Store, and Adobe started working on the product again. Section 3.3.1 now merely forbids the use of private [...]

Mythbusting “HTML 5 Did Not Kill Flash”

Friday, October 1st, 2010

So, i was thinking.. the Flash Player version number in the “HTML 5 Did Not Kill Flash” comic strip (258.1) … PLAUSIBLE? It is obvious that we deal with Jean-Luc Picard, captain of the Starship USS Enterprise NCC-1701-D, which places the scene in the Star Trek TNG series. According to Wikipedia, Star Trek TNG is [...]

Flash IDE Inspired Flex 4 Timeline Component

Thursday, September 30th, 2010

Here’s a little demo of a Flex 4 component i wrote that displays a Flash IDE-like timeline for any SWF you load into it. The timeline data is reconstructed by as3swf (i discuss how that works in a previous blog post, SWF Timeline Reconstruction with as3swf). The timeline is not interactive in this demo, and [...]

My Silly Gist Collection

Saturday, September 25th, 2010

I’ve been quite busy lately on both client and personal projects (can’t talk about the former, other than it being a big ass Flex 4 enterprise application i’ve been working on for the fine folks at Powerflasher; and it’s too early to talk about the latter.. stay tuned). In the last few weeks i silently [...]

SWF Timeline Reconstruction with as3swf

Saturday, May 8th, 2010

In case you havent heard of it yet, as3swf is an ActionScript 3 library to parse and publish SWF files. It does that rather well by now, providing full roundtrip publishing, plus some neat extra features like shape export to AS3 Drawing API, AS3 GraphicsObjects, FXG, and Objective-C. Whenever i find some free time i’m [...]

The Grand SWF Archive

Friday, April 30th, 2010

What if somebody would write a spider (which respects common conventions like robots.txt etc) that searches for and archives publicly available SWF files, and a service that makes graphical assets found in those SWFs (vector shapes, bitmap images, videos, fonts, etc) available for public browsing, similar to what the Internet Archive’s Wayback Machine does? As [...]

“Flash is as open as HTML5″ – No, it isn’t.

Thursday, April 22nd, 2010

Lately, Adobe representatives and Flash fan boys alike became more vocal than usual about the alleged openness of Flash. This is probably spurred by the proposed feature set of HTML5, as well as the decisions of a certain vendor to ban Flash from some of their products, both potentially being threats to Adobe and the [...]

Realtime MP3 Decoding in Actionscript 3

Thursday, February 11th, 2010

So did you ever try to play Shoutcast streams in Flash? Did you run into memory leaks? Did the playback sound pitched or otherwise screwed? Fear no more. Let me introduce you to as3icy.