Advertisements
Advertisements

Share this game
Your name *
Your email *
Friend email *
Your message


(* : Fields required)


Vote for this game
Average vote : 0.0 / 0 votes.
Jeu Flash Tutorial For Beginners

Flash Tutorial For Beginners

About "Flash Tutorial For Beginners" :
Welcome to the Beginner Flash Tutorial! This will show a step-to-step process for new flash users. If you are just new to flash, or are confused about tools or making buttons, you are welcomed in. I would strongly recommend new flash programmers to know these basic functions so you can eventually make your own games yourself! Please PM me if you have any problems. Here is the code for the moving object part in AS 3.0.

class object extends MovieClip

{

var velocity;


function onLoad()

{

velocity = 10;

}


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;

}

}

}


Related games for "Flash Tutorial For Beginners" :
Advertisements
HTML code to insert this game on your Blog / Site (customize the size)