Under rating threshold (hideshow)
i cant get it to work either when i hit test movie an error comes up and says **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
Under rating threshold (hideshow)
ah finally! my first one worked, but my second one didnt following the same method until now! just check your syntax, follow the tutorial again. Done in flash 8.
I believe the method should work in CS3 or 4 but you may have to make sure you are working in actionscript 2.0 rather than 3.0, although I would have thought they were backwards compatible.
I put a var where there shouldnt be :)
Under rating threshold (hideshow)
For those who can't get their Ship to move, when converting it to a Movie Clip make sure that ONLY 'Export for Actionscript' is checked and not 'Export in first frame'.
Under rating threshold (hideshow)
Does this tutorial work for flash CRS4? Ive done everything the video has said and the ship still wont move when I test in on step 9.
Under rating threshold (hideshow)
Come on people, don't say it doesn't work because I can assure it DOES actually work. If you want me to help you, upload all your files (.fla, .as) to some free file hosting and I check them myself and then re-upload them with the corresponding correction. Post them in my account.
For those who couldn't make the ship move, can do the same thing.
Under rating threshold (hideshow)
my F@ck`ing ship don't move i did it exactly d same... mirror it n sh@t happened ... thanks just wasted 2 hours of my life right here.... :((((((((((((((
Under rating threshold (hideshow)
i tried that but still doesn't work. Here's what i put in.
class Ship extends MovieClip
{
var velocity;
function onLoad()
{
velocity = 10;
}
function onEnterFrame()
{
_x = _x + velocity;
}
}
the .fla is called game.fla and the .as is called Ship.as The symbol and it's class are Ship. Any suggestions?
Under rating threshold (hideshow)
hyperonion, make sure that if you called your ship "Ship" when you made it into a movie that the class is "Ship.as" and not "ship.as"
in other words, everything is case sensitive
the entire ship.as can be found at the end of the tutorial
Under rating threshold (hideshow)
Hey guys i really need help on something which i try to write in flash. I'm a total noob so don't expect anything, but can someone please help me? add me as friend and let me know if you want to help me ;)
Under rating threshold (hideshow)
Awesome tuts, thanks for making em! And guys remember if your having trouble, check that you have saved your actionscript file, and that all your syntax is correct.
Under rating threshold (hideshow)
I figured it out :)
If you're using CS4 you have to start over again and create a new Flash File (ActionScript 2.0) not 3.0 Then make sure when you save the file save it as a CS3 instead of a CS4 (in the drop down menu)
Under rating threshold (hideshow)
it dont work for me,my ship will go straight to the right and off of the screen never coming back,or when i try to fix it it just will not move at all
Under rating threshold (hideshow)
Yay my ship is flying =D. for those who are having problems make sure that if the ship class is capatilized make sure the action script file is capatilized too.
Under rating threshold (hideshow)
wohoo flying ship.
also had some troubles first but my advise to solve it save as many times as possible and test the movie with the flash file opened i don't know or it really helps or it was the multiple savings but this worked with me.
Under rating threshold (hideshow)
if you are one of the people having the problem error: the class or interface 'ship' could not be found, try naming the game, game.fla and try naming the as file ship.as
Under rating threshold (hideshow)
I had the common error that everyone seems to have. I deleted everything and started again making sure everything was saved first into the same folder, and I tested the movie after nearly ever step. Works now.
Under rating threshold (hideshow)
Okay, I did it! Thanks to everyone that helped. What did it for me is to pay attention to Slide 4, where it talks about the special settings for your symbol.
Under rating threshold (hideshow)
My ship isn't moving..
Does anyone know how to fix the problem?
I've got the code 100% correct.
Saved everything.
But it doesn't move
Under rating threshold (hideshow)
yay fixed it...if its not working try going to the library and right clicking on the ship. then click linkage and type Ship int the class box
Under rating threshold (hideshow)
First off i didn't "spit on his work". Its obviously me or my computer or somethin.
second, I have the scene saved as Ship, and its an FLA. if I save it as Ship.FLA it goes back to just ship. I have the actionscript saved as Ship and its a .as file, I even have a shockwave object called Ship, but it wont move. Help...?