|
|
| FlashStore rating: |
|
| User rating: |
|
| Date: |
15-08-06 |
| Submited by: |
jumpeye |
| Skill: |
intermediate |
|
|
|
|
|
About |
The XML file:
every item may have the following attributes: "name", "func", "enable", "separator"
"name" is a string that will appear in the right click menu. (IF the function is set and IF the function EXISTS in the movie)
"func" is the callback function that will be called when user clicks the customized item.
"enable" is an optional boolean(true/false) attribute that should be used only when disabling items. (enable="false") Else, enable="true"
"separator" is an optional boolean attribute used to draw a "separation line" before the current item. v1.
Drag and drop com ponent to stage or into any movieclip in your Flash MX 2004 project .
Use parameters to customize the default builtin Items.
Also set the XML file which will load the content of the Custom context menu.
You can use a the following syntax to load custom context menu at runtime:
contextMenuInstance.loadXML(xmlvar);
» Features
1. Drag & drop component.
2. Hides the Custom Menu's builtin items by default.
3. All builtin items can be reactivated individually or together.
4. Add new items to the context menu from a simple XML file or XML var.
5. Refresh context menu with new items in runtime.
6. Drag&drop the Context Menu Pro component to any movieclip inside your stage for customizing it's context menu.
|
UI Access |
| Components panel under UI Pro Components – jumpEYE |
Support address |
|
|
Useful links |
|
Code samples |
The XML file:
every item may have the following attributes: "name", "func", "enable", "separator"
"name" is a string that will appear in the right click menu. (IF the function is set and IF the function EXISTS in the movie)
"func" is the callback function that will be called when user clicks the customized item.
"enable" is an optional boolean(true/false) attribute that should be used only when disabling items. (enable="false") Else, enable="true"
"separator" is an optional boolean attribute used to draw a "separation line" before the current item. v1.
Drag and drop com ponent to stage or into any movieclip in your Flash MX 2004 project .
Use parameters to customize the default builtin Items.
Also set the XML file which will load the content of the Custom context menu.
You can use a the following syntax to load custom context menu at runtime:
contextMenuInstance.loadXML(xmlvar);
|
|
|