Re: OpenAMF with AS2
"Jason Liu" <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Sean,
Thank you for trying to find out the problem for me. The Person class is
shown as follows: (to make it shorter, I just post here with two variables.)
###Person.as####
class Person {
// Properties
var firstName:String;
var lastName:String;
// alway use empty Constructor. Do not overwrite properties in constructor
!!!
public function Person() {};
// Getter
public function getFirstName():String {
return firstName;
}
public function getLastName():String {
return lastName;
}
// Setter
public function setFirstName(firstName:String):Void {
this.firstName = firstName;
}
public function setLastName(lastName:String):Void {
this.lastName = lastName;
}
}
_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has
to offer.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click