A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: SO clearing

  1. #1

    SO clearing

    I am trying to get used to shared objects and now I am trying to clear one... I tried using the sgame1.clear(); to clear it... but it never cleared it. I put an
    Code:
     if(sgame1.data.name != undefined) {
    sgame1.clear();
    trace("cleared");
    }
    but when i ran it about 3 times it kept giving me "cleared" which means that it didnt totaly wipe out the SO... any suggestions?... thanks

    ~Bill
    So many Ideas

    So little Time

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food ™
    Posts
    3,786
    Try using sgame1.flush(); after you clear 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