Action script3 save movie clips state between scenes

42 views Asked by At

I have a problem here, I cannot save movie clips state within scenes especially when I use "gotoAndPlay" to go between them..
I tried to search a lot but none. I am using Action script 3

The codes that I tried but I got error from:

    *var so: SharedObject = SharedObject.getLocal("savedg")
    var xpos = so.data.xpos
    var ypos = so.data.ypos
    gotoAndPlay(so.data.ypos)
    so.flush()*

The error I get is that: " argument error # 2109: Frame label not found in scene null" Although I have my scenes labeled

Please, I need your help so necessarily.. Thanks in advance

0

There are 0 answers