when HTTP Service gets the data an event is fired, here is
the code for the same
private var serverList:ArrayCollection;
//HTTPService returns an ArrayCollection for nested arrays
var servers:ArrayCollection =
var tempServer:ArrayCollection = new ArrayCollection();
var cursorServer:IViewCursor = servers.createCursor();
var server:Server = new Server();
serverList = tempServer;
Now the problem is in call to
server.fillServer(cursorServer.current); I get the following Run
ReferenceError: Error #1056: Cannot create property serverID
Wish I could isolate this problem, in a simpler one.
As I said when I am creating a public class similar to
Product Class in the same flexstore package, I am getting this
error for creation of object of this non-dynamic class Server. How
ever when I qualified this Server class with "dynamic" key word,
the error was gone and App worked quite well.
But my question is, why for Product class (without dynamic
key word) in the same package, it is allowing the object for it to
be created where as not for Server class (written by me) in a
Any answers to this would be welcome.
Flexstore is a publicaly availabe application with all its