Henrik,
flash.automation.*
This sounds interesting.
I wonder if the spiders might eventually pick up on frame labels.
I guess it's too much to hope for given that we also like to encrypt SWFs.
John
On 02/12/2010 11:30, Henrik Andersson wrote:
I am sure that most people here know what playerglobals.swc is, but I
might as well explain it anyway.
The playerglobals.swc file is used by the compiler to know how the
flash player api looks like. It lists all the classes, packages and so
on.
What may not be immediately obvious is that it includes everything,
not just the documented features. But it also exposes some code that
is real normal actionscript code.
By unpacking the swc (just a renamed zip) and decompiling the
contained swf you can see all of this.
Some of the highlights are the ExternalInterface class and the
URLLoader class. They are nearly completely made out of normal
actionscript code.
But there is also several plain undocumented features. Let me list
what I know of:
* adobe.utils.ProductManager - AIR application manager thing, also
related to the flash player self updating.
* flash.trace.Trace - No idea what this is, but the source code to the
class is in the tamarin repository.
* Object._propertyIsEnumrable, Object._setPropertyIsEnumrable -
Prototype inheritance stuff.
* flash.automation.* - My guess is that this is related to the
colaboration with google regarding automated spidering of swf files.
* flash.display.AVM1Movie - It has some unusable features to actually
talk to the movie.
* flash.display.MovieClip - I hope that you all know of the
addFrameScript method by now.
* flash.system.Security - The disableAVM1Loading and sandboxType
properties. Rather self explanatory properties.
* flash.system.System - The nativeConstructionOnly method. No idea
what this one is for. But it seems to want something constructible.
* flash.system.Capatibilites - The _internal property.
* flash.ui.MouseCursorData - A new one for 10.2 I believe. It allows
you to provide your own real os level mouse cursor. Also see the new
Mouse.registerCursor method. It is rather self explanatory how to use it.
* flash.utils.SetIntervalTimer - Not sure what the point is for this one.
I wonder if there is anything else that I may have missed. In any
case, it would be fun to have some clarity in the less understood parts.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders