A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: coordinates relative to grandparent?

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    18

    coordinates relative to grandparent?

    I'm sorry, I'm sure this has been answered, but I don't know how to word a search without getting a bunch of irrelevant stuff.

    I'm loading a game swf into another swf and I'm trying to get the coordinates of some nested sentry clips relative to the game swf stage. localtoGlobal will, of course, only return their coordinates based on level0 which will be the other swf that the game is in.

    My levels are essentially:

    Container swf
    --Game swf
    ----gameHolder_mc
    ------object_mc
    --------sentry_mc

    and I'd like to get the sentry_mc._x based on the gameHolder_mc

  2. #2
    Junior Member
    Join Date
    Nov 2006
    Posts
    18
    I'm sorry to bump, but I've had no luck for days anywwhere.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center