1 Reply Latest reply on Jun 24, 2008 8:34 AM by Gregory Lafrance

    Data Access class

      Hi guys!

      I want to create class with a method that returns some data that will be loaded at runtime.

      For example

      class DalBooks{

      public function BooksList():ArrayCollection
      code goes here


      I want to call the method BooksList and have an ArrayCollection returned.
      The problem is that when I use data loading classes such as HttpService, RemoteObject, etc, these classes generate events and the result handler is the one which gets the data, not my method BooksList. So my method can't return the ArrayCollection.

      Is there anyone that can help me on that? Any idea?