Welcome, Guest
  • Author Topic: Assign SharedObject to a class  (Read 1319 times)

    bob27

    • Server what's that
    • *
    • Posts: 2
      • View Profile
      • Email
    Assign SharedObject to a class
    « on: 03/24/06, 12:56 »
    Is it possible to assign a sharedObject's data to a class (with functions) on the client side, or for that matter on the serverside? Or is the only way to loop through the data in the sharedObject and create instances of that class?

    Thanks very much.

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: Assign SharedObject to a class
    « Reply #1 on: 03/24/06, 14:00 »
    Shared Objects can't save classes, but instances. Then you can pass an object with properties, but not methods. The instance should be recreated on client side.

    Jorge