FP8: Here’s the player actionscript objects

Posted on Saturday 16 July 2005

Straight from a Russian site, a decompile of all the actionscript included in the player 8 beta. Highlights:

  • flash.geom.* is implemented in player actionscript, not ASNative. All I can say is wtf? It sounds like flash.geom.* is going to be used with bitmaps transforms and such, it better damn be implemented in C++ by the time the player is out of beta, as it has potential to be a bottleneck
  • flash.external.ExternalInterface... interesting. It looks like it implements some sort of new JS to Flash communication mechanism, possibly based on Mike Chambers' recent efforts. Finally a way out of SPLIFF (scripting+php+LocalConnection+iFrame+Flash+FlashVars for newbies)?
  • For uploading, here's the deal:

flash.net = {};
flash.net.FileReference = function () {
    ASnative(2204, 200)(this);
    this._listeners = [];
};
var o = flash.net.FileReference.prototype;
AsBroadcaster.initialize(o);
ASSetNative(o, 2204, "8browse,8upload,8download,8cancel");
ASSetPropFlags(o, null, 3);
flash.net.FileReferenceList = function () {
    this.fileList = new Array();
    this._listeners = [];
};
var o = flash.net.FileReferenceList.prototype;
 

  • Looks like we've only scratched the surface concerning bitmap handling:

flash.display = {};
flash.display.BitmapData = ASconstructor(1100, 0);
var o = flash.display.BitmapData;
o.Channel = {};
o.Channel.RED = 1;
o.Channel.GREEN = 2;
o.Channel.BLUE = 4;
o.Channel.ALPHA = 8;
ASSetNative(o, 1100, "8loadBitmap", 40);
var o = flash.display.BitmapData.prototype;
ASSetNativeAccessor(o, 1100, "8width,8height,8rectangle,8transparent", 100);
ASSetNative(o, 1100,
"8getPixel,8setPixel,8fillRect,8copyPixels,8applyFilter,8scroll,8threshold,8draw,8pixelDissolve,8getPixel32,8setPixel32,8floodFill,8getColorBoundsRect,8perlinNoise,8colorTransform,8hitTest,8paletteMap,8merge,8noise,8copyChannel,8clone,8dispose,8generateFilterRect",
1);
 

w00t!


WordPress database error: [Can't open file: 'wp_comments.MYD'. (errno: 145)]
SELECT * FROM wp_comments WHERE comment_post_ID = '133' AND comment_approved = '1' ORDER BY comment_date

No comments have been added to this post yet.

Leave a comment




Your e-mail address is never displayed. If you run into issues with SpamKarma blocking you, email me at $patrick->5etdemi(com)


RSS feed for comments on this post | TrackBack URI