AS3 SharedObject. How can I save my score?

so... This is my code

as.png

"so.flush ();" -He keeps my right points?

Unfortunately it does not work for me...

Can someone please fix my code?

You're setting partition but do not have the function flush(). You do only flush() in the other. Better, this should work:

If (SO. Data.score == null) {}

so. Data.score = level_mc.bheus_tzt_all.text; already a string...

so. Flush();

} else {}

level_mc.bheus_tzt_all. Text = so.data.score;

}

Tags: Adobe Animate

Similar Questions

Maybe you are looking for