I wanted to make a custom context menu without the settings and about. To do this I used this link: http://blog.another-d-mention.ro/pro...in-flash-flex/
It works, I have removed the context menu completely and made a custom right-click menu with a list. I am using the sparks list-control instead of the mx lists. this works fine but I'm having trouble finding out how to get to the separate objects of the list. I added the list with flex-code:
<s:List includeIn="State1" width="55" height="40" id="dummyMenu" visible="false">
Now I'm trying to add eventlisteners to the objects of the list. I tried
but apparently this adds the eventlistener to the full list-control. How can I add eventlisteners to only one object of the list?
Thanks in advance.