0 members and 3,699 guests
No Members online

» Site Navigation
» Stats
Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
|
-
This is just something that i made(everything is just made) :blink: .
Well..
What you need:- Flash MX 2004 (Maybe works with MX)
- A keyboard with the CTRL and Enter Button
Not a very long list.
Let's begin.
The _ymouse property gets the current Y Position of the mouse.
And the _xmouse property gets the current X Position of the mouse, very easy.
So a simple follow mouse code will look like this i used the SQL code box variant to get some colors)
Code:
onClipEvent(mouseMove){
this._y += _ymouse;
this._x += _xmouse;
}
As you can see, the position of the selected object adds the current x and y position to the object.
I recommend to use the onClipEvent(mouseMove) to run the script.
Because with enterFrame, it runs all the time, therefore it gets slower.
This is the end of the "tutorial" also called walkthrough.
Example:
http://img363.imageshack.us/my.php?i...ollower6jf.swf
Noooooo! My old signature is gone! Gone forever!!!
*sniff* 
New one!

-
wat program you need for this...? because i got a html editor (yes it works with php) but i dont know how to add php to sigy.
-
BbR-, this is for Flash as it was said in 1337elite's post.
I've come across a tutorial similar to this, but never really understood much of it. It was similar in how the mouse affects the movement, but different with the path of the thing that moves.
-
Well, as a i said it get's the X and Y position of the mouse.
Hard to tell how exactly.
Noooooo! My old signature is gone! Gone forever!!!
*sniff* 
New one!

-
you could also make the circle a pretty animation of birds flying about, then make the mouse pointer hidden, and voila, instant mouse trail
-
yea, you can also use _root.mousehide or something like that to hide the mouse. Good tut man. I might post some flash stuff soon.
If you want help...
Screw you
If you make sigs...
Screw you
-
Originally posted by Illegalx17@August 19 2005, 11:20 AM
yea, you can also use _root.mousehide or something like that to hide the mouse.* Good tut man.* I might post some flash stuff soon.
[snapback]99468[/snapback]
Hmm... Four months ago, and I haven't answered.
I hope you do make some tutorials soon! This section is pretty dead actually.
Noooooo! My old signature is gone! Gone forever!!!
*sniff* 
New one!

-
wow awesome tut! usually i have a hard time figuring out where to put code and all that stuff. but here it worked instantly. thanks!
(you probably should have mentioned to create a symbol first on which you apply the code.)
this is how my code looked like after i made the mouse disappear :P
Code:
onClipEvent(mouseMove){
this._y += _ymouse;
this._x += _xmouse;
Mouse.hide()
}
http://img143.imageshack.us/my.php?image=m...sappears6ag.swf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|