A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Replacing the mouse cursor with a movieclip

  1. #1
    Member
    Join Date
    Sep 2000
    Posts
    40
    Please help clever flash people.....! Using flash 5, I need to create a function that will swap the usual mouse cursor for a moviclip "/target" that I have created. Has it got anything to do with the hideMouseO function???

    Regards, Greg

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Location
    Not on the dole any more
    Posts
    1,040
    Create a movie clip with your cursor in it. In this movie clip's object actions, add the following code:

    Code:
    onClipEvent (load) {
        Mouse.hide();
        this.startDrag(true);
        updateAfterEvent();
    }

  3. #3
    Member
    Join Date
    Sep 2000
    Posts
    40

    Smile

    Nice one!

    Now, how about attaching an "on(press)" collision detection routine to said mouse operated movieclip. (It's a target...)

    Greg

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