A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: how to align a duplicated movie clip

Hybrid View

  1. #1
    Senior Member jbum's Avatar
    Join Date
    Feb 2004
    Location
    Los Angeles
    Posts
    2,920
    You didn't specify how you intend to assign numbers to the boxes, but yes, you can do that.

    Code:
    var n = 1;
    for (n = 1; n <= NBR_ROWS*NBR_COLUMNS; ++n) 
    {
      var mc = _root["mc"+n];
      if (x == mc.number) {
         trace("show message here");
         break;
      }
    }

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Posts
    27

    any to randomise this?

    this is kinda what im looking for im looking for a random appearance of each of the movieclips

    any ideas?

    thanks

    ds

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