TextFieldX

From Noisebridge
Revision as of 15:29, 7 April 2013 by Thex (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A ßêãµ project

package 
{
	import flash.html.HTMLLoader;
	import flash.net.URLRequest;
	import flash.display.Sprite;
	
	public class HTMLLoaderX extends Sprite
	{
		public var html:HTMLLoader;
		
		private var url:String = "http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html";

		public function HTMLLoaderX() 
		{
			html = new HTMLLoader();
			html.width = stage.stageWidth;
			html.height = stage.stageHeight;
			html.load(new URLRequest(url));
			addChild(html);
		}

	}
	
}
Personal tools