Hi Alvin

try putting the currentSpriteNum + 6 in brackets
ie
set the visible of sprite (the currentspriteNum + 6) = TRUE

Sincerely

Mark

--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509 
EMAIL: [EMAIL PROTECTED]
-------------------------------------------- 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of ALVIN GO
> Sent: Wednesday, February 07, 2001 7:31 PM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> what's wrong with this script?
> 
> 
> Hi to All!
> 
> What I want to do is upon mouseover an object, some
> kind of a border, would appear.  I want to reuse the
> same script for several of them on screen.  There's
> this message that appears on mouseEnter:
> 
>   Script error: Property not found
> 
>   set the visible of sprite the currentspriteNum + 6 
> 
>   #visible
> 
> Here's the code...
> 
> on mouseEnter
>   set the visible of sprite the currentspriteNum + 6
> to TRUE
> end
> 
> on mouseLeave
>   set the visible of sprite the currentspriteNum + 6
> to FALSE
> end
> 
> Sorry, I know I'm missing on something.
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
> 
> [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