在ActionScript类中,如何调用后台的代码,需要声明RemoteObject对象:

 

AttributeValueFlexService:对应Spring中的配置的

selectAttributeCodeTheOne:对应后台的方法名称

如果需要参数的话,可以直接传递

tDTAttributeValueService.selectAttributeCodeTheOne(parentid,(TextInput)(attributecode).text.toString());

 

 

 

相关文章: