I have a group of four images that is invisible until needed. I'd now like to show only one of those images when a user clicks at a certain location. I have no trouble determining when the user has clicked the appropriate spot.

I've tried showing and hiding the image alone but, as the group is invisible, the "showing/hiding" is taking place in an invisible object so, of course, you don't see it.

I'm wondering if something like the following is the most efficient way of handling this:

on mouseUp
set the lockScreen to true
put the loc of image myImage into myLoc -- for brevity later on
copy image myImage to this stack
put word 3 of it into myNewID -- tha's the ID# of the newly created image
set the loc of image ID myNewID to myLoc -- same loc as the original image
show image ID myNewID
set the lockScreen to false
wait 2 seconds -- or do whatever
delete image ID myNewID
end mouseUp


This seems to work nicely but I'm wondering if I'm heading down a path whereby I'll screw up the carefully placed groups of images.

Thanks in advance,
Barry

PS - Anyone coding this holiday weekend?


-------------------------------------------------------- Barry Jay Levine "The Mac Guy"

Macintosh Troubleshooting, System Engineering, Training,
AppleShare/OSX Server Setup, System Upgrades and Enhancements,
Custom Programming for Mac/Windows/Linux/Solaris

On-Site service for K20, Business, Consumer

Phone/VoiceMail: 915-581-1105
            Fax: 915-581-8167
          eMail: [EMAIL PROTECTED]
--------------------------------------------------------

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to