Hi list...

I'm dabbling in the js syntax and I've found that adding the below to a
behavior won't allow it to attach to anything.  Am I missing something?

- MM



function isOKToAttach(spriteType, spriteNum){
    switch (spriteType) {
        case symbol("graphic"):
            return true;
        case symbol("script"):
            return false;
    }
}


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to