A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    FIBEROPTIC
    Join Date
    Feb 2006
    Location
    Istanbul
    Posts
    18

    Please help. I can't do it!

    Hi! I am a begginer action scipt user. So I cannot solve some problems sometimes like the example shown below:

    I want to have some tiles to appear randomly and (when completed) removed randomly...


    I planned to do these steps:

    1-Duplicate a box movieclip and arrange the duplicated boxes in an order to build tiles (in my tile.zip file there are 99 boxes created),

    2-Set visible value to 0 for each box created,

    3-Get random numbers from 1 to 99, set the related box's visible to 1 until all the boxes are done. But of course random shouldn't give the same number twice

    4-When all the boxes shown in a tile, they must be removed in the same way.

    NOT: I think tiles doesn't have to be apeared after they are created. The duplicate process can be randomly happen..
    Attached Files

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