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

loaderURL

Get Adobe Flash player
by imcotton 15 Apr 2011
    Embed
/**
 * 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);
    }
}
}