Question
splice array, reposition MCs & save to sharedObject
I drag & drop MovieClips onto a 'map', they leave a
duplicate MC which is stored in a sharedObject (name, coords),
users can then reposition the Mcs and/or delete some, info re the
new coords & MCs deleted is saved again to sharedObj. Prob is
that when I delete some MCs, THEN reposition those remaining, THEN
refresh the browser (simulating a save - as if user returns after
having closed browser) - the icons are in original position - not
where I moved them to. This doesn't happen if I press refresh after
deleting, THEN reposition MCs.
Any ideas where I'm going wrong.
Attached this section of code in case anyone can spot something - my first try at sharedObjects & splice array!
Any ideas where I'm going wrong.
Attached this section of code in case anyone can spot something - my first try at sharedObjects & splice array!