4 Replies Latest reply on Apr 4, 2007 11:31 AM by abeall

    Using buttons to call javascript function

      I am trying to get 4 buttons in a flash movie to call different javascript functions in my html page that load another flash movie into a <div> tag on the page.

      Button 1 example:
      The function I am trying to load is: showGallery();
      this function is stored in a .js file correctly linked to the html page (via a <script> tag) that contains the flash movie.
      I want the function to be activated when I click on the button (is it the press or release method?)

      I am completely new to actionscript and I am very stuck on how to do this.

      I know that my functions work correctly as I can activate them from my html page with success, how can my button make them work?

      Please help me, I need to get this project finished and get paid!!!