A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Insight into SharedObject

  1. #1
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870

    Insight into SharedObject

    Hi

    can anyone give me a hint 'bout what this code does? I know it is writing a new SharedObject or something near but I don't get why is there a superfoo which is not introduced before this thing, does getLocal also stores data then?

    var items_array:Array = new Array(101, 346, 483);
    var currentUserIsAdmin:Boolean = true;
    var currentUserName:String = "Ramona";

    var my_so:SharedObject = SharedObject.getLocal("superfoo");
    my_so.data.itemNumbers = items_array;
    my_so.data.adminPrivileges = currentUserIsAdmin;
    my_so.data.userName = currentUserName;


    Just a 'ittl' question.
    thx.
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  2. #2
    Senior Member Ray Beez's Avatar
    Join Date
    Jun 2000
    Posts
    2,793
    Press F1.
    ;-)

  3. #3
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    LOL everybody's talking about F1 today!
    No actually everybody's talking bout SharedObject tonight...
    Is it some sort of SharedObjectNight?
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center