2. make 2 "text input" and one "dinamic text"
3. instancenames:
a) first_txt
second_txt
c) result
4. make 4 buttons ( +, -, *, / )
5. put this code in the "+" button:
red=this is importanton (release) {
_root.result.text = (_root.first_txt.text)-(_root.second_txt.text)*-1
}
In this case the .text are ver important cuz we want to know the content, no the box.
put this code in the "-" button:
on (release) {
_root.result.text = (_root.first_txt.text)-(_root.second_txt.text);
}
this in the "/" button:
on (release) {
_root.result.text = (_root.first_txt.text)/(_root.second_txt.text);
}
and this in the "*" button:
on (release) {
_root.result.text = (_root.first_txt.text)*(_root.second_txt.text);
}
and you finish ^^
example download link: here