Archive for the 'AS3' 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:
[...]

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

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

Automating remote software updates in Adobe AIR applications

Wednesday, August 8th, 2007

I just released the first version of AIR Remote Updater, an AS3 class to automate remote software updates in Adobe AIR applications.
It transparently checks version numbers, downloads the .AIR installer file if needed and triggers the AIR-native update process.
It grabs the version number directly from the remote .AIR file without having to [...]

FZip Update

Friday, June 22nd, 2007

We just released an update for FZip (the Actionscript 3 class library to load standard ZIP archives and extract/decompress contained files):

Added support for Adobe Air. The Adobe Air runtime provides a low level inflate method, making it possible to load any ZIP archive and decompress compressed files without the need of injecting Adler32 checksums.
Added FZipLibrary [...]

Adobe Apollo and Last.fm: Proof of concept

Friday, May 25th, 2007

I have been toying around with the idea to write an Adobe Apollo application that’s able to monitor your favorite media player (such as Winamp, Windows Media Player, iTunes, Rhythmbox, etc) for play back status and song information.
Last.fm provides an application along with plugins for pretty much all existing media players on all major platforms [...]

Size Matters

Thursday, April 12th, 2007

Big propz to Adobe for sending me a set of HUGE (and beautiful!) Flex 2 and AS3 API posters! It didn’t even take a week to arrive here in São Paulo. Sah-weeet! Thanks a bunch, much apprechiated!