PDA

View Full Version : anything on saving the current state...


flyrod
01-19-2001, 09:47 PM
of a movie.

ie: user moves buttons to x:y coord. but when he comes back to the .swf, it is back in the original place.

any sort of tut on anything similar to this would be great!

Jesse
01-19-2001, 11:40 PM
yeah I did this once before although it wasn't set up quite the same. Basically at the start the user moved all these things around, then they did the rest of the movie and then they could lcick one button and have all the thing come back to where they were... setting it up such that the objects would return everytime the swf is openned would be more complicated coz it would involve cookies or saving data files with variables.

See my old version here (http://www.actionscripts.org/help/review/review_jesse.html)
Download the source (http://www.actionscripts.org/help/review/review_jesse.zip)
Basically you click new cloud a few times, and drag the clouds where you want them. Then next frame and they are all deleted. Not set to invisible, actually deleted. Then next frame brings them back (using loops and duplicate movie clip). This is a Flash 4 file I think coz it's kinda old :)

Cheers

Jesse