loaderURL
/**
* Copyright imcotton ( http://wonderfl.net/user/imcotton )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/lMeD
*/
package
{
import flash.display.Sprite;
import flash.display.Loader;
import flash.text.TextField;
public class FlashTest extends Sprite
{
public function FlashTest()
{
var tf:TextField = new TextField();
tf.width = 300;
tf.wordWrap = true;
tf.text = new Loader().contentLoaderInfo.loaderURL;
this.addChild(tf);
}
}
}