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

forked from: forked from: forked from: include

include "FlashTest.as" -- Error: Possible infinite recursion due to this file include
include "../1p2a/FlashTest.as" -- Error: Possible infinite recursion due to this file include
include "../qoYS/FlashTest.as" (paq's include) -- Error: Unable to open included file: FlashTest.as.
Get Adobe Flash player
by kacchan6 14 Jan 2011
/**
 * Copyright kacchan6 ( http://wonderfl.net/user/kacchan6 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/vcka
 */

// forked from kyo_ago's forked from: forked from: include
// forked from yonatan's forked from: include
// forked from paq's include

package {
    import flash.text.TextField;

    // include "FlashTest.as" -- Error: Possible infinite recursion due to this file include
    // include "../1p2a/FlashTest.as" -- Error: Possible infinite recursion due to this file include
    // include "../qoYS/FlashTest.as" (paq's include) -- Error: Unable to open included file: FlashTest.as.
    
    import flash.display.*;
    public class FlashTest extends Sprite {
    
        [Embed("FlashTest.as", mimeType="application/octet-stream")]
        public var foo:Class;

        public function FlashTest(){
            var tf:TextField = new TextField();
            tf.width = tf.height = 465;
            tf.text = new foo;
            addChild(tf);
        }

    }
}