>Can you give me some indication of what i am doing wrong?
>on mouseUp me
> hexN = "FF0000" --same hex value as above
The next 2 lines aren't needed
> --hexNumWsharp = "#" & hexN --adds sharp
>-- hexWquotes = QUOTE & hexNumWsharp & QUOTE --adds quotes
Change the next line to be
> sprite(1).color = rgb(hexN) --returns the sprite color to black
updateStage is not needed
>-- updateStage --what am I missing?
>
>end
You should now have this
on mouseDown me
sprite(1).color = rgb("#FF0000")
end
on mouseUp me
hexN = "000000" -- black
sprite(1).color = rgb(hexN) --returns the sprite color to black
end
That should do it for you.
...Neil
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]