However, the Flex compiler gives an error for the line that
reads "<ui:ContextMenuItem ....". (the line in boldface).
The error is: 1136: Incorrect number of arguments. Expected
Needless to say, I have experimented with varying number of
attributes, but no luck.
I have googled in vain to find examples where context menus
are built up using markup; all examples seem to be imperative
(ActionScript) code, instead of declarative.