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

[memo] コンテキストメニューの拡大などを消す

Get Adobe Flash player
by yoshiweb 10 Jan 2013
/**
 * Copyright yoshiweb ( http://wonderfl.net/user/yoshiweb )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/cuOu
 */

package {
    import flash.display.Sprite;
    import flash.ui.ContextMenu;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
            var cm:ContextMenu = new ContextMenu();
            cm.hideBuiltInItems();
            this.contextMenu = cm;
            
            // 全部消すスクリプトも欲しいんだけどね〜
            // 追記:Flash Player 11以降では消せるようになった!
            // http://wonderfl.net/c/gLMJ
        }
    }
}