A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] Sorting an array after referenced movieClip x postition

Hybrid View

  1. #1
    Senior Member somlemeg's Avatar
    Join Date
    Aug 2000
    Posts
    171

    resolved [RESOLVED] Sorting an array after referenced movieClip x postition

    I have an array containing several references to movieClips.
    I want to sort that array depending on the x position to the clips.

    What I'm wondering if anyone has solved this problem before and what the best solution might be.
    Perhaps the best way is to include the x-positions in the array; like an 2d array, then sort that array?

  2. #2
    Senior Member somlemeg's Avatar
    Join Date
    Aug 2000
    Posts
    171

    Solved

    Using an 2d array worked, but found another better solution.

Tags for this Thread

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