ccarpo
03-02-2005, 12:27 AM
I'm a experienced programmer but new to flash & Macromedia...
When I try to run this script it just outputs "0" I was searching several hours on many sites ind pdfs but still haven't any idea what I'm doing wrong :(
_root.one:String = "one";
_root.two:String = "twooo";
trace(_root.one + _root.two);
Result: 0
It's the same without ':String' and the same with
_root.three = _root.one + _root.two;
trace(_root.three);
I'm using Flash MX 2004 Prof (Trial version)
Thnx for helping with such a stupid thing :-/
When I try to run this script it just outputs "0" I was searching several hours on many sites ind pdfs but still haven't any idea what I'm doing wrong :(
_root.one:String = "one";
_root.two:String = "twooo";
trace(_root.one + _root.two);
Result: 0
It's the same without ':String' and the same with
_root.three = _root.one + _root.two;
trace(_root.three);
I'm using Flash MX 2004 Prof (Trial version)
Thnx for helping with such a stupid thing :-/