coordinates not updating
I have 4 layers of movies, each invoking an instance of a child
A container movie
which has a car
which has seats
and… a draggable object “the driver”
When the movie load I can drop the driver in a seat and it centers him there (by using “hitTest”) and getting the coordinates of the seat.
since the seats are dynamically created within the car, i use localtoglobal to change the coordiantes to the main movie.
So far this works.
but the car is draggable too, and when i drop the driver on one if it’s seats the hitTest works, but the driver is dropped to the original location of the seat (previous to moving the car)
seems the new location of the car/seats are not updating.