PDA

View Full Version : How to save Variables ?


BongoKarl
06-13-2002, 12:05 PM
In my Flash-Movie I have a Button to jump between 2 frames.
In one of these frames there is a circle. The circleŽs rotation is saved in a global Variable (_root.rotation) which is placed in a script layer in frame1.
When I now press the button twice so that I jump to the other frame and back, the old rotation of my circle is lost, and the _root.rotation variable is 0 agian.

Can anybody out there help me, please :confused:

farafiro
06-13-2002, 12:59 PM
reverse it, make the button _rotate the circle by a value and store the _rotation value in a the variable
so when u go back the circal's _ritation would be the same as the last click on the button

BongoKarl
06-13-2002, 01:14 PM
OK thank you for this hint, IŽll try my best :)