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

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

    codeBeastAdobe Level 1


      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");