-
Tween Parent in regards to child's locations
I am working to tween a map of US States to center over and zoom on a specific state once clicked on.
I know that I'd want the new x,y of the US States to be something in regards to the difference between its registration location and that of the child clicked upon.
The tricky part I am finding is that the coordinate space of the children is specific to that of the container (parent).
Can anyone suggest how to calculate how I'll get the parent x,y numbers needed for my tween?
-
-
thanks... i think this is just what i am looking for
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|