Flash tutorial: Figure follow crusor

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,178
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 13, 2008

A tutorial by FlashLan

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (FlashLan)

  • im not able to make that parentesis

  • press "alt gr" + "7" to open "9" to loock

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • it works , and here is the Action Script:

    _root.onEnterFrame = function(){

    X = _root._xmouse - 10

    Y = _root._ymouse - 10

    flower._x = flower._x + (X - flower._x)/10

    flower._y = flower._y + (Y - flower._y)/10

    }

  • it doesn't works

  • 1. it dont work 2. why carnt u put the bludy code in the description -.-

  • Tutvid!

  • Why not put the code in the descrpition on Youtube! Much easier to understand.

  • You have to have your regist on the convert to symbol page in the middle if you dont, that was my problem

  • Who knows a good joint for tutoirals that tell you WHY it follows the mouse just HOW to make it follow the mouse?

    but otherwise awesome :D

  • or u can do tis draw a movieclip

    then put tis into the movieclip actionscript:-

    onClipEvent (enterFrame) { this._x = this._x+(_root._xmouse-this._x­)/10; this._y = this._y+(_root._ymouse-this._y­)/10;

    }

  • name the movieclip tat u drawn to "g"(without the quote)

    put it in the frame actionscript:-

    _root.onEnterFrame = function () { g._x=g._x+(_root._xmouse-_root­.g._x)/10 g._y=g._y+(_root._ymouse-_root­.g._y)/10

    };

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more