You might try looking through the documentation that comes with it, since all of your questions are answered therein. You can place the popup menu anywhere you want (including the top left [point 0,0] where installMenu goes) using the bmMenuAt command. You can have any menu item do any number of things. It is all discussed quite completely in the docs. There are even examples.
Thanks for the reply.
I had already read the documentation, which certainly for my incompetence is not clear.
For example for the position of the menu the documentation tell:
"BmMenuAt list Items, Flags integer, integer X, integer Y"
Wishing to place the menu in the top left, where I have to put the numbers 0? after x? Instead of x? in both cases does not work.
Similarly it is unclear to me how to put the script in the menu' because there is not an example of contextualization of the script.
Could someone do this?
1 person found this helpful
Make a sprite where you would want the menu to go. Like where the "File" dropdown would be. Put this script on it
on mouseUp me
And press Play then watch the message window when you click the sprite. The second zero is the X coordinate. and the third is the Y.
this work perfecly,
but how can I do for insert a behavior?
Many Many thanks ...............
Please, stick to one place at a time! Or at least one thread, instead of posting all over creation.
on mouseUp me sSelected = bmMenuAt(["first","second"],0,0,0) case sSelected of "first": alert "You chose 'first'" "second": alert "You chose 'second'" end case end
Thanks Sean for your help, now all is very much clear.
I'm sorry for my other post, I was very impatient.