Skip to main content
Participant
May 10, 2019
Question

Show text on mouse click, hide on click

  • May 10, 2019
  • 2 replies
  • 1102 views

I'd like to show a block of text on a mouse click, but the add with wizard function for this doesn't seem to work. I'm guessing that's because I need to specify that it's hidden first, then comes the reveal on mouse click, then the hide on mouse click. I'm sure this is ultra simple. I'm brand new (clearly). Thanks!

This topic has been closed for replies.

2 replies

Community Expert
June 6, 2019

Always make sure you refer to your code snippets.

kglad
Community Expert
Community Expert
May 10, 2019

right click your text and click convert to symbol > movieclip and assign it an instance name.

what's the instance name of that text containing movieclip?

what do you want to click to show that t?

as3 or js?

Participant
May 10, 2019

There's no movie involved. I just want to click on something or press a button or symbol next to it, and show text. Javascript is preferable, in the HTML file. I need to use this on Squarespace, so I only get an add code box. Thanks.

kglad
Community Expert
Community Expert
May 10, 2019

you need to convert your text to an object so it can be referenced with code.