Skip to main content
Participant
September 20, 2017
Question

Selecting a radio button with event listener on Button symbol

  • September 20, 2017
  • 1 reply
  • 455 views

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.

This topic has been closed for replies.

1 reply

Lilybiri
Legend
September 20, 2017

Hmmm,  is this a question for the Captivate forum or do you want me to move it to the Animate forum?

J2DuncanAuthor
Participant
September 20, 2017

Not sure where the best place is. Please move to whichever forum is most applicable. Thank You.

Lilybiri
Legend
September 21, 2017

I moved the thread to the Animate CC forum.