your icon
/**
* Copyright paq ( http://wonderfl.net/user/paq )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/lsWv
*/
package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.display.Loader;
import flash.events.Event;
import flash.net.URLRequest;
public class Main extends Sprite
{
public function Main():void
{
var icon:String = this.root.loaderInfo.parameters["viewer.iconURL"];
if (icon)
{
var l:Loader = new Loader;
l.contentLoaderInfo.addEventListener(Event.COMPLETE, function ():void {
l.width = l.height = 465;
});
l.load(new URLRequest(icon));
addChild(l);
Wonderfl.capture(stage);
}
var tf:TextField = new TextField;
tf.width = 465;
tf.text = this.root.loaderInfo.parameters["viewer.displayName"] + "\n" + this.root.loaderInfo.parameters["viewer.iconURL"]
addChild(tf)
}
}
}