Some simple MX help please

I think this should be an easy question to answer so here goes.

I want to make a simple box with dynamic text on it. This box will be transparent and will be on top of a picture. So, all I want to be able to do is give the user the option to click an “X” and close the box to look at the picture below.

Thanks
Ryan

PS - Preferably I would like to give the user the option to pop the box back up as well.

Hi,

Create a dynamic text box and give it an instance name ‘textBox’.

Then add the following actions to a button:


on(press) {
	textBox._visible = false;
}
on(release) {
	textBox._visible = true;
}

That is assuming you created the text box on the _root timeline. If you didnt then you just need to write the relative path to it.

Regards,
Viru.

Thanks. I’ll give that a try as soon as I get home from work.

Ryan