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

画像を読み込む1

Loaderごとステージに置く例
*
Get Adobe Flash player
by umhr 07 May 2010
/**
 * Copyright umhr ( http://wonderfl.net/user/umhr )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/iKW8
 */

/*
 * Loaderごとステージに置く例
 * */
package {
	import flash.display.Loader;
	import flash.display.Sprite;
	import flash.net.URLRequest;
	
	[SWF(backgroundColor="0xCCCCCC")]
	public class Main extends Sprite {
		public function Main() {
			var loader:Loader = new Loader();
			var uRLRequest:URLRequest = new URLRequest("http://assets.wonderfl.net/images/related_images/b/b1/b1a6/b1a642c6afafa6148d3be3e2732c5627a9e490bb");
			loader.load(uRLRequest);
			//Loaderごとステージに置く例
			addChild(loader);
		}
	}
}