Hi,
I'm new to this forum and to flash. I would like some help with this.
I want an object to move with the x position of the mouse. Can anyone shed some light on this?
Thanks
Printable View
Hi,
I'm new to this forum and to flash. I would like some help with this.
I want an object to move with the x position of the mouse. Can anyone shed some light on this?
Thanks
Make sure your in advanced mode and use a list of actions element and set the property for the element to equal MouseXQuote:
Originally posted by 3DBB
Hi,
I'm new to this forum and to flash. I would like some help with this.
I want an object to move with the x position of the mouse. Can anyone shed some light on this?
Thanks
There are at least two examples of this at
http://deadyeti.com/into3dfa/
Thanks blanius,
I tried your solution, but I have not been able to figure out how to add the element I want to move with the mouse. The LET= command wants to see a variable not an element name. Any thoughts?
Use a "set property" rather than "let equal", from the first drop down choose your element, from the second choose "x position", from the third(bottom) choose "mouse'x'".Quote:
Originally posted by 3DBB
Thanks blanius,
I tried your solution, but I have not been able to figure out how to add the element I want to move with the mouse. The LET= command wants to see a variable not an element name. Any thoughts?
Make sure your element has properties.
-Jason
Thanks zoranvedek,
That worked great. I had to set the time of the movie to less than a second to get the movement to be smooth. I supose I should put this in a child movie.
I whant to create something like this http://www.wireframe.co.za/default1.htm
Thanks again
[Edited by 3DBB on 05-06-2002 at 09:43 PM]
That's a pretty cool effect they have there. You might be interested in this thread:Quote:
Originally posted by 3DBB
Thanks zoranvedek,
That worked great. I had to set the time of the movie to less than a second to get the movement to be smooth. I supose I should put this in a child movie.
I whant to create something like this http://www.wireframe.co.za/default1.htm
Thanks again
[Edited by 3DBB on 05-06-2002 at 09:43 PM]
http://board.flashkit.com/board/show...hreadid=303953
It's about a similar movement engine, check out Bret's(blanius) coding on the second example.
-Jason
Thanks a ton zoranvedek,
That thread is great. I will learn alot from the example movies in it.