I'm trying to set a dynamic text called text_amount inside a movieclip called PiattoBalance in the stage from another movieclip called Bet1 in the same stage but i'm getting error 1120: undefined property PiattoBalance.
here is the code inside the Bet1 MovieClip:
stop();
visible = false;
MovieClip(root).PiattoBalance.text_amount.text = String(int(PiattoBalance.text_amount.text) + int(text_bet.text));
What's wrong?