Hi there!
Here is the whole script of a test document which doesn’t work…
Excuse me but I never used multiplication of variables and I confess how shameful I feel.
I absolutely don’t understand the explanations the Flash Help contains…
Document contains three Input Fields, a Dynamic Field and a Button.
Clicking the Button returns NaN !!!
I thank you in advance for any help.
Best regards from Old Gerry
var a:Number = new Number(field1.text);
var b:Number = new Number(field2.text);
var c:Number = new Number(field3.text);
operationFct = function () {
var res:Number = new Number();
res = (a * b) + c;
resultFld.text = res;
};
myButton.onRelease = function() {
operationFct();
};
stop();