im trying to create a mobile phone in flash, so the user clicks the buttons and the numbers come up on screen. Im having trouble making it display the numbers i want,any advic would be great, for referance ive used the code:
on (release) {
_root.screen = _root.screen*10 +1
}
on the button, and replaced the 1 where needed. It works so far, except for the 0, * and # buttons
does the phone going to work?
use
_root.screen += “1”
this adds the 1 to the end of the display as a string not as a number.
if you do the same with numbers flash trys to add whatever you want with math to your display
like
360+0=360
the same wih strings:
360+“0”=3600