
Flash Player 7 + TheSpringBox V1
Widget.setMemory(value:Object) : Void;
value - The object the will be stred in Memory.
Nothing.
Method; used to store data on the client such as settings and preferences. The object that is stored will remain on the client even if the user exits TheSpringBox.
The function in this example will store the users ZIP-Code.
function storeZIP() {
var memory:Object = Widget.getMemory();
var usrZip:Number = txtZip.text;
memory.zip = usrZip;
Widget.setMemory(memory);
};
Widget.getMemory()