Under rating threshold (hideshow)
@ soph93: make sure that you are saving the files as you are updating them. I was having the same issue, but once I saved the files to the same folder they functioned correctly.
Under rating threshold (hideshow)
helpm me, plz, convert to simbol:class ship..... test movie : ERROR cannot load the class " ship" .... i haven't script anything yet... and with scripting i have the same error
Under rating threshold (hideshow)
this is crap i do everything in the tutorial and ship didnt move or error always in line 8 and it is totaly same as tutorial picture
Under rating threshold (hideshow)
If your ship isn't moving, and everything's correct, make sure you saved after entering the code. They leave out saving as a step heh.
Under rating threshold (hideshow)
I may not have been clear with my earlier post. I have Adobe Flash CS3. I am having difficuly grabbing the game source code. For some reason, the link in the shootorial is not downloading it for me anymore.
Under rating threshold (hideshow)
@OfBloodAndRank: Make sure you're using the right actionscript, 2.0 and 3.0 work differently.
@skandernet: It shouldn't matter as long as you use actionscript 2.0
Under rating threshold (hideshow)
i downloaded a trial version via e-mule :)) i installed it in another folder, thinking i could need cs4 one day, too. both versions work good.
Under rating threshold (hideshow)
Predi, could you please tell me how you got CS3 ?
Did you downgrade your CS4 to CS3 ? if so how ?
Did you delete CS4 and reinstalled CS3 from scratch ? If so from where ?
Thanks in advance
Under rating threshold (hideshow)
i wasted lots of time fighting with this tutorial using cs4... not a thing worked! now I got cs3 - no problems... I don't get it - how can the same language (actionscript 2.0) work different in two versions of adobe flash? I don't like adobe anymore...
Under rating threshold (hideshow)
DarkLibra Developer_icon Levelbug14 Mar. 22, 2009
Guys. if the Ship won't move even if you did everything right, DON'T GIVE AN INSTANCE NAME TO YOUR SHIP. k e e p t h i s a l i v e
----------------
Hate to break it to ya, but your wrong. Any movie clip with a class attached to it is allowed an Instant Name. Just be sure that you give it a unique name. Don't name the movieclip Ship, the Class Ship, and the Instant Ship. When you name them all the same, your cannot reference it properly (i.e. _root.Ship)
Under rating threshold (hideshow)
:( as much as id love to test these, every time is try to import something to stage it crashes.... i use CS4 on vista <-bad combination
Under rating threshold (hideshow)
Guys. if the Ship won't move even if you did everything right, DON'T GIVE AN INSTANCE NAME TO YOUR SHIP.
k e e p t h i s a l i v e
Under rating threshold (hideshow)
i copied the people exactly just like this class Ship extends MovieClip
{
var velocity;
function onLoad()
{
velocity = 10;
}
function onEnterFrame()
{
_x = _x + velocity;
}
}
Under rating threshold (hideshow)
can someone help me?
when on page 4 and i have to convert to symbol i do everything but it says ship is already taken any help?
Under rating threshold (hideshow)
i hate to say this but every time i try to use this tutorial it do not work right and i do not know what im missing
i have everything in the same folder the .as is named "Ship" and the class and identifer are named "Ship". I have no errors either
but no matter what the code does nothing to the fla
wtf
Under rating threshold (hideshow)
I did what it said on the coding bit and its got loads of spaces and stuff in it and even more {, }'s in it, its to complicated for me anyway even though i wanted to make my very own game :(
Under rating threshold (hideshow)
Btw, black Apex that would look like this...
onClipEvent (load){
speed = 5;
}
onClipEvent (enterFrame){
if (Key.isDown(65)){// the key code For A
this._x -= speed; //makes you move left
}
if (Key.isDown(68)){// the key code For D
this._x -= speed; //makes you move left
}
if (Key.isDown(83)){// the key code For S
this._y += speed; //makes you move Down
}
if (Key.isDown(87)){// the key code For W
this._x -= speed; //makes you move Up
}
}
Something like this is how I personally would write it.