Answer the question
In order to leave comments, you need to log in
If you make a similar entry in actionscript 3.0, will it work?
private var a:int=0,b:int=10,c:int=5;
With this notation, are all these variables (properties) private?
Thanks!)
Answer the question
In order to leave comments, you need to log in
Yes, it will work and behave like private. Unless it's just a declaration, syntactically not accepted in the world of AS3 programmers. This is how JS programmers write, and it is considered good practice to describe AS3 code as in Java.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question