daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest May 16th, 2018 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private var level5data:Whatever;
  2.  
  3. private function load():void
  4. {
  5.  
  6.     var mySharedObject:SharedObject = SharedObject.getLocal("mygame");
  7.    
  8.     //level5data copies a non-primitive object by reference?
  9.     level5data.weapons = mySharedObject.data. weapons;
  10.     mySharedObject = null;
  11.  
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top