About Arvind Expertise I can answer questions on creating simple games using Director 8 and Director 8.5. Please no questions on 3D aspects. Lingo questions welcomed.
Experience I am at University and have completed an HND in Computing and Mathematical Sciences, and a BSc in Multimedia Technology. Below is my dissertation which is on Interactive Gaming: -
Macromedia Director - getting a sprite to appear when another sprite is clicked
Expert: Arvind - 2/17/2006
Question hi again Arvind
I've been trying to get a text cast member to appear when I click on an area in a picture.
on mousewithin me
show member.(1)
end
but I'm not getting anywhere.
have also tried adding a transparent shape and putting the behaviour on the shape, but the same thing happens. Is there a way to do this? It's on the tip of my brain but I simply can't think of it.
Hope you can help me.
Alejandra
Answer Hi Alejandra,
You can use the VISIBLE property to make this happen.
Create a script on your script channel with the following: -
on exitFrame me
sprite(1).visible = false
end
Make sure you replace the "1" with whatever channel your text sprite is on. Then on the sprite you want to click, put this script: -
on mouseUp me
sprite(1).visible = true
end
Save the movie, rewind, and play it back. Click the sprite, and your text should appear. :D