AS3 – Abstract Classes

abstract classes are not supported by actionscript 3. see http://joshblog.net/2007/08/19/enforcing-abstract-classes-at-runtime-in-actionscript-3/ the above reference also provides a kind of hackish workaround to create abstract classes in as3. Edit also see http://www.kirupa.com/forum/showpost.php?s=a765fcf791afe46c5cf4c26509925cf7&p=1892533&postcount=70 Edit 2 (In response to comment) Unfortunately, you’re stuck with the runtime error. One alternative would be to have a protected constructor…. except as3 doesn’t … Read more

konami code in flex

A state machine is fun to write, but in this case I’d go with a signature pattern. Depending on where you want to put the handler (on the stage of the component), here’s some code that should work, though you can probably tighten it (and of course customize it to your specific need): // up-up-down-down-left-right-left-right-B-A … Read more

Static Actionscript code analysis possibilities

Update Nov 2018: It would appear that Structure101 (new download page) no longer has an ActionScript variant. Original answer, links outdated: Download Structure101g and select the Actionscript flavor after installing the software. I’ve confirmed that it is able to map out class level and even function call dependencies in Flex/AS3 projects, and generate a visual … Read more

What is the specifications for Motion JPEG?

There isn’t an official standard. In practice, in its simplest form, an mjpeg is just a concatenation of jpeg files, one after the other in the same file. ffmpeg supports this using the -f mjpeg or -vcodec mjpeg switches. JPEG decoders that decode multiple images should remember and use the same jpeg tables for subsequent … Read more

tech