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!
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
sprite(1).blend = 0 -- invisible
sprite(1).blend = 100 -- visible
More discussions in Director Lingo
adobe
Comments
Post a Comment