I want to convert the number string from a text field into a number, and then assign that number to a a global var.
I get how to do it with regular vars:
var firstOne:Number = Number(firstTextField.text);var secondOne:Number = Number(secondTextField.text);
Is it possible to replace firstOne and secondOne with global.data.firstOne and global.data.secondOne?
I can't seem to make it work.
Cheers for your help.
Retrieving data ...