I'm not sure about other languages, but in AS2, you can only initialize
primitive types, like objects, arrays, strings and numbers. Except it isn't
good practice, these values become part of the class prototype. In AS2
arrays and objects pass by refrence, so any modified variable in a class
prototy
Yes it works !! Thanks a lot.
What is the problem with creating object variables outside the constructor ?
As far as I remember from my C++ time , java & c++ were allowing you to do
that so I thought AS2 would.
Thanks again, and thanks to the other people that gave me extra information.
That is
2 matches
Mail list logo