Archive for the 'WebDev' Category

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.

SWFtrospection

Saturday, February 6th, 2010

Open Flash CS4, create new AS3 FLA, add as3swf.swc and paste this on frame 1:
import com.codeazur.as3swf.SWF;
var swf:SWF = new SWF(root.loaderInfo.bytes);
trace(swf);
Trace output:
[SWF]
Header:
Version: 10
FileLength: 149405
FileLengthCompressed: 149405
FrameSize: (550,400)
FrameRate: 24
FrameCount: 1
Tags:
[...]

The Boteco São Bento Incident – Or: Fuck Free Speech!

Wednesday, September 30th, 2009

This pisses me off to no end, so i decided to blog it.
So there is this blog called Resenha Em 6 where the author posts random reviews of movies, CDs, DVDs, books, shows, bars, restaurants and TV shows, in six lines of text or less.
Recently, he reviewed the hipster bar Boteco São Bento (warning, ugly [...]

Back when Twitter was called FlashCoders

Tuesday, September 8th, 2009

Back when Twitter was called FlashCoders, there was a ragtag bunch of rebels who refused to bow to the Empire.
The Rebel Alliance had mastered the ancient art of wielding the __proto__, an elegant weapon for a more civilized age. Its sharp underscores could slice through any object. So cleanly, in fact, that members could be [...]

Hacking SWF – Everything You Never Wanted To Know About Shapes In Flash

Tuesday, September 8th, 2009

I have been inbetween projects the last weeks and thought i could do something productive while i’m idle, so i created as3swf, a low level Actionscript 3 library to parse, create, modify and publish SWF files.
At the same time i experimented with iPhone development, as we at côdeazur have some commercial iPhone work lined up. Part of [...]

Undocumented SWF Tags written by MXMLC

Friday, August 21st, 2009

While testing my AS3 SWF library as3swf yesterday, i found that MXMLC (the compiler that comes with the Flex SDKs)  writes undocumented SWF tags to the SWFs it produces.
I was able to identify two so far:
ProductInfo (Tag ID 41)
The ProductInfo tag contains infos about the tool used to generate the SWF, as well as the [...]

AUPEO!

Monday, November 19th, 2007

In case you were wondering what i have been working on in the last few months (and what will keep me busy in the coming months).. AUPEO! is a brand new platform that combines music and community – online, offline, on the road, on the web, on your desktop, on your devices.
I can’t tell too [...]

Custom Installer For Adobe AIR Applications

Saturday, October 20th, 2007

I need a custom installer for an AIR application i’m currently developing. That’s because my AIR app needs additional functionality that the AIR runtime doesn’t provide (specifically: detecting USB storage devices, act as a TCP socket server, talk to Last.fm scrobbler plugins). For that purpose i wrote a local RPC socket server gateway in C [...]

FZip Alpha Release: Create And Modify ZIP Archives

Monday, October 8th, 2007

FZip has been around for some time now, and people seem to like it. However one feature has been asked for repeatedly: In addition to reading ZIP archive, people want to be able to create new (and modify existing) archives.
So i finally sat down this weekend and added that.
The code is not tested very well [...]

FZip, AIRRemoteUpdater Upgraded for AIR Beta 2

Thursday, October 4th, 2007

Just a quick FYI: FZip and AIRRemoteUpdater upgrades for AIR Beta 2 are now available for download.
FZip now uses ByteArray.uncompress(CompressionAlgorithm.DEFLATE) instead of the now deprecated ByteArray.inflate(). I also tweaked FZip to throw an exception when a parsing error occurs and no event listener is registered for FZipErrorEvent.PARSE_ERROR events.
AIRRemoteUpdater now gets the local descriptor XML via [...]