Forums

ForumsProgramming Forum

Good Programming Technique 101

Posted Jul 9, '13 at 11:42am

weirdlike

weirdlike

886 posts

Moderator

//var name all children on level as i
for(var i:int=0;i

 

Posted Jul 9, '13 at 11:56am

weirdlike

weirdlike

886 posts

Moderator

eek another case of symbol misinterpretation

//name all children on level as i
for(var i:int=0;iIsLessThanlevelMC.numChildren;i++)
{
//make all children objects
var object = levelMC.getChildAt(i);

//point to enemyMC
if (object is enemyMC)
{
//function
}
}

 

Posted Nov 8, '13 at 1:17am

arnavkumartechno

arnavkumartechno

5 posts

Let me know if something doesn't make sense, I'm sure it may be quite confusing

I agree but because i am new programming world.
 
Reply to Good Programming Technique 101

You must be logged in to post a reply!