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

設定パネルを隠せるよー

Get Adobe Flash player
by kacchan6 06 Apr 2011
    Embed
package {
    import flash.events.Event;
    import flash.system.Security;
    import flash.system.SecurityPanel;
    import flash.display.Graphics;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var g:Graphics = graphics;
            g.beginFill(0xffffff);
            g.drawRect(0, 0, 465, 230);
            g.endFill();
            
            var thiz:* = this;
            Security.showSettings();
            addEventListener(Event.ENTER_FRAME, function():void{
                removeEventListener(Event.ENTER_FRAME, arguments.callee);
                stage.addChildAt(thiz, 1);
            });

        }
    }
}