Games Achievements My Kong Sign In

Comments for Shootorial #1

« Back to Shootorial #1

deleteduser

Nov. 22, 2008

Under rating threshold (show) okay 1st thing i see here is something that isn't really that handy to work with becuase it depends on the frame rate, wouldn't it be better to use an interval, in a lot of cases a named interval(meaning that the interval is named to a specific spot)? you use it like this(this way you can also name intervals with a for loop, or something along the lines of repetition), but i'll just use a for loop to make it easier to understand=> for(var i:Number = 0; i with the amount of time you want the interval to re-execute the function in, you can clear an interval with clearInterval(address of the interval)

+ - !

(0)

deleteduser

Nov. 22, 2008

Under rating threshold (show) my previous comment was wrong and in order to get rid of the error make sure that your 2 names are exactly the same my two names were different from background to backround

+ - !

(0)

deleteduser

Nov. 22, 2008

Under rating threshold (show) I had error in line 1 but then i realized that my mistake was that I had saved the .as file before I saved the .fla file. and if your ship doesn't move make sure you save both files. It worked for me

+ - !

(0)

r4d102

Nov. 22, 2008

Under rating threshold (show) help please i cant get the ship to move on scripting if u can help pm me on channel

+ - !

(0)

Vind777

Nov. 22, 2008

