GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 3,699

0 members and 3,699 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Post

    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 thisi 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!

  2. #2
    Join Date
    Aug 2005
    Posts
    5

    Default

    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.

  3. #3

    Default

    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.

  4. #4
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Default

    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!

  5. #5
    Join Date
    Feb 2005
    Posts
    2,921

    Default

    you could also make the circle a pretty animation of birds flying about, then make the mouse pointer hidden, and voila, instant mouse trail

  6. #6
    Join Date
    Mar 2005
    Location
    Insanity Sq.
    Posts
    3,811

    Default

    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

  7. #7
    Join Date
    May 2005
    Location
    Sweden
    Posts
    345

    Default

    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!

  8. #8
    Join Date
    Mar 2005
    Posts
    56

    Default

    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
  •  
Powered by vBadvanced CMPS v4.1.1