Under rating threshold (hideshow)
**Error** Symbol= , 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)
im stuck on the bit where you start too see the first time...
but it stays still i look at the thing do you add frames?
Under rating threshold (hideshow)
tyvm musashii it solves everything - your fla only runs on the latest version of the as that you have saved in the folder - so save before you try the left 2 right thing
Under rating threshold (hideshow)
coookies, yeah? The version of the flash doesn't matter.
Garry209, im wondering why this shit was made on the as2, not as3.
This code might help you! (shorted variant)
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyPressedDown);
function keyPressedDown(event:KeyboardEvent):void {
var key:uint = event.keyCode;
}
Under rating threshold (hideshow)
Help me.... mine doesn't work D:
I just did the first test (move from left to right) and its not working. I even copied the code. There are no errors. I don't get it...
Under rating threshold (hideshow)
it helped but i got a new problem ihave do very much now sow only 1 line is wrong!
ill slett all my files i maked and start out agin
Under rating threshold (hideshow)
For those of you that are getting a Error and doing everything right when your coding save it everytime
i did that and everything has worked from then on.
Hope this Helps ^_^
Under rating threshold (hideshow)
help its just same message try to see other done but nothing helps me out what shall i do
1084: Syntax error: expecting rightbrace before end of program.
Under rating threshold (hideshow)
No matter how many times I delete everything and restart the tutorials, I keep getting the same ridiculous errors. If anyone is willing to help, I'd be more than happy to listen. Sick of the frustration I'm getting from following meticulously following directions that just don't want to work for me.
Under rating threshold (hideshow)
I had some trouble (no left-to-right movement in first test). I think I caused the problem by renaming the .as file after I made it (I also renamed the Ship, etc at the same time, but somewhere the magic got broken).
Re-did tutorial from scratch, followed all directions meticulously and it worked.
Under rating threshold (hideshow)
You can use the tutorial with CS4 if you select ActionScript 2.0 when you create your .fla file. The menus are a little different, but it makes the code work correctly.
Under rating threshold (hideshow)
this thing requires a good sense of calmness other wise don't bother with it because I heard the tutorial was easy to use. it would be brilliant if it had been updated and gave you the link to the CS3 instead of CS4. Action script is tough to learn too and don't bother copy and pasting their script because it gets all mixed up and you waste time fixing it all up.
Under rating threshold (hideshow)
I had the same 'class loading problem' but i believe we can easily overcome it. Just save the main file (the very first one you know :P) with any name in the same folder where we saved 'ship.as' file. doh
Under rating threshold (hideshow)
OK, stupidest problem ever. If you download CS4 rather than CS3, this won't work because the two events used in this Shootorial don't exist in CS4.
Under rating threshold (hideshow)
OK, so. I have my ship exported to ActionScript. I have my "Flash Stuff" directory containing my .as file listed as a directory to load in Publish Settings. The ship actually loads its class as a global variable - Global Variables:
Variable _global.Ship = [function 'Ship'] ... but velocity is not appearing as either a global or local variable, and the ship is not moving.
I'm NOT getting the error that says "can't find ship class file" or whatever anymore... there has to be some other common error here.
Under rating threshold (hideshow)
I just got a new Wireless keyboard that works perfectly, but the flash doesn't work. I followed all of the directions, I debugged it, and I checked the compiler errors. There were none. I have no idea what's going on, and help would be appreciated.
Under rating threshold (hideshow)
For everyone who has been having trouble getting the ship to move, I have found a solution (I think).
When you are converting to a symbol, make sure that you are selecting "Advanced" options, and check the box for "Export to Actionscript". I don't know if this will solve everybody's problems, but it solved mine.
Under rating threshold (hideshow)
rscp you need to change your classpath.
File>Publish Settings>Flash (Tab)>Settings (the one next to action script 2)>target then identify the location of your as file