Hi Everybody,
I want a feature in which there are a few
buttons..when the user clicks on a button that says
'turn red' it activates a functionality and turns any
sprite that is clicked after that into red.
I have managed to do the reverse that is, if the user
clicks a sprites and then clicks make red' the sprite
turns red..the code is like this:
--this handler is attached to the make red button
on mouseUp me
global clickedSprite --where clickedsprite is a
variable that stores the last sprite clicked before
the button
if the clickOn then
put clickedSprite
sendSprite (clickedSprite, #makeRed)
exit
end if
end
--makeRed attached to the sprites
on makeRed me
global clickedSprite
sprite(clickedSprite).backcolor=35
end
but I wud like to have it the other way, means first
click the button and then the sprite to be turned
red.. any suggestions how i cud do it???????
Regards
Richie
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]