can you help me to this code... need mcEnemy follow my mcMain... help pls,., this can be appriciated much.... here's the code enemyTime ++; if(enemyTime == enemyLimit){ _root.attachMovie('mcEnemy', 'en'+enemyTotal,_root.getNextHighestDepth()); _root['en'+enemyTotal]._y = int(Math.random()*Stage.width); _root['en'+enemyTotal]._y = -50; _root['en'+enemyTotal].onEnterFrame = function(){ \\ i dont know what is the problem here this._y = mcMain._y - this._y; trace(this._y) for(var cBullet:String in _root.bulletHolder){ if(this._y >= _root.bulletHolder[cBullet]._y-30 && this._y <= _root.bulletHolder[cBullet]._y){ if(this._x <= _root.bulletHolder[cBullet]._x+30 && this._x >= _root.bulletHolder[cBullet]._x -30){ this.removeMovieClip(); _root.bulletHolder[cBullet].removeMovieClip(); _root.score += 5; _root.EnemyDown +=1; } } }

Member Avatar
Member Avatar
+0 forum 1

this is my xml file [ICODE]<myxml> <a> I can load XML like the wind! </a> <b> I can load XML like the storm! </b> </myxml>[/ICODE] i want to trace "I can load XML like the wind!" in flash movie.for this i am using this syntax that is not working .somebody please tell me the right syntax [CODE]trace(this.firstChild.childNodes[0].firstChild.nodeValue); [/CODE]

Member Avatar
Member Avatar
-1 forum 1

The End.