Search tutorials
How to Change Quality using the Right Click Menu
by viewtifulday
Put this code on the first frame:
function highQuality () {
_quality = "high";
}
function mediumQuality () {
_quality = "medium";
}
function lowQuality () {
_quality = "low";
}
var newMenu:ContextMenu = new ContextMenu();
newMenu.hideBuiltInItems();
var lowQ:ContextMenuItem = new ContextMenuItem("High Quality", highQuality);
var mediumQ:ContextMenuItem = new ContextMenuItem("Medium Quality", mediumQuality);
var highQ:ContextMenuItem = new ContextMenuItem("Low Quality", lowQuality);
newMenu.customItems.push(highQ, mediumQ, lowQ);
_root.menu = newMenu;
| » Level Basic |
|
Added: 2009-01-22 Rating: 10 Votes: 1 |
| » Author |
| I'm fourteen and am good at ActionScripting. |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!