I’m completely new to Flash and Kirupa has been absolutely lovely help wise. And I’ve checked elsewhere and just can’t seem to find what I need to do. I’m pretty sure my code is wrong so if anyone could oblige I would be most pleased.
Some background info: I’m doing a combination type game where there are four symbols - circle, square, traingle and diamond. And there are 3 slots to put the shapes in, and depending what order you put them a different animal appears on the screen. So for instance Circle + Square + Triangle = Rabbit
I’m trying to do all this in if/else statements. And yes it must be in if/else statements.
CST_mc is the picture of the rabbit. It’s sitting on the stage and I’ve made it invisible. Circle (icirc1_mc) square (isqua1_mc) and triangle (itri3_mc) are on the side in that order.
I’ve rephrased what I want to do “if circle1, square2 and triangle3 are visible show bunny
else do nothing.” hopefully that makes better sense. I tried so many ways I’m just completely frustrated ;.;
CST_mc._alpha = 0;
if ((icirc1_mc == top) && (isqua2_mc == mid) && (itri3_mc == bottom)){
CST_mc._alpha = 100;
}
Any help is appreciated.