Games Achievements My Kong Sign In

Comments for Shootorial #1

« Back to Shootorial #1

deleteduser

Feb. 14, 2009

Under rating threshold (show) ok i cant figure it out atm ill come back >.>

+ - !

(0)

deleteduser

Feb. 14, 2009

Under rating threshold (show) The class or interface 'Ship' could not be loaded. >.< any suggestions

+ - !

(0)

deleteduser

Feb. 14, 2009

Under rating threshold (show) my ship will not work class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { _x = _x + velocity; } } did i do something wrong

+ - !

(0)

ryalane

Feb. 13, 2009

Under rating threshold (show) .. it says "The class 'ship' needs to be defined in a file whose relative path is 'ship.as'." i made a folder in my pictures (i have no pictures rofl) so i could find it and its there but it says that and the source is "class ship extends MovieClip" i have NO clue what to do =(

+ - !

(0)

ryalane

Feb. 13, 2009

Under rating threshold (show) found it =[)

+ - !

(0)

ryalane

Feb. 13, 2009

Under rating threshold (show) yep... i cant even find the file rofl

+ - !

(0)

eszeikial

Feb. 11, 2009

Under rating threshold (show) btrent94, i know what your problem is cuz i had it. You saved the .as file in a different directory from your flash file. save them in their own folder.

+ - !

(0)

deleteduser

Feb. 11, 2009

Under rating threshold (show) why are the ship only going right and down?

+ - !

(0)

btrent94

Feb. 09, 2009

Under rating threshold (show) Everytime i try to test it the ship doesnt move so i close that window and at the bottom of the page i get this message : "The class or interface 'Ship' could not be loaded." What does this mean so i can fix it ...

+ - !

(0)

deleteduser

Feb. 09, 2009

Under rating threshold (show) there are 3 } ate the end you have to close the class ship

+ - !

(0)

SAINT777

Feb. 08, 2009

Under rating threshold (show) OMG plz some1 help me in step 10 i have it like this: class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { if( Key.isDown(Key.RIGHT) ) { _x = _x + velocity; } } is it good? leave me a shout plzzzzzzzzz

+ - !

(0)

SAINT777

Feb. 08, 2009

Under rating threshold (show) i cant select control> test movie (page 9) i did all right! what happened! help plz !!!!!!!!!!!!!!

+ - !

(0)

SAINT777

Feb. 08, 2009

Under rating threshold (show) this can be done in flash 8?

+ - !

(0)

Fudgelicious

Feb. 08, 2009

Under rating threshold (show) I get this every single time: The name of this class, 'TextField.StyleSheet', conflicts with the name of another class that was loaded, 'TextField.StyleSheet'. Kinda new to flash, have no idea what this means...

+ - !

(0)

SunsetDown

Feb. 08, 2009

Under rating threshold (show) Hey, everything is in its right place but I'm continually getting this messsage: ActionScript 2.0 class scripts may only define class or interface constructs. (Ship.as, Line 13.) Any pointers?

+ - !

(0)

ldstrumpet

Feb. 07, 2009

Under rating threshold (show) I cant seem to get this shootorial to work, nothing happens when i want to play it, its something about an error.... im using cs4 is that a problem??

+ - !

(0)

Lucifer145

Feb. 07, 2009

Under rating threshold (show) thanks for saying exactly what i said neosano... -.-

+ - !

(0)

FredeP

Feb. 05, 2009

Under rating threshold (show) At step 9: Remember to save your files (both the Flash game AND the ActionScript file) before testing. Else it wont work :)

+ - !

(0)

deleteduser

Feb. 04, 2009

Under rating threshold (show) Luci, Flash version doesn't matter at all! Depends on the ActionScript version you use. flash cs3 supports AS1&2 and AS3. If you guys are using Flash cs3 or cs4 - just choose a AS1.0&2.0 to work with this tutorial( still will be better if you use as3)

+ - !

(0)

Lucifer145

Feb. 04, 2009

Under rating threshold (show) by the way, im moving my ship right now, kongregate wouldn't even bother in making an useless tutorial, IT WORKS, and im not even using cs3, but all versions have the same syntax and everything (actually, in all adobe programs, almost the only thing that change with versios is appearance and some minor changes...)

+ - !

(0)

Lucifer145

Feb. 04, 2009

Under rating threshold (show) remember the semi-colons, {} and more important, as BloodyLilith said EVERYTHING IS CASE SENSITIVE! Key.isDown isn't the same than key.isdown

+ - !

(0)

deleteduser

Feb. 03, 2009

Under rating threshold (show) I'm a newbie when it comes to making games, although I've made my dhare of animations to know really really basic Actionscripting. Looking through the comments here it seems a lot of people just don't realise that almost everything is case senstive, including Class and Identifier and all that jazz. It's a great tutorial, people just gotta read through it all properly before coming here to say it doesn't work.

+ - !

(0)

apostlemurder

Feb. 03, 2009

Under rating threshold (show) This really isn't working for me... If i test the movie it wont move at all, and I've copied the code down perfectly. Is this cause i got cs4? Or...Err, just comment if you can help me

+ - !

(0)

sanandraes

Feb. 01, 2009

Under rating threshold (show) this doesn't work with CS4 i'm guessing? what can i do to make it? leave me a shout please.

+ - !

(0)

deleteduser

Jan. 31, 2009

Under rating threshold (show) This was a hard one. Just be sure you wrote the script correctly! Like in difference games :)

+ - !

(0)

aomare

Jan. 30, 2009

Under rating threshold (show) Kongregate, I think you should create a printable version of these tutorials, it would be kinda useful for me, my Windows internet is blocked.

