User.as
package org.rjb.flex
{
[RemoteClass(alias="org.rjb.java.User")]
public class User
{
private var _name:String;
public function User()
{
}
public function get name():String{
return this._name;
}
public function set name(name:String):void{
this._name=name;
}
}
}
User.as
package org.rjb.flex
{
[RemoteClass(alias="org.rjb.java.User")]
public class User
{
private var _name:String;
public function User()
{
}
public function get name():String{
return this._name;
}
public function set name(name:String):void{
this._name=name;
}
}
}
接下来是mxml代码,也就是我们真正展示我们数据的界面