  | |  | AS1 has not static methods in classes, has it ? | AS1 has not static methods in classes, has it ?
2004-02-19 - By martin weiser
Back i think that in AS1, when declaring class as: function myclass() {}
its methods cannot be trigger unless they are declared outside class, or at
the prottype object of the class
myclass.static_method=function() {}
myclass.prototype.static_method=function() {}
am i right ?
to the contrary, in as2, explicitly declaring some function being public and
static...
martin
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104791
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |