A Flash Developer Resource Site

Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002

    How can I delete one data from ListBox?

    I use this action script in client
    users_so = SharedObject.getRemote("users_so", client_nc.uri, true);

    I know the index is true or false meaning.
    (1)true specifies that the shared object is persistent only on the server.
    (2)false specifies that the shared object is not persistent on the client or server

    If I use the index is true and show all data in ListBox,how can I delete one data from ListBox. I have to write some server action script, I'm not sure.

    Any advices must good in my application!


  2. #2
    psx = new Moderator();
    Join Date
    Jan 2001
    If you are building just a user list, you can do it by simply defining your application.onDisconnect, like so:

    application.onDisconnect = function(Client) {
    this.users_so.setProperty(Client, null);

    That should do it!


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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.