#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Location
    Glasgow, Scotland
    Posts
    23
    Rep Power
    0

    Allowing user to move items around and save the positions


    Hi everyone,

    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

    Thanks.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    1
    Rep Power
    0
    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

    a

IMN logo majestic logo threadwatch logo seochat tools logo