avatar for 12sea21

12sea21's profile

About me

Programming in Java currently, Uni.
Having fun.

  • Member Since: Jun. 19, 2009
  • Last Login: May. 17, 2012
  • Current Points: 6371
  • Comments: 560
  • Forum posts: 2
  • Location: Perth, WA, Australia. Alternatively I am in your cupboard, smelling your favourite teddy-bear.
  • Website: http://programmersea.webs.com
  • Age: 17
  • Sex: Male
Latest Achievements (view all badges)
Taking the Low Road (completed)
Badge earned
Badge Of The Day
Taking the Low Road Badge (easy - 5 points)

Blow up all the cars in You Are The Road - Molyjam 2012

Acquired Apr. 11, 2012

Games by 12sea21

12sea21's game contributions

1276404828
name: omgomgomg in Name Game
becayse? MUHAHAHA
1266735389
User Level: Games + Consoles in Lateral - The Word Association Game
Lots of the games have 'shortcuts' li...

12sea21's shouts

avatar for aaa694
aaa694

May 17, 2012 10:54am

class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { _x += velocity; } }
I did this . it says the class or interface SHIP could not be loaded

avatar for 12sea21
12sea21 May 17, 2012 4:51pm

I have another solution, try to get rid of the spaces in the velocity. Did you read the other top comments?

avatar for 12sea21
12sea21 May 17, 2012 4:37pm

Make sure that your class names are the same, ShIP =/= SHIP =/= ship =/= Ship.

I am not doing this enough anymore, I code in java now.

Anyway, maybe your MovieClip in capitalised wrong.

Try using x in…

show more
avatar for meowingtime
meowingtime

Jun 5, 2011 2:47pm

i can’t get my shootorial to work and i used this code:

class Ship extends MovieClip
{
var velocity;

function onLoad()
{
velocity= 10;
}

function onEnterFrame()
{
_x = _x + velocity;
}
}

avatar for 12sea21
12sea21 Jun 5, 2011 6:47pm

Try setting velocity at the start and loading it as is:

velocity = 10;

function onLoad(){

velocity = 10;

}

and then try,

I can see anything wrong with the spelling.. is the class file names Ship or sh…

show more
avatar for 3ndl3ss
3ndl3ss

Oct 7, 2010 1:33am

Hey can you help me with shootorial #2 I am getting this error (screenshot) and I cant seem to get past it.. http://i53.tinypic.com/rt3n7k.jpg

avatar for 12sea21
12sea21 Oct 7, 2010 5:45am

Something to be aware.. your spelling. You saved as Backround.as (Back ROUND not GROUND) i did that as well ^^

Hope i helped.

avatar for 3ndl3ss
3ndl3ss Oct 8, 2010 3:38pm

thats exactly what I discovered 5 minutes after asking after 20 minutes of searching. Very acute of you. Much appreciated.

avatar for 12sea21
12sea21 Oct 9, 2010 9:44am

No probs :)

avatar for Olaca09
Olaca09

Dec 8, 2010 11:06am

I got some probs with the shootorial#1, is this kode okay?:
class Ship extends MovieClip
{
var velocity;

function onLoad()
{
velocity = 10;
}

function onEnterFrame()
{
if( Key.isDown(Key.RIGHT))
{
_x = _x + velocity;
}
}
}
My ship wont move

avatar for meOmega
meOmega Feb 17, 2011 8:11am

umm mine still doesnt work

i programed a little in action script before but this is my first time actually using class.

i think there something wrong with the linkage because if theres an error in my …

show more
avatar for meOmega
meOmega Feb 17, 2011 8:12am

also i pretty much just copied your code so yea…

avatar for 12sea21
12sea21 Feb 18, 2011 8:22pm

crap its _root. ;)

avatar for meOmega
meOmega

Feb 17, 2011 8:13am

Help plz

avatar for 12sea21
12sea21 Feb 18, 2011 8:21pm

what with

view all »