Comments for Shootorial #5: ActionScript 3

avatar for dalcde
dalcde

Aug. 11, 2009

Under rating threshold (show) The "Click here for more Shootorials!" button doesn't work!

+ - !

(19)

avatar for AlanNeller
AlanNeller

Apr. 5, 2013

Under rating threshold (show) For people having problems with this error ...... TypeError: Error #1009: Cannot access a property or method of a null object reference. at Explosion/enterFrame() ......... You can fix it by removing the ships from the array once they have been hit using the following code.. EnemyShip.list.splice(i,1);

+ - !

(3)

avatar for Pengisimo
Pengisimo

Jun. 28, 2011

Under rating threshold (show) You messed up making the interval number. To make it between 500 and 1500, you do Math.random()*1000 +500, not Math.random()*500 +1000.

+ - !

(6)

avatar for UnknownGuardian
UnknownGuardian

Aug. 10, 2009

Under rating threshold (show) Congrats again Moly. 5/5

+ - !

(14)

avatar for grogboy
grogboy

Aug. 11, 2009

Under rating threshold (show) I'm not sure what part of the sentence "Made with permission from Kongregate" you guys don't understand... If it is true then this is Ok... can someone from Kong clear it up... anyways update was needed to AS3.

+ - !

(9)

avatar for LordOfPi13
LordOfPi13

Jul. 24, 2010

Under rating threshold (show) TypeError: Error #1009: Cannot access a property or method of a null object reference. at Explosion/enterFrame() I get it every time :(

+ - !

(3)

avatar for NexusBlast
NexusBlast

Apr. 9, 2013

Under rating threshold (show) To get the explosion movie clip, you need to extract the Untitled-1.fla, open it, copy the explosion movie clip from the library, then paste it onto the stage of your game.

+ - !

(1)

avatar for Bloodek
Bloodek

Dec. 19, 2009

Under rating threshold (show) Okay, problem in step 13. I don't understand what am I supposed to do with that code you put there. But, until that, great tutorial. 5/5

+ - !

(3)

avatar for bakerej
bakerej

Aug. 10, 2009

Under rating threshold (show) lol you can go off screen and get lost.. that might be part of #6

+ - !

(2)

avatar for kamet
kamet

Dec. 8, 2009

Under rating threshold (show) Alright, I've been following these shootorials step by step (thanks by the way, this is amazing) but I just ran into a problem. I added the hitTest and now whenever I test the swf it says: TypeError: Error #2007: Parameter hitTestObject must be non-null. Anyone know how to fix this?

+ - !

(0)

avatar for thegamemaker777
thegamemaker777

Jun. 23, 2010

Under rating threshold (show) Every thing is working accept my bullet isn't colliding with the enemy ship it just goes right through them. :( Does any one know why maybe? I have no errors & Im to page 12.

+ - !

(0)

avatar for TheAwsomeOpossum
TheAwsomeOpossum

Aug. 17, 2009

Under rating threshold (show) Neosano... don't blame Moly, blame Adobe for the method name. Also, who says push relates to that... why not to pushing a shoppting cart down the isle, or whatnot.

+ - !

(0)

avatar for Fel_Demon
Fel_Demon

Oct. 22, 2009

Under rating threshold (show) 1. Simple is not easy. 2. People prefer easy above everything. So this Shootorial is quite okay.

+ - !

(-1)

avatar for Kelmem
Kelmem

Jul. 9, 2013

Under rating threshold (show) I'm getting an Error #2007: Parameter hitTestObject must be non-null... but my code is exact the same as the examples... someone can help?

+ - !

(2)

avatar for Fishdawg
Fishdawg

Nov. 4, 2013

Under rating threshold (show) function enterFrame(e:Event){ this.x += speed; if (this.x > 600){ removeEventListener(Event.ENTER_FRAME, enterFrame); stage.removeChild(this); return; } for (var i in EnemyShip.list){ if (this.hitTestObject(EnemyShip.list[i])){ removeEventListener(Event.ENTER_FRAME, enterFrame); stage.removeChild(this); EnemyShip.list[i].kill(); break; } if we say removeEventListener() why must we say return? Surely once the event listener is removed the entire function becomes inoperative? Could someone please explain what happens once an event listener is remove. I thought it automatically exists the function.

+ - !

(0)

avatar for randomcomm3nt
randomcomm3nt

Mar. 17, 2011

Under rating threshold (show) @Kamet: I would guess that means when you type "...hitTest([something])" the something is not a valid reference to an instance.

+ - !

(-1)

avatar for BrainStormer
BrainStormer

Oct. 12, 2009

Under rating threshold (show) Nice one, Moly. Neosano, maybe code will be smaller but not as logic as it is now.

+ - !

(-2)

avatar for Neosano
Neosano

Aug. 11, 2009

Under rating threshold (show)

+ - !

(-8)

avatar for sthreet300
sthreet300

Oct. 7, 2012

Under rating threshold (show) i'm having the same problem as chaxnoir if this is months after i will ask on moly's profile...

+ - !

(-1)

avatar for Chaxnoir
Chaxnoir

Mar. 16, 2012

Under rating threshold (show) In the source file, there is no explosion animation or such image

+ - !

(-1)

avatar for AynurA
AynurA

Apr. 30, 2013

Under rating threshold (show)

+ - !

(-5)

  • add a comment
  • « First
  • 1 - 21
  • Last »