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

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

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

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: [69:FileAttributes] AS3: true, HasMetadata: false, UseDirectBlit: false, UseGPU: false, UseNetwork: false [09:SetBackgroundColor] Color: #FFFFFF [86:DefineSceneAndFrameLabelData] [...]

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