But doesn't a or Δy mean the value that x2 changed. So i think it would be an new x3-x2.
It starts at (100,100) user moves the mouse to (200,210) and moves again to (250,270)
Δx = 250-200
Δy = 270-210
The rest oif the part is how i thinked and after i find Δx Δy i need to add or reduce them from the previous x and y value
Isn't this how it should be?
Is there a way to make it with out using the other variable in the formula? I mean for example in a=(width/height)b is there a way to make this formula without b ?
http://www.bogdesigns.com/sel.html this is the commponent i need it in. Click and drag the mouse. You see a rectangle chanching dimension according the mouse position. Well i need it to constrain proportions and it's final dimenions from top left of the screen to bottom right is 800x600
Thank for the welcome.
The best advantage of swishmax is that it is far more easy to use than flash and has 85-90 % of flash capabilitys. You may want to check here http://www.swish-db.com The bigest swish forum a place where i am moderator and if you want you can learn very much. You can make animation wich in flash take very much in swish in minutes if not less then a minute.. Also if you want check http://www.swishzone.com
yes that makes sense, i'll see if that will do the thing. And thanks
actualy it is 2D becuase flash(swish in this case) doesn't support 3D and the 3D is faked here by making the z coordinate in function by x and y.
The initial planes were for them to be tubes but that means not to change this problem. And when i say tubes i mean a rectangle with gradient fill.
Thanks guys for the replys
Hello guys, this looks like a great community.
I have a problem with finding the coridnates of a point.
To see better this is what i'm working on this http://www.swish-db.com/staff/bogdan/files/3dmove.html in flash. The lines connecting should not go from the back of the one on top to the "back" of the one on the bottom.
So someone suggested me to find the point where the line hits the surface.
I made this drawing while trying to find it:
So basicaly i know the center x and y, i know the radius and angle and i need to calculte points A x and y.
Thank you very much