I have three casts which are :

leftgrass 1
leftgrass 2
leftgrass 3.

The initial one on the stage is "leftgrass 1" using to display it is:

sprite(2).member = member(grass&&pgrass)

grass="leftgrass"   --<------- using these to
pgrass =1           --<------- get the castmember name

i am then using this to change the "pgrass" :
pgrass=pgrass+1



---------------------------------------------------------
>property pgrass
>property grass
>
>on beginsprite
>
>   grass="leftgrass"
>   pgrass =1
>   sprite(2).member = member(grass&&pgrass)
>end
>
>>on exitFrame
>
>   if  the locV of sprite 2 > 1890 then
>
>     pgrass=pgrass+1
>
>     if pgrass >3 then pgrass =1
>
>    -------------grass--------------------

Does that make sense ? Coz I can use what ever cast out of the three by
changing th pgrass.


[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