A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how to create a messege that appears and follows the cursor on an over state?

  1. #1
    Matt
    Join Date
    Aug 2005
    Location
    New Zealand
    Posts
    52

    how to create a messege that appears and follows the cursor on an over state?

    Hi everyone
    I was curious, how would i go about creating a messege that appears and follows the mouse over a button.
    I was thinking do i make the messege into a movie with its alpha set to 0, when the button is rolled over set the messege alpha to 100 and make it follow the cursor?
    does that sound right, if so, how do i go about scripting all that.
    Any kind of help is rad
    thanks alot
    Matt

  2. #2
    Matt
    Join Date
    Aug 2005
    Location
    New Zealand
    Posts
    52
    ignore me, i really should just try alittle harder, i figured it out
    if anyone is curious about this all i had to do was
    on the button i added this script, mov1 being the messege
    on (rollOver) {
    _root.mov1._alpha = 50;
    }
    on (rollOut){
    _root.mov1._alpha =0;
    }

    Then on mov1 i put this:
    onClipEvent(mouseMove){
    this._x = _root._xmouse;
    this._y = _root._ymouse;
    }

    so thats all it was

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center