Custom "context menu" in flex

Posted by Biroka on Stack Overflow See other posts from Stack Overflow or by Biroka
Published on 2010-03-18T18:19:32Z Indexed on 2010/03/18 18:21 UTC
Read the original article Hit count: 344

Filed under:
|
|
|

I would like to add a custom context menu with line separators, but can't really figure out how. What I need:

<mx:List id="treeContextFile" visible="false" width="233" verticalScrollPolicy="off" includeInLayout="false">
        <mx:dataProvider>
            <mx:Array >
                <mx:String>Open</mx:String>
                <horizontal line here >
                <mx:String>Cut</mx:String>
                <mx:String>Copy</mx:String>
                <mx:String>Paste</mx:String>
                <horizontal line here >
                <mx:String>Rename</mx:String>
                <mx:String>Delete</mx:String>
                <horizontal line here >
                <mx:String>Properties</mx:String>
            </mx:Array>
        </mx:dataProvider>
    </mx:List>

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about flex