<menu name=“example”>
<item name="example"variables=“this shows an example menu with no real functionality”>
<actions>
<action>mesage</action>
<action>message2</action>
… etc.
</actions>
</item>
Sorry mariachi,
I tried instanly and it does not work. The structure that you gave is actually giving a “new item” rather than assign the item to do something.
In the Senocolar method above, for example, the item name= “example” is assigned to the message action. Again my question is, instead of only assigned tpo the message action, can it also be assigned to gotoURL, or newMenu, or maybe to loadVariable.
Yeah, I’ve read that paragraph too, but my point is not how to define new function, but how can one item can execute more than 1 action. So, for item name=“example” instead only doing action=“message”, it can also doing action=“newMenu” at only one onRelease action.
The workaround in my brain are :
Rework the any available action, by:
adding LoadMovie action ( this is going to be used to load any external file - jpg, swf and such) to the target movieclip on the stage called “container”)
adding loadVariables ( this is going to be used to load external text, or html text into multiline dynamic text on the stage called “info-txt” and variable name is = “displayText”)
Adding new properties(variable) from xml:
-properties “picture” is assigned to the picture
-properties “article” is assigned to the article.
I know and I did to rework the menu.xml but it just dont work.
That’s all my idea, I’ve been trying to work it out and no luck until this hour…
Creating engaging and entertaining content for designers and developers since 1998.