View Sidebar
Position Movieclips Randomly on Stage in Flash

Position Movieclips Randomly on Stage in Flash

April 6, 2011 18:47

Once the requirement was to place some movieclips randomly on stage without overlap. After a long research on internet, i came across this code which places movieclips randomly on stage defined within a specific grid. Because the grid is defined there is no chance for overlapping of movieclips. The original version used vector data type to randomize the location, this is modified version where i am using arrays to do the same.

Check Demo Here

Source Files

If you like the article please share

Leave a reply