1 Reply Latest reply on Feb 17, 2009 11:02 AM by Newsgroup_User

    Flash element - change pointer from arrow to hand in Director

    rafa@mediatech Level 1
      Hi everyone,
      I build a pop-up box in flash that I want to use in Director. It is sort of a tab, that hides in a corner of the screen and when the user rolls over it, it slides out showing some buttons. How can I tell director to change the pointer into a hand when the user rolls over the buttons inside my flash element (not when it rolls on the tab itself)? Also, can I code these buttons to open PDF documents from Director, even thou it was made in flash... if so, how?

      Thank you for your help!
      Rafael.
        • 1. Re: Flash element - change pointer from arrow to hand in   Director
          Level 7
          > How can I tell director to change the pointer
          > into a hand when the user rolls over the buttons inside my flash element (not
          > when it rolls on the tab itself)?

          Check the docs for 'hitTest' and/or 'mouseOverButton', or alter the
          Flash file so that it tells Director to change the cursor whn appropriate.

          > Also, can I code these buttons to open PDF
          > documents from Director, even thou it was made in flash... if so, how?

          Either use 'setCallback', or add some AS to your Flash file telling
          Director what to do.
          getURL("lingo: mHandler");
          will call the handler #mHandler in a #movie script, while
          getURL("event: mHandler);
          will call the handler #mHandler in a score script attached to the Flash
          sprite