Flex 4: Defining a XML data model in an Actionscript Class
- by Steve
I'm really having a hard time accessing a data model I've defined in an Actionscript class in my Flex app. The following is my AS Class (Model.as):
package
{
import mx.rpc.http.HTTPService;
public class Model
{
private static var _instance:Model;
public static function getInstance():Model
{
…