+ - !

(0)

forlan1995

Jan. 28, 2009

Under rating threshold (show) i had the same problem but instead of that i just copy pasted and in the first action line it had ship with capital s and i wrote the movie clip as ship with small s.( got so anoyed ) i tried this 3 times and didnt work cos of that !!!!!!

+ - !

(0)

EndCredits

Jan. 28, 2009

Under rating threshold (show) Hey, had the same problem as many people here. Check that your Ship.as file is with a capital "S" as it makes a difference, once i did that it worked.

+ - !

(0)

Fizou

Jan. 27, 2009

Under rating threshold (show) this tutorial don't work.everytime it don't move.I need hep!

+ - !

(0)

deleteduser

Jan. 25, 2009

Under rating threshold (show) Yay, i can make games now! Sorta...

+ - !

(0)

redminotaur

Jan. 25, 2009

Under rating threshold (show) Iget this error: Guy.as, line 1 syntax error

+ - !

(0)

asddsa76

Jan. 25, 2009

Under rating threshold (show) Need badges!

+ - !

(-1)

kungfugoo

Jan. 25, 2009

Under rating threshold (show) as well as my instuctions

+ - !

(0)

kungfugoo

Jan. 25, 2009

Under rating threshold (show) sorry for the script its a bit hard to follow so id just follow the shootorials pictures

+ - !

(0)

kungfugoo

Jan. 25, 2009

Under rating threshold (show) here, i have put the code on my profile with spaces and all, now make sure your you have made your figure (Ship) into a movieclip and save your action script file "Ship.as" make sure all has capitals because remeber its case sensitive. When you make Ship into a movieclip make sure all the three boxes are named Ship all with capital "S", registration is Center and Tick the 2 boxes: " export for action script and "export in frame one and after all that you should be able to fly your ship all around the white box.

+ - !

(0)

deleteduser

Jan. 24, 2009

Under rating threshold (show) I write everything and look at the screenshots to do everything right and yet i always get The class or interface 'Ship' could not be loaded. they're in the same folder and everything it doesnt work... HELP!!!

+ - !

(0)

deleteduser

Jan. 24, 2009

Under rating threshold (show) i have done everything word for word and all i get is **Error** Symbol=Ship, layer=Layer 1, frame=1:Line 1: The class or interface 'ship' could not be loaded. Total ActionScript Errors: 1 Reported Errors: 1

+ - !

(0)

ArcheryIAm

Jan. 22, 2009

Under rating threshold (show) class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { if( Key.isDown(Key.RIGHT) ) { _x = _x + velocity; } if( Key.isDown(Key.LEFT) ) { _x = _x - velocity; } if( Key.isDown(Key.UP) ) { _y = _y - velocity; } if( Key.isDown(Key.DOWN) ) { _y = _y + velocity; } } } THAT is what the coding should say. Just put it into separate lines.

+ - !

(0)

deleteduser

Jan. 22, 2009

Under rating threshold (show) i did evrything as it told me to do but i cant move my ship

+ - !

(0)

smilefr

Jan. 22, 2009

Under rating threshold (show) CANT GET THIS TO WORK!! and i did check everything (using cs4)

+ - !

(0)

kungfugoo

Jan. 21, 2009

Under rating threshold (show) i got it working

+ - !

(0)

kungfugoo

Jan. 21, 2009

Under rating threshold (show) when i get to the part when the ship is ment to move left to right its just sits there flashing

+ - !

(0)

deleteduser

Jan. 21, 2009

Under rating threshold (show) omg?! You have to save it to make it move o_O.

+ - !

(0)

helloimhi

Jan. 21, 2009

Under rating threshold (show) **Error** C:\Documents and Settings\Owner\My Documents\my flash animations\Ship.as: Line 2: Statement block must be terminated by '}' { **Error** C:\Documents and Settings\Owner\My Documents\my flash animations\Ship.as: Line 12: Syntax error. } **Error** Symbol= , layer=Layer 1, frame=1:Line 1: The class or interface ' ship' could not be loaded. Total ActionScript Errors: 3 Reported Errors: 3

+ - !

(0)

shraider

Jan. 21, 2009

Under rating threshold (show) May some bodey help me, i get the same error as helloimhi. and i tried what PewPewPewPewPewPew said but it still didnt work. so i need help.

+ - !

(0)

Domibomb

Jan. 20, 2009

Under rating threshold (show) When you get to the part where your ship should move left to right, you need to select your ships tab, then save.

+ - !

(0)

Albany

Jan. 20, 2009

Under rating threshold (show) thanks for that stuff its a first class tutorial! and all worked fine for me from the start to the end

+ - !

(0)

VioletWorm

Jan. 20, 2009

Under rating threshold (show) class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { if( Key.isDown(Key.RIGHT) ) { _x = _x + velocity; } if( Key.isDown(Key.LEFT) ) { _x = _x - velocity; } if( Key.isDown(Key.UP) ) { _y = _y - velocity; } if( Key.isDown(Key.DOWN) ) { _y = _y + velocity; } } } is what i typed and I cant get the ship to move. when i firsted tested it it wouldnt move form left to right by itself someone please help me understand how to do it.

+ - !

(0)

PewPewPewPewPew

Jan. 20, 2009

Under rating threshold (show) helloimhi, its because you wrote "ship" instead of "Ship" in the class definition of the Ship movieclip. go figure.

+ - !

(0)

Waddo

Jan. 19, 2009

Under rating threshold (show) i've made a very basic game before moving my character around using keyboards but now i want to get into flash more but this wont work I get to the part it says you should see it move from left to right but it doesn't do anything, t compiles with out error everything has been saved....... 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