In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

EPIC FACEPALM

Get Adobe Flash player
by makc3d 26 Mar 2011

    Talk

    makc3d at 26 Mar 2011 23:14
    short link http://goo.gl/3qPx9
    Embed
package  {
	import flash.display.Loader;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	import flash.utils.ByteArray;
	[SWF(width=465,height=465,backgroundColor=0)]
	public class FacePalm extends Sprite {
		public function FacePalm () {
			var loader:URLLoader = new URLLoader;
			loader.dataFormat = "binary";
			loader.addEventListener (Event.COMPLETE, onLoaded);
			loader.load (new URLRequest ("http://assets.wonderfl.net/images/related_images/c/cf/cfbc/cfbcc8325dfaeb33e608d560263890eaca63ab28"));
		}
		private function onLoaded (e:Event):void {
			var loader:URLLoader = URLLoader (e.target);
			var bytes:ByteArray = new ByteArray;
			bytes.writeBytes (loader.data, 49);
			var video:Loader = new Loader;
			video.x = (465 - 420) / 2;
			video.y = (465 - 206) / 2;
			video.loadBytes (bytes);
			addChild (video);
		}
	}
}