How to create an Android Options menu in Adobe AIR? (not Java)

I would like to create an Options Menu in a Flash AIR application for Android.

I already realized that this ActionScript code can be used to capture the hardware Menu : click on <event>:

stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);

function onKeyDown(event:KeyboardEvent):void {
    if(event.keyCode == Keyboard.MENU) {
        event.preventDefault();
        trace("Menu Pressed");
    }
}

but how do you create the actual menu?

If you cannot do this with AIR, then someone tried to recreate / simulate it again, and could you share your properties (colors, transparency, any gradients?) And transitions (sliding to / from) you used?

I already found some guidelines , but I will be grateful for any hints / properties defined in Flash (for example, what makes it easier to use transitions for spreading?) Do you have

Thanks Alex

alt text

+5
2

Androids AIR, Android SDK. , Flex ( AIR).

+1

All Articles