A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Disable RightMouse KM with Adobe Flash Player10

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Location
    Amsterdam
    Posts
    20

    Arrow Disable RightMouse KM with Adobe Flash Player10

    I've been searching a half hour to find a code to disable the rightmouse.
    First I found on koolexchange, but the .txt file says it's onlly for flash 7,8 and 9. I googled also, and tryed a few codes didn't worked either.

    Does someone knows and can explain where or how i can fix it.



    Gona sleep now

    Thanks!

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    what version are you using?

  3. #3
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    For KM7 using AS3
    PHP Code:
    myContextMenu = new ContextMenu();
    myContextMenu.hideBuiltInItems();
    this.contextMenu myContextMenu 

  4. #4
    Junior Member
    Join Date
    Jan 2009
    Location
    Amsterdam
    Posts
    20
    Thanks for your help.

    I think i'm doing something wrong than.

    In KM in my movie, i pressed rightmouseclick:
    -Edit frame action script
    -Pasted the code above.

    Pressed Ok.
    Also saved the file as: rightmouse.as



    I have KM 7.

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    make sure in the editor that you are set to AS3, Look at the bottom of the editor screen.

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