Club Waddles Official Forum
Welcome To Club Waddles!
Club Waddles Official Forum
Welcome To Club Waddles!
Club Waddles Official Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Chat About All Things Club Waddles! The Latest News, Updates, Secrets & More!
 
HomeSearchLatest imagesRegisterLog in

 

 Click and go code

Go down 
+10
iMatt
Connor
bubba
Bigeyes506
Gamerboy
Bod720
fiery
Rory
Demento
timelord14
14 posters
Go to page : Previous  1, 2
AuthorMessage
Rory
ActionScript Coder
ActionScript Coder
Rory


Number of posts : 1366
Age : 27
Location : India
Status : Changed my name to Rory
Registration date : 2009-02-06

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeTue Apr 28, 2009 12:20 am

What is the code to make the duck move?
Back to top Go down
http://www.pandanious.wordpress.com
bubba
Lengendary Duck
bubba


Number of posts : 1037
Age : 26
Location : Near DC
Status : Being awsome (like always). Ask to be my freind. I accept all request!
Registration date : 2009-04-19

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeTue Apr 28, 2009 4:28 am

Snooper1999 wrote:
leave noob your cfs!
cfs?
Back to top Go down
http://pondducks.forumotion.net/
Rory
ActionScript Coder
ActionScript Coder
Rory


Number of posts : 1366
Age : 27
Location : India
Status : Changed my name to Rory
Registration date : 2009-02-06

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeTue Apr 28, 2009 5:39 am

bubba wrote:
Snooper1999 wrote:
leave noob your cfs!
cfs?
CFS- Club Flippers Spy
Back to top Go down
http://www.pandanious.wordpress.com
bubba
Lengendary Duck
bubba


Number of posts : 1037
Age : 26
Location : Near DC
Status : Being awsome (like always). Ask to be my freind. I accept all request!
Registration date : 2009-04-19

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeTue Apr 28, 2009 1:46 pm

Ninja wrote:
bubba wrote:
Snooper1999 wrote:
leave noob your cfs!
cfs?
CFS- Club Flippers Spy
Lol
Back to top Go down
http://pondducks.forumotion.net/
Rory
ActionScript Coder
ActionScript Coder
Rory


Number of posts : 1366
Age : 27
Location : India
Status : Changed my name to Rory
Registration date : 2009-02-06

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeTue Apr 28, 2009 11:54 pm

Bigeyes506 is CF Game Staff
Back to top Go down
http://www.pandanious.wordpress.com
bubba
Lengendary Duck
bubba


Number of posts : 1037
Age : 26
Location : Near DC
Status : Being awsome (like always). Ask to be my freind. I accept all request!
Registration date : 2009-04-19

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeThu May 14, 2009 1:48 pm

Oh really? i didn't know.
Back to top Go down
http://pondducks.forumotion.net/
iMatt
Club Waddles Designer
iMatt


Number of posts : 395
Age : 27
Location : The Diner!
Registration date : 2009-04-17

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeSat Jun 20, 2009 3:58 pm

Can we stay on Topic please?


Last edited by iMatt on Sun Jun 28, 2009 12:30 pm; edited 1 time in total
Back to top Go down
http://ClubWaddles.com
Sunjy
GRUB Chef
avatar


Number of posts : 149
Location : Canada
Registration date : 2009-01-27

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeMon Jun 22, 2009 3:04 am

do u have a boundry code?
Back to top Go down
Ninjaitachi
Rubber Duck
avatar


Number of posts : 5
Status : Status:
Registration date : 2009-01-27

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeFri Dec 04, 2009 11:03 pm

09op wrote:
do u have a boundry code?

Here's the boundary code.

Code:
if ( this._y >=365.9){this._y=365.9;}
if ( this._y <= 295.9){this._y=295.9;}

I don't use this click I use this one:

Code:

stop();
moveBall = function () {
this.dx = (this.targx-this._x)*.50;  //Speed
this.dy = (this.targy-this._y)*.50;  //Speed
this._x += this.dx;
this._y += this.dy;
if ( this._y >=365.9){this._y=365.9;}  //HERE ENTER Y BOUNDARY'S!
if ( this._y <= 295.9){this._y=295.9;}  //HERE ENTER Y BOUNDARY'S!
if ( this._x >=365.9){this._x=365.9;}  //HERE ENTER X BOUNDARY'S!
if ( this._x <= 295.9){this._x=295.9;}  //HERE ENTER X BOUNDARY'S!
};

setTarget = function () {
this.targx = _root._xmouse;
this.targy = _root._ymouse;


};
ball.targx = 10;
ball.targy = 10;
ball.onEnterFrame = moveBall;
ball.onMouseDown = setTarget;

If using that one insert is into the frames action script. With the one posted on here i am not sure how to add them. (Mainly cause i am to lazy =P)
I hope this helps!
And that's one way of doing it theirs another.
Back to top Go down
§pëëďŷ
Welcome to Club Waddles!
§pëëďŷ


Number of posts : 4
Status :
Registration date : 2010-08-14

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeSat Aug 14, 2010 9:05 am

Tell me how to I make constant speed code please.
This code is not at a constant speed.
Back to top Go down
Christian
Co-Owner
Christian


Number of posts : 13
Status :
Registration date : 2010-10-24

Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitimeSun Oct 24, 2010 5:51 pm

Guys, I did a five second horrible scratch copy of it, and it doesn't work very well, this is what I got for the movement: http://www.swfcabin.com/open/1287961545
Is there a way I can configure the x and y offset?
Back to top Go down
Sponsored content





Click and go code - Page 2 Empty
PostSubject: Re: Click and go code   Click and go code - Page 2 Icon_minitime

Back to top Go down
 
Click and go code
Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» click here now!!!
» Hidding Right Click In Flash (Well Sort Of)
» How to code music into a website (6 easy steps)
» (SUPER SPAM!) GO TO NEW CW FORUM! CLICK HERE FOR DETAILS!
» Movement Code

Permissions in this forum:You cannot reply to topics in this forum
Club Waddles Official Forum :: Programming :: Coding-
Jump to: