3 Replies Latest reply on Sep 21, 2017 6:58 AM by Lilybiri

    Selecting a radio button with event listener on Button symbol

    J2Duncan

      Since I have been unable to find methods of styling the radio button components in Animate cc I want to select a radio button by putting a Click event listener on another Button instance.

       

      Presumably create the radio button on stage and hidden, or possible better, include a form with radio inputs on my .html file outside of the canvas div and have the display:none. Is this possible?

       

      I have the Event listener from the Code Snippets on my button:

       

      this.yes_button.addEventListener("click", fl_MouseClickHandler.bind(this));

       

       

      function fl_MouseClickHandler()

      {

      // Not sure what to put here to select radio button.

      }

       

      All help is appreciated. Thank You.