# Needdd Helpppp Plzzz

**URL:** <https://forum.kirupa.com/t/needdd-helpppp-plzzz/235187>\
**Category:** flash\
**Created:** [August 9, 2007, 4:59am UTC](https://forum.kirupa.com/t/needdd-helpppp-plzzz/235187 "2007-08-09T04:59:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vin23leo](https://avatars.discourse-cdn.com/v4/letter/v/b77776/32.png) [@vin23leo](https://forum.kirupa.com/u/vin23leo)\
**Post date:** [August 9, 2007, 4:59am UTC](https://forum.kirupa.com/t/needdd-helpppp-plzzz/235187/1 "2007-08-09T04:59:02Z")

</div>

hi guys,

im making a webcam flash game atm, its a ninja game, like the playstations eyetoy game, i have ninjas come from left and right, i am using script to place the ninjas from the library to the stage they are called Template2player,targetTemplate,targetTemplate3player, 3 ninjas in total. now the problem is placing them in the right position eg(one comes from the top of the building, one on the ground, one on level 2 etc)

i placed the ninjas in an array (targetList and added the positions i wanted them to appear.

my code looks like this

if(!gameOver) {

targetCounter ++;  
targetList = ["targetTemplate2player, \_x: 38, \_y: 80 " , “targetTemplate, \_x: 60, \_y: 140”, “targetTemplate3player, \_x: 210, \_y:15”];  
var randomNum = random(3);

var someTarget:String = targetList[randomNum];

var target:MovieClip = targets.attachMovie(someTarget, “Target” + targetCounter, this.getNextHighestDepth()+1000+targetCounter);  
target.myNum = targetCounter;

num:target.myNum};  
}  
}

now can someone help me, the ninjas are not showing on the stage, is there something i missed in the code??? or do i have to place the positions of the ninjas elsewhere

plz help

cheers
