This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2006 > move with more than one pixel





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author move with more than one pixel
zenaibar

2006-02-06, 7:07 pm

Hi.
I have another problem.
I know that this._x++ adds a pixel on x axes.
A) But if I need to move the mc with more that one pixel?
B) Or if i need to send it to some coordinates (x,y)

I have tried in many ways but i just can't do it.
Please enlighten me once more.

tralfaz

2006-02-06, 7:08 pm

"zenaibar" <webforumsuser@macromedia.com> wrote in message
news:ds7qpi$4fj$1@forums.macromedia.com...
> Hi.
> I have another problem.
> I know that this._x++ adds a pixel on x axes.
> A) But if I need to move the mc with more that one pixel?
> B) Or if i need to send it to some coordinates (x,y)
>
> I have tried in many ways but i just can't do it.
> Please enlighten me once more.


Your question should be posted to the macromedia.flash.actionscript
forum though. This forum is about site design.
Anyway, no big thing:

Move 100 pixels to the right..
mc._x += 100;
Move the movieclip to x position 500, y pos 400
mc._x = 500;
mc._y = 400;

tralfaz


zenaibar

2006-02-06, 7:08 pm

Thank man.
It's silly but it is the first time i realize that what u are saying it's true.
This forum is about site designing. :))
Got it.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews