11 Replies Latest reply on Jun 6, 2007 9:42 AM by Newsgroup_User

    Place sprite on stage using Lingo

      I searching 2 days now for what i think is a simple problem.

      I have an array:
      worldGrid = [ 0, 1, 0, 1, 0, 1]

      Now i want to place a sprite for each index in the array:

      repeat with i = 0 to worldGrid.count()
      ( add a sprite to the stage on location x,y)
      put "place tile"i,"@",x,y
      x = 20 + x
      end repeat

      But i cant find anywhere how to put a sprite on the stage. So can anyone help me encode the second line in the repeat?