Under rating threshold (show) While I search for an error, my trial version of CS4 will end :(((

+ - !

(0)

deleteduser

Nov. 22, 2008

Under rating threshold (show) What is the error in line one? why the hell wont my ship work?

+ - !

(0)

deleteduser

Nov. 21, 2008

Under rating threshold (show) keeps messing up saying that there's an error in line 1 that the class or interface 'ship' could not be loaded

+ - !

(0)

Mattraules

Nov. 21, 2008

Under rating threshold (show) how do u get it to move

+ - !

(0)

deleteduser

Nov. 21, 2008

Under rating threshold (show) ahh nvm i got it now:)

+ - !

(0)

deleteduser

Nov. 21, 2008

Under rating threshold (show) cant get ship to move=\

+ - !

(0)

deleteduser

Nov. 21, 2008

Under rating threshold (show) aww... I can['t make my ship move...

+ - !

(0)

Bobski_Seckz

Nov. 21, 2008

Under rating threshold (show) my ship doesnt move... it just blink... a lot =_=

+ - !

(0)

r4d102

Nov. 21, 2008

Under rating threshold (show) nope i just copy and paste

+ - !

(0)

Quiahuitzin

Nov. 21, 2008

Under rating threshold (show) r4d102 check your typing, I'm sure that's the problem.

+ - !

(0)

Quiahuitzin

Nov. 21, 2008

Under rating threshold (show) And explains more, but I'm not going to rewrite the tutorial in the comments.

+ - !

(0)

Quiahuitzin

Nov. 21, 2008

Under rating threshold (show) Read, Nabster, it says in the tutorial that ships class extends Movieclip means that it is a movie clip with extra functionality.

+ - !

(0)

deleteduser

Nov. 21, 2008

Under rating threshold (show) hmmm... i was reading a comment on the first shootorial saying that it was just holding your hand right the way through it. At first i disagreed with it bu now i see what he means... what the hell does class ship extends movieclip mean? this doesnt help me to create another game.

+ - !

(0)

Vind777

Nov. 21, 2008

Under rating threshold (show) Maybe Kongregate can help us

+ - !

(0)

r4d102

Nov. 21, 2008

Under rating threshold (show) if people have any help for me pm me on ma channel

+ - !

(0)

r4d102

Nov. 21, 2008

Under rating threshold (show) why cant i get the scripting to work it gose wrong every time when i go to script any help guys

+ - !

(0)

PooIsCrunchy

Nov. 20, 2008

Under rating threshold (show) dont you mean adobe instead of abode?

+ - !

(0)

r4d102

Nov. 20, 2008

Under rating threshold (show) If anyone's having problems with their ship not moving when they publish a test .swf file. Make sure you save both the .fla and the .as before testing and make sure they are in the same folder. ?? how do u do that

+ - !

(0)

r4d102

Nov. 20, 2008

Under rating threshold (show) why wont my ship fly across ?? any help if so put a shout on ma page

+ - !

(0)

deleteduser

Nov. 19, 2008

Under rating threshold (show) If anyone's having problems with their ship not moving when they publish a test .swf file. Make sure you save both the .fla and the .as before testing and make sure they are in the same folder.

+ - !

(0)

deleteduser

Nov. 19, 2008

Under rating threshold (show) class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { if( Key.isDown(Key.RIGHT)) { _x = _x + velocity; } }

+ - !

(0)

deleteduser

Nov. 19, 2008

Under rating threshold (show) 4 gods sake! at number 8 its impossible to do,i even have a higher version,i cheacked it and its sayin there is an error with the brackets on line 2 and line 16!! and the brackets are the only things on that line,here is wut it look like,tell me wut wrong and srry,bout to double post,lol i got a habit of that

+ - !

(0)

deleteduser

Nov. 19, 2008

Under rating threshold (show) nvm it show u wut to put later on,oh and tummyfish albinostorm,it does matter if u have a higher version then this was made for,it makes it easier,no diffrence,and yes the shootorials were made before CS4,CS4 is still very new

+ - !

(0)

deleteduser

Nov. 19, 2008

Under rating threshold (show) i just think its stupid how it says copy this code into the empty file and it says class Ship extends MovieClip { } its just stupid,i mean wtf we just copy 3 blank spaces?

+ - !

(0)

xXNovaLifeXx

Nov. 19, 2008

Under rating threshold (show) @ enforcer9 and dslayer229: You need to save your ship class as 'Ship.as'

+ - !

(0)

deleteduser

Nov. 19, 2008

Under rating threshold (show) lol enforcer im havin same prob

+ - !

(0)

deleteduser

Nov. 19, 2008

Under rating threshold (show) how do you get Flash?

+ - !

(0)

Arcaian

Nov. 19, 2008

Under rating threshold (show) Lol , what does it meant by " statement block must be ended with ] " on line 2 ? LOL .

+ - !

(0)

deleteduser

Nov. 18, 2008

Under rating threshold (show) i think shootorials were made before cs4, i dont know

+ - !

(0)

Albinostorm

Nov. 18, 2008

Under rating threshold (show) i get an error message sayin the name of this class conflicts with another class that was loaded, anyone know any fixes? iv got cs4 if that makes any difference

+ - !

(0)

r4d102

Nov. 18, 2008

Under rating threshold (show) i cant get it to work were u go play movie ???

+ - !

(0)

deleteduser

Nov. 18, 2008

Under rating threshold (show) Impossible mission!

+ - !

(0)

deleteduser

Nov. 17, 2008

Under rating threshold (show) forgot, my script looks exactly like the one on page 9, but it's not working

+ - !

(0)

deleteduser

Nov. 17, 2008

Under rating threshold (show) i keep getting the error "The class 'Ship' needs to be defined in a file whose relative path is 'Ship.as'." im using flash cs4

+ - !

(0)

deleteduser

Nov. 17, 2008

Under rating threshold (show) My ship wont fly across the screen, please help I have done everything it says and triple checked it.

+ - !

(0)

Solean

Nov. 16, 2008

Under rating threshold (show) Stuck on screen 5, can't figure out how to save it into the same place as the FLA, can someone help me? thanks

+ - !

(0)

Pip3r4o

Nov. 16, 2008

Under rating threshold (show) Always get this error: ActionScript 2.0 class scripts may only define class or interface constructs. The Ship.as is in the directory where my .fla is...but no result,damn help me i really wanna do this

+ - !

(0)

Pip3r4o

Nov. 16, 2008

Under rating threshold (show) Same problem as for Hunter1....pls help us xD

+ - !

(0)

deleteduser

Nov. 15, 2008

Under rating threshold (show) ok, i have tried everything for this. my current problem is that my "ship" wont move when i test the file, and i have saved all the files in the same place, corrected all syntax + class errors, and even had most of the errors that other people have had on the previous 35 pages and corrected them. please tell me if cs4 does not work or windows xp.

+ - !

(0)

deleteduser

Nov. 15, 2008

Under rating threshold (show) Wow, This is freakin awesome! I have been trying to find a "for a non-experienced (at all)" kind of thing, and here it is! I had a few difficulties but i got this thing running! XD

+ - !

(0)

ElderKingpin

Nov. 15, 2008

Under rating threshold (show) thanks for this!! Im gonna try to make a ww2 game

+ - !

(0)

deleteduser

Nov. 15, 2008

Under rating threshold (show) i just got the flash cs4 and am up to page 9 on this and have the exact code, but a different ship image, and when I've tried to test the movie the ship won't react to either the constant velocity or right arrow key. can anyone help?

+ - !

(0)

CodeGuy

Nov. 15, 2008

Under rating threshold (show) Natter91, that's what I did. It doesn't work.

+ - !

(0)

Natter91

Nov. 15, 2008

Under rating threshold (show) CodeGuy, did you use Key.W? That wouldn't work. You need to look up the ASCII code for the letter you're using and use that, so it would be if(Key.isDown(88)).

+ - !

(0)

CodeGuy

Nov. 14, 2008

Under rating threshold (show) Key.isDown(Key.RIGHT) works fine for detecting the right arrow. However, I've tried using Key.isDown to detect letters (for WASD control) and that didn't work. I even looked up the key number and put that where Key.RIGHT was, but it didn't work. How do I detect keypresses for the letters?

+ - !

(0)

AceTheSalmon

Nov. 14, 2008

Under rating threshold (show) leave me a shout if you know the answer. All of my tools around the actionscript interface are grayed out. I cannot test my project, adjust FPS or attributes, Someone please help me!

+ - !

(0)

  • add a comment
Developers Players Support YouTube TikTok X (Twitter) LinkedIn
Join the conversation Join Discord
Terms of Service Privacy Policy Code of Conduct
© 2026 Kongregate