0

I'm new to Flash. In my mobile app I need a simple horizontal menu (or toolbar) with 3-4 items on top of the screen. ViewMenu is perfect for this task, but I couldn't find a way to display it on top - is it possible?
As far as I understand, mx:MenuBar is not available for mobile. Are there any other components that can be used as menu?

zero323
  • 322,348
  • 103
  • 959
  • 935
dop2000
  • 577
  • 1
  • 7
  • 17

2 Answers2

2

You can use the Spark Callout Component. This an example screenshot from the ActionScript reference docs:

enter image description here

The contents of the Callout can be a View containing a List of menu items.

Callout was introduced in Flex 4.6.

Here are two tutorials on how to implement it:

Add a callout container to a mobile application.

Callout component sample with source.

Gunnar Karlsson
  • 28,350
  • 10
  • 68
  • 71
  • It's a nice component, but not exactly what I wanted.. I ended up writing my own floating menu component. – dop2000 Oct 09 '12 at 07:26
1

Yes its called an ActionBar:

Docs from Adobe - ActionBar

Blog example: Styling Action Bar

Neil
  • 7,861
  • 4
  • 53
  • 74
  • Thanks, but I should have mentioned that I need popup menu (floating). When ActionBar is shown, it resizes the view and shifts its content down.. – dop2000 May 20 '12 at 02:02