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

ViewSource

Get Adobe Flash player
by paq 08 Jan 2011
    Embed
/**
 * Copyright paq ( http://wonderfl.net/user/paq )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/oC7r
 */

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    import com.adobe.viewsource.ViewSource;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // ViewSource.addMenuItem(this, "http://wonderfl.net/c/<codeid>/read");
            ViewSource.addMenuItem(this, "http://wonderfl.net/c/oC7r/read");
            
            var txt:TextField = new TextField();
            txt.appendText("right click!");
            addChild(txt);
        }
    }
}