OK maybe i shold me more specific , sorry.
First of.....the behaviours are not behaviours, but castmemberscripts attached to
specific castmembers in an external castlib. This castlib is used by different movies
and if you click one of these castmembers itll be invisible and will continue to be
invisible in the rest of the movies....ok?
hope you understand me better now :)
----- Original Message -----
From: dietrich roland pehlke <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 2:55 PM
Subject: Re: SV: <lingo-l>finding castmembers ?
> hello magnus
>
> i'm not shure if i understand you correct:
>
> -- behavior of the sprite:
> property pOrgPos -- the orginal position of the sprite
> global gThe_List_with_the_unvisible_memberNames
> -- ["1001", "1002", "1003", "2003 A", ...]
>
> on beginSprite me
>
> -- get the orginal position
> me.pOrgPos = sprite(me.spriteNum).loc
>
> -- get the name of the member of this sprite
> myName = sprite(me.spriteNum).member.name
>
> -- contains the global list this name?
> if (getOne(gThe_List_with_the_unvisible_memberNames, myName) > 0) then
>
> -- if so, make it unvisible, but i prefert it to move it out of
> -- the view-port, the stage
> sprite(me.spriteNum).loc = point(-1900, -1900)
>
> -- or
> -- sendSprite(me.spriteNum, #setVisible, #false)
>
> -- or make the sprite invisible
> -- sprite(me.spriteNum).visible = false
>
> end if
> end
>
> on setVisible me, trueOrFalse
> case (trueOrFalse) of
> #true: sprite(me.spriteNum).loc = me.pOrgPos
> #false: sprite(me.spriteNum).loc = point(-1900, -1900)
> end case
> end
>
> hope it helps
> ---
> regards
> dietrich roland
>
> [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!]