PDA

View Full Version : Problems with GAME WITH LASER tutorial


the dilz
02-23-2001, 03:18 PM
for some reason when i export the same source file provided with the tutorial in flash 5 format the ship ony shoots once but in flash 4 it works perfect. help please!

dilz

Jesse
02-24-2001, 07:10 AM
Yeah there's an error in the source, laser should have quotes around it. So change this:

duplicateMovieClip ("/laser", laser add n, n);
setProperty (laser add n, _x, ship_x);
setProperty (laser add n, _y, ship_y);

to this:

duplicateMovieClip ("/laser", "laser" add n, n);
setProperty ("laser" add n, _x, ship_x);
setProperty ("laser" add n, _y, ship_y);


Cheers

Jesse

the dilz
02-24-2001, 12:47 PM
cooooooool....thanks Jess