what's the relationship between a clicked object and your xml?
So this is the xml that is creating menu buttons for a drop down menu. When I try to trace any of the other names in my file all of the menu items are [object menuItem], so with the item trace I can see that they are all different.
I have followed a tutorial to get this fantasitc looking menu but I dont know how to make the buttons work!
what's the code that creates your buttons?
Yeh sorry I thought these were two different questions but the code for the button creation is in my other post.
But I think the listener you were talking about on the mainItem is just for the main buttons, when you ckick them, then all the items come out from under in a drop out style. I agree, pretty useless having a menu without listeners, but I can't work it out.
Thanks for your help,
I will send you the files if you want to check out what I am trying to do.