Questions tagged [addchild]

The ActionScript 3 `addChild()` function

287 questions
-2
votes
1 answer

Array whose each clip is linked to its equal clip of another array

Hello I apologize in advance for my question which I'm sure is pretty basic. On a map are set 33 landmarks with an array calling a class in the library. A second array defines the coordinates of those landmarks. for (var i:uint = 0; i < 33; i++)…
eoo
  • 1
  • 3
-3
votes
1 answer

Javascript OOP, functions

I am attempting to make a HTML5/JavaScript game with EnchantJS which involves a 6x6 grid of colored squares. I got 1 image to show but rather than having 36x4 lines of code to display all of the images i wanted to move it all to a function. The code…
pattmorter
  • 991
  • 9
  • 21
1 2 3
19
20