visibility of sprites


hello
i hope can explain properly.. need create button lets user show or hide number of sprites. new sprite appear each time user clicks 'next' need of them either hidden or showing when user presses show/hide button, if half showing when press it. make sense?

i have code

buttonpress = true
sprite(1).visibility = buttonpress
sprite(2).visibility = buttonpress

buttonpress = not buttonpress

but i'm not sure i'm putting these pieces of code, or if work....

thanks, hope makes kind of sense!

you can use of blend property

sprite(1).blend = 0 -- invisible
sprite(1).blend = 100 -- visible


More discussions in Director Lingo


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support