A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How can I delete one data from ListBox?

  1. #1
    Member
    Join Date
    Jun 2002
    Posts
    67

    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!

    softip

  2. #2
    psx = new Moderator();
    Join Date
    Jan 2001
    Posts
    923
    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!

    Psx

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