Tuesday, November 29, 2005

Flex 2 - SWF Over Socket by Theodore Patrick

This example provides a Flex 2 application and server for loading content directly into Flash Player 8.5 bypassing the browser cache by using flash.net.Socket directly. The content is rendered directly into the DisplayList through Loader.loadBytes.


Open Example SWF in a New Window

Obviously it is just a matter of time before AS3 Bytecode decompilers are available. Although there are very few options available, this new swf delivery model makes it much harder to obtain the actual SWF bytecode. This example loads a SWF, JPG, GIF, directly into the DisplayList through the Loader.loadBytes method. As the content is received as a ByteArray, it can be compressed with ZLib or encrypted. The decompiler will have to be able to understand your loading process and encryption just to be able to get access to your swf bytecode.

This example is available with full source and documentation within Flex® by Example.

More to come.

Ted :)

1 Comments:

At March 05, 2007 8:32 AM, Orest said...

Any examples in the "examples" folder were found :((

 

Post a Comment

<< Home