Now, there you have it:
"on myOwnHandler me"
is not the way to use the me parameter. "me" can only be used
together with for example "mouseDown", "mouseEnter" etc.
And a coding tip for you my friend:
---------------------------------------------------------------
on Change_Sprite_To_Appropriate_Note_Member
sprite(the currentSpriteNum).member = "Instrument" & pInstrument_Icon_Number &
"_Note"
end
---------------------------------------------------------------
Does the same thing as you want...
;-)
guran
> --------------------------------------------------------------
> on Change_Sprite_To_Appropriate_Note_Member me
>
> case pInstrument_Icon_Number of
>
> 1: sprite(me.spriteNum).member="Instrument1_Note"
>
> 2: sprite(me.spriteNum).member="Instrument2_Note"
>
> 3: sprite(me.spriteNum).member="Instrument3_Note"
>
> 4: sprite(me.spriteNum).member="Instrument4_Note"
>
> end case
>
> end Change_Sprite_To_Appropriate_Note_Member
> --------------------------------------------------------------
>
> Even though it works fine now replacing me.spriteNum with the
> currentSpriteNum, I am still curious as to why it doesn't work with
> me.spriteNum!
>
>
> [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!]
>
[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!]