|
-
-
Weird - it worked for me...
Code:
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("This movie is copyrighted by Your Company Name", doSomething);
MENU.customItems.push(Functioned);
_root.menu = MENU;
function doSomething(menuObj, objObj){
trace("stuff");
}
-
Really *blink blink*
Ok, lets go though this step by step haha :P
1) Start new project in Macromedia MX
2) Place code in the default layer, first keyframe:
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("This movie is copyrighted by Your Company Name", doSomething);
MENU.customItems.push(Functioned);
_root.menu = MENU;
function doSomething(menuObj, objObj){
trace("stuff");
}
3) Run and watch as it works...
Hmm, thats wierd ... , well thanks anyways
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|