petermaxo
Member
|
Never mind, I figured it out. By the way, is there any way to make something happen when the last frame of movie clip is loaded? Edit: also, I have a string of code trying to attatch a movie clip to the _root. and make it play. Here is the (somewhat shortened) code: _root.onEnterFrame = function(){ if(back == 1){ _root.attachMovie("grassback", "back", 1,{_x:225,_y:200}) }if(ename == "green slime"){ _root.attachMovie("greenslimeattack", "enemy", 2,{_x:400,_y:200}) }_root.enemy.play() } sometimes, the movie clip 'greenslimeattack' won't play, or it will be delayed. does anyone know what's wrong?
< Message edited by petermaxo -- 3/20/2007 18:19:41 >
|