hi all,
a simple issue I guess: in my game I’ve 2 functions called in callback with Drag&Drop of a coin icon; usually I call just one of the two functions, but when I stand in another part of the game I need to call the other function, using the same coin icon (it’s about two different payments, in a shop and in a museum).
I call the first function in callback with this code (everything allright):
coinIcon_mc.onRelease = onReleaseOutside = releaseCoin
The other function is releaseCoinInShop, I’ve tried so but obviously:
coinIcon_mc.onRelease = onReleaseOutside = releaseCoin, releaseCoinInShop;
I’ve tried commanding onRelease two times, but it goes only for the second function.
How can I call in callback the two function AT THE SAME TIME? I think it could be enough for my case, 'cause any function goes right?
Simplifying, how can I call two function with a single command??
thank you in advance