A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: change mouse icon

  1. #1
    Senior Member
    Join Date
    Jan 2001
    Posts
    202

    resolved

    I wish to change the mouse icon, ie the arrow, to a target in a particular region in my movei. Basically, I am doing like a reel with all the work I have done so far, and I wish that when I move the mouse over the screen shots, the arrow icons turns into a taget symbol. I already created the target symbol, but I do not know how to change the mouse icon

    Can anybody help please?

    Thanks for your help

  2. #2
    United States Presidential Hopeful in 2028
    Join Date
    Dec 2000
    Posts
    756
    You can use this tutorial (http://www.flashkit.com/tutorials/Ac...11/index.shtml) to make the mouse become the target, but you'll need to put it in an if...else statement to tell it to happen when the mouse is over the area you want it and to stop when it's not.
    [Edited by JC Savior Productions on 01-04-2002 at 12:51 PM]

  3. #3
    Senior Member
    Join Date
    Jan 2001
    Posts
    202

    resolved

    Thanks for your help JC Saviour, I will try that.

    Cheers

  4. #4
    hi here is how i would do it in simple steps:

    1. Make a new layer in your movie.
    --------------------------------------
    2. in that layer draw a shape or arrow that you want the
    mouse to be when its not over the picture.
    ------------------------------------------------
    3.press F8 to convert it to a movie clip. call it mouse.
    ----------------------------------------------
    4. click the mouse icon then goto: windows>panels>instance and call it "mouse".
    -------------------------------------------------------
    5. double click you mose movie clip to go into it to edit it. lable the first layer "mouse"( the one with your cursor in it).
    ---------------------------------------------------------
    6. now add another layer called "actions"
    --------------------------------------------------------
    7. in the layer "mouse" add another key frame. in this draw the cursor you want togo to when its placed over the picture.
    ----------------------------------------------------------
    8. click the first keyframe in the "mose layer" and lable it "mouse1" then lable the second keyframe "mouse2"
    ----------------------------------------------------------
    9. now put a "stop" action in the first and second keyframe of the actions layer.
    ----------------------------------------------------------
    10. now go back to your main moive and put the following actions on your pictures:

    on (rollOver) {
    tellTarget ("/mouse") {
    gotoAndStop ("/mouse2");
    }
    }
    on (rollOut) {
    tellTarget ("/mouse") {
    gotoAndStop ("/mouse1");
    }
    }
    ----------------------------------------------------------

    hope thats helped in 10 easy steps

    happy new year

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