右クリックメニューの隠し方

| | コメント(0)

その1:一つずつ設定
nothing=new ContextMenu();
nothing.builtInItems.save =false;
nothing.builtInItems.zoom =false;
nothing.builtInItems.quality =false;
nothing.builtInItems.play =false;
nothing.builtInItems.loop =false;
nothing.builtInItems.rewind =false;
nothing.builtInItems.forward_back =false;
nothing.builtInItems.print =false;
_root.menu = nothing;
----------------------------------------
その2:全部まとめて設定
nothing=new ContextMenu();
nothing.hideBuiltInItems();
_root.menu = nothing;
----------------------------------------
ただし、「設定」「デバック」の二つは消えません。

コメントする