2 Replies Latest reply: Jul 27, 2012 6:20 AM by codeBeastAdobe RSS

    1067: Implicit coercion of a value of type void to an unre

    codeBeastAdobe Community Member

      Hi.

      It's telling me that one is void but I don't understand. BTW I am only trying this out because somebody has written it in a game I am using. I am  a newbie so would always write out the long.handed conditional.

       

      var strAnimal:String = "animal";

      strAnimal = "animal" ? trace("animal"): trace("not an animal");