hello magnus

Magnus Ewald wrote:

> 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 it will be invisible and will continue to be invisible in the rest of 
>the movies....ok?
> 

hm - what about " the currentSpriteNum " ?

-- castmemberscript

global gThe_List_with_the_memberNames

on mouseUp
  nowSprite = the currentSpriteNum

  myName = sprite(nowSprite).member.name

  if ( getOne(gThe_List_with_the_memberNames, myName) ) then
    sprite(nowSprite).visible = false
  end if

end

hope it helps
---
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!]

Reply via email to