Hi all,
I’m new to Adobe, Flash, CS3, web development, you name it! I’m new to it all but found your site and so far things are coming along okay.
I tried to follow the directions to “create a vertical shooter” and for some reason, I can only shoot one arrow at a time and the arrow that is displayed shows in the wrong portion of the screen. I know the error must be in the following code (but it looks okay from here):
if( Key.isDown(Key.UP) && arrowActive == false)
{
knight.arms.play();
attachMovie(“arrow”, “arrows”, 8);
arrows._x = sprintX;
arrows._y = sprintY + 50;
arrowActive = true
}
Another possibility is how I did the linkage on the arrow (movie script) and the arrow (image). I wasn’t able to make changes to the linkage property of the image; however, I was able to keep the properties the same for the movie based arrow.
Do any of you have recommendations on how to address this issue? BTW, this is in reference to the article: http://www.kirupa.com/developer/actionscript/vertical_shooter3.htm
Thanks.