You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, May 12th 2009, 10:05pm

Modify the Context Menu from Actionscript

I have been looking for an example on how to modify the context menu from actionscript code and I was unable to find one. I have a plugin that I would like to have add custom options to the context menu whenever it is loaded. Thanks for any help.

- Adam

Zephyr

Professional

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

2

Wednesday, May 13th 2009, 9:51am

you can either add it through xml ( http://krpano.com/docu/xml/#contextmenu)

or use the AS3 class (http://livedocs.adobe.com/flash/9.0/Acti…ontextMenu.html)
tutorial : http://www.republicofcode.com/tutorials/…as3contextmenu/

Btw make sure you always add krpano.com to the list. Because its probably possible to remove the link through as3.
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

3

Wednesday, May 13th 2009, 3:09pm

Thanks that is exactly what I need.