Games Achievements My Kong Sign In

Comments for Shootorial #1

« Back to Shootorial #1

apelhitam

Jul. 31, 2009

Under rating threshold (show) HELLELUYAH PRAISE THE LORD IT WORKS!!!@ tonfisk lol god bless you being able to make it in two hours. this bloody thing took my two days! and all the problem was from the naming of the file!

+ - !

(0)

nagleci107

Jul. 31, 2009

Under rating threshold (show) >_< i dont get it...but i guess this is as simple as it gets?

+ - !

(0)

apelhitam

Jul. 31, 2009

Under rating threshold (show) relative path is 'Ship.as'. class Ship extends MovieClip Total ActionScript Errors: 1 Reported Errors: 1 help!

+ - !

(0)

Jose_Salvatierra

Jul. 29, 2009

Under rating threshold (show) Indeed, save both the .fla and the .as files to the Desktop and it will work. It does both for me and for Lolazarus. Try it!

+ - !

(0)

julkasa

Jul. 28, 2009

Under rating threshold (show) I have same problem as DaSpoony

+ - !

(0)

sinjin25

Jul. 27, 2009

Under rating threshold (show) Erm... I mean top left and then new...

+ - !

(0)

sinjin25

Jul. 27, 2009

Under rating threshold (show) Everyone, please make sure that your writing this in AS2. I know in CS3 you can get to it by clicking new in the top right, but I'm not sure about CS4.

+ - !

(0)

Tonfisk

Jul. 27, 2009

Under rating threshold (show) I MADE IT AFTER 2 HOURS !!! YAA

+ - !

(0)

iamyou

Jul. 26, 2009

Under rating threshold (show) my ship wont move ever this is my script is something wrong? 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; } }

+ - !

(0)

usefulidiot73

Jul. 26, 2009

Under rating threshold (show) can somebody plz make a youtube tutorial of this cuz i dont get it.send me a link on my other account usefulidiot79 if you made the vidoe cuz this is hard to make.

+ - !

(0)

Lolazaurus

Jul. 26, 2009

Under rating threshold (show) it worked when i saved the files into a folder on my desktop

+ - !

(0)

Lolazaurus

Jul. 26, 2009

Under rating threshold (show) Does useing CS4 make a difference?

+ - !

(0)

Lolazaurus

Jul. 26, 2009

Under rating threshold (show) mind the capital letters as in lowercase only?

+ - !

(0)

Lolazaurus

Jul. 26, 2009

Under rating threshold (show) my ship wont move either

+ - !

(0)

dopemanone

Jul. 26, 2009

Under rating threshold (show) my ship doesn't move, too... thought i could just could use this code in a AS3 file, but it doesnt work. will there be a "shootorial AC3"? :D

+ - !

(0)

deleteduser

Jul. 25, 2009

Under rating threshold (show) I'm having trouble getting the class assignment to work in cs4 any tips?

+ - !

(0)

battaklan

Jul. 25, 2009

Under rating threshold (show) if the ship is not moving or giving probs, mind the capital letters in the code

+ - !

(0)

andylll

Jul. 24, 2009

Under rating threshold (show) my ship wont move i have the script copied down right

+ - !

(0)

wassappipole

Jul. 24, 2009

Under rating threshold (show) page 9 doesnt work The class 'Ship' needs to be defined in a file whose relative path is 'Ship.as'. help!

+ - !

(0)

deleteduser

Jul. 24, 2009

Under rating threshold (show) well i got it to move but now now the arrow keys wont work

+ - !

(0)

dinoman979

Jul. 24, 2009

Under rating threshold (show) my ship wont move...but on It Should Look Like This part...its exactly the same..

+ - !

(0)

deleteduser

Jul. 24, 2009

Under rating threshold (show) my ship will not move

+ - !

(0)

usefulidiot73

Jul. 22, 2009

Under rating threshold (show) can somebody just give me the goddamn code for the ship.cuz all you need is a code for the ship to move

+ - !

(0)

aldrin

Jul. 19, 2009

Under rating threshold (show) Where will i put the Ship.as File?

+ - !

(0)

deleteduser

Jul. 18, 2009

Under rating threshold (show) I wish this was for ActionScript 3.0, why 2.0, it's old...

+ - !

(0)

wertyujh

Jul. 18, 2009

Under rating threshold (show) done it! cool!

+ - !

(0)

wertyujh

Jul. 18, 2009

Under rating threshold (show) u need to call it ship in the first line, and also save the fla (the stage)

+ - !

(0)

funkynutt

Jul. 17, 2009

Under rating threshold (show) My ship will not move no matter what

+ - !

(0)

Linneus

Jul. 17, 2009

Under rating threshold (show) It is important rename the actionscript file "Ship.as"

+ - !

(0)

Lonerwolf000

Jul. 17, 2009

Under rating threshold (show) the coding velocity dosent work!

+ - !

(0)

acm321

Jul. 15, 2009

Under rating threshold (show) Click WHERE for more Shootorials?

