1 Reply Latest reply on Aug 26, 2007 8:31 PM by NSurveyor

    Is this possible

    hurker
      I am creating a training program and i want the user to left click to create an action and then right click to create another action. Is this possible and if so what would the script for right click be. Do i need to add an action script to the start to turn off the right click choices?

      Eg left click My Documents
      Right click on a file (menu pops up)
      Left click sent to
      Left click desktop
      thanks any suggestions appreciated.
        • 1. Re: Is this possible
          NSurveyor Level 2
          It indeed is possible. Check out the ContextMenu class. It allows you to add custom items to the right click menu over specified movieclip and provide a function upon clicking.

          For example, have an "icon" movieclip, with instance name file_mc. Click on the frame, and this code: