0 Replies Latest reply on Feb 8, 2008 3:17 PM by fundamentally.flawed

    boolean logic

    fundamentally.flawed
      hey. I was wondering if somebody could help me out. i'm writing a game in where a object ("the hero") is controlled with keypresses and when comes into contact with other objects, it trails the "hero" until it comes into contact with a box movieclip in the corner, when the trailing object is dropped. i have 4 objects which i can "pickup" and "drop" but i only want one trailing object at any one time. I've tried various boolean and conditional statements but all fairly unsuccessfully. heres the code for 2 of the objects

      thanks for looking!