+ - !

(0)

DaFlamingPotato

Jul. 14, 2009

Under rating threshold (show) GRAH!!! I need a tutorial like this for flash 8! Is there any way to upgrade without paying? If not, can some1 plz help me? I can't even write the code in the class! It just says errors ad crap like needs to be in oneventhandler which doesn't work and it is just ticking me off!!!!!!!! PLEASE HELP ME!!!

+ - !

(0)

oldavid1

Jul. 14, 2009

Under rating threshold (show) On page 10, when I input the Key.RIGHT and then I Control Test it, it immediately starts flying to the right, even though my right key is not down. What is wrong?

+ - !

(0)

RealdetH

Jul. 13, 2009

Under rating threshold (show) Works perfectly for me. nice job man!

+ - !

(0)

deleteduser

Jul. 13, 2009

Under rating threshold (show) ya i think the code is a bit faulty as it does not work

+ - !

(0)

DaFlamingPotato

Jul. 12, 2009

Under rating threshold (show) Links don't work 4 me any help?

+ - !

(0)

deleteduser

Jul. 11, 2009

Under rating threshold (show) I have the code written down exactly as it says I have went over all the lines to be sure, and when I hit test it shows no errors, but at step 9 when i test, it doesn't move.

+ - !

(0)

deleteduser

Jul. 11, 2009

Under rating threshold (show) Ok i changed Class Ship extends MovieClip and made the S in ship lowercase, which I thought worked because I checked Syntax, and it said no errors, But i tried to test and it said The class or interface 'Ship' could not be loaded. I really have no idea what to do.

+ - !

(0)

deleteduser

Jul. 11, 2009

Under rating threshold (show) Ok I am on page 9 right now and The ship won't move when when I test movie, it comes up with this, Location: ship.as, Line 1, Description:The Class 'Ship" needs to be defined in a file whose relative path is 'Ship.as' Source: Class Ship extends MovieClip if anyone can help me, it would be really nice.

+ - !

(0)

Joshg21

Jul. 11, 2009

Under rating threshold (show) does it matter if they are indented or not on pages 7and 8?

+ - !

(0)

Joshg21

Jul. 11, 2009

Under rating threshold (show) nevermind i'm an idiot i didnt read what it said

+ - !

(0)

Joshg21

Jul. 11, 2009

Under rating threshold (show) can anyone explain page six? is that a new save or do i add that onto the ship.as?

+ - !

(0)

crazyboy554

Jul. 10, 2009

Under rating threshold (show) wtf is dis

+ - !

(0)

deleteduser

Jul. 10, 2009

Under rating threshold (show) The name of this class, 'TextField.StyleSheet', conflicts with the name of another class that was loaded, 'TextField.StyleSheet'. why does this keep popping up? can anybody help me out?

+ - !

(0)

deleteduser

Jul. 10, 2009

Under rating threshold (show) you have to save the .fla file and the .as file in the same folder before testin otherwise u get an error saying that the class or inter faec 'Ship' could not be loaded

+ - !

(0)

BiologicalBeast

Jul. 07, 2009

Under rating threshold (show) Great Tutorial!

+ - !

(0)

deleteduser

Jul. 06, 2009

Under rating threshold (show) That code is for the fourth one but it should work. You guys shouldn't get any errors after you finish the third and fourth tutorials....

+ - !

(0)

deleteduser

Jul. 06, 2009

Under rating threshold (show) Here... class Ship extends MovieClip { var velocity; var shootLimiter; var enemyTimer; function onLoad() { velocity = 10 shootLimiter = 0; enemyTimer = 0; } function onEnterFrame() { shootLimiter += 1; if(Key.isDown(Key.LEFT)){_x -= velocity;} if(Key.isDown(Key.RIGHT)){_x +=velocity;} if(Key.isDown(Key.UP)){_y -= velocity;} if(Key.isDown(Key.DOWN)){_y += velocity;} if(Key.isDown(Key.SPACE) && shootLimiter >8) { shootLimiter = 0 var missile = _root.attachMovie( "Missile" , "Missile" + _root.getNextHighestDepth(), _root.getNextHighestDepth() ); missile._x = _x + 50; missile._y = _y + 2; } enemyTimer += 1; if(enemyTimer >60) enemyTimer = 0; _root.attachMovie("EnemyShip", "EnemyShip"+_root.getNextHighestDepth(), _root.getNextHighestDepth()); } }

+ - !

(0)

rl_kelvin

Jul. 05, 2009

Under rating threshold (show) my ship isnt moving! help please. I'm sure its all right. I have a folder on my desktop with Game.fla, ship.png, Ship.as and my Game.swf when i load it it shows the ship but it doesn't move upon pressing the arrow keys.

+ - !

(0)

Xbambusx

Jul. 05, 2009

Under rating threshold (show) The class 'Ship' needs to be defined in a file whose relative path is 'Ship.as'. still the same thing... any help pls?

+ - !

(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