use the forecolor.....
like:
(make this a behavior and attach it to the spite you want to change color)
(warning: this is e-mail lingo - untested)

<SNIP>
property origColor, overColor, currSpr, currSprNum

on beginSprite me

    currSprNum = me.spriteNum
    currSpr = sprite(currSprNum)
    origColor = currSpr.foreColor

end


on mouseEnter me

   overColor = whatever -- set the value of overColor to what you want it to
be
    currSpr.foreColor = overColor
    updateStage()

end


on mouseLeave me

    currSpr.foreColor = origColor
    updateStage()

end

<SNIP>

----- Original Message -----
From: "Alan Andrews" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 12:56 PM
Subject: <lingo-l> simple rollover


> Hi list...
> I realise this is very basic...
> but I'm out of touch...
> not worked in director for some time...
> I have a wife and kids and grannies and stuff to support...
> so... someone ... heeelp...!
> I want a simple rollover... i.e. just using text... not a graphic..
> so that on mouse over /  mouse enter the text simply changes colour...
> director 7 by the way...
>
> cheers..
>
> Alan
>
>
> [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!]
>
>


[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!]

Reply via email to