August 29th, 2002, 05:02 AM
Allowing user to move items around and save the positions
I was just wondering how difficult (if at all possible ) it would be to write a flash script that allows a user to move objects around on the screen, dragging say around a sofa or table inside a room for interior design, and have flash save this data into a database so the next time the flash file was loaded it would retrieve the positions of all the items in the room and display them where they were left before.
I know im terrible at explaining what I mean in text
September 5th, 2002, 12:40 PM
you could have Flash writing cookies that save the _x and _y position of the objects or movie clips that you've specified.
You can do that with JS or XML.
If you have Flash MX, you may also consider using shared objects - advantage is that this will work even if your user's browser settings do not allow cookies.... but the catch is it wont work if your user doesnt have the latest Flash player
Its kind tricky - youll need to consider your audience carefully and then decide what approach will work best for you