undocumented AS2 -> AS3 migration notes : contextMenu

For the past several months I’ve been working on migrating a huge application from Flex 1.5 to Flex 2.0 (now 2.0.1). While the migration document from Adobe was invaluable in the early stages, there were plenty of changes that weren’t documented therein. In retrospect I wish I had kept a list of all these issues, as it is they are scattered among my general notes. It would be nice to have a place to compile these notes with other developers who have also been doing migration projects – I would hope such an effort would be pioneered and encouraged by Adobe…

Anyway I thought I should start posting them as I come across them. Here’s one:

context menu:
In flex 1.5, to refer to the Application-level context menu, you used Application.application.menu while contextMenu referred to any other context menu.
In Flex 2 / AS3 the application level contextMenu is also referred to as:

Application.application.contextMenu

About Fuad Kamal

principal & senior architect, Anaara Media LLC
This entry was posted in AS2 -> AS3 migration, ActionScript, Flex. Bookmark the permalink.

Comments are closed.