Hi all
I have created a site to ease the evelopment of good object oriented AS code.
You can use it to paste in your private instance variables and ther server responds with corresponding get and set functions
EXAMPLE:
private var _email:
String; private var _pageCount:Number
Becomes:
//-------------QUERIES-------------
public function get_email(): {
return _email;
}
public function get_pageCount():Number {
return _pageCount;
}
//-------------COMMANDS------------
public function set_email(email {
_email = email;
}
public function set_pageCount(pageCount:Number) {
_pageCount = pageCount;
}
Hope you find it useful
PS: It also works for C#,PHP, Java and C++ BTW
I have created a site to ease the evelopment of good object oriented AS code.
You can use it to paste in your private instance variables and ther server responds with corresponding get and set functions
EXAMPLE:
private var _email:
String; private var _pageCount:Number
Becomes:
//-------------QUERIES-------------
public function get_email(): {
return _email;
}
public function get_pageCount():Number {
return _pageCount;
}
//-------------COMMANDS------------
public function set_email(email {
_email = email;
}
public function set_pageCount(pageCount:Number) {
_pageCount = pageCount;
}
Hope you find it useful
PS: It also works for C#,PHP, Java and C++ BTW