hi guys..just a small issue..i have a bag which collects veggies falling from top and increase the score..i randomize the sprite frames in the animation set to show different veggies falling in.
the problem is that during the fall..since the new veggie create code is executed, the set frame commands executes and changes the veggies which have already been created during its fall..i hope i am clear..<img src="smileys/smiley19.gif" border="0" align="middle" />
how can i stop this? i am using a function which checks if the veggies are from recipe one, then set frame to 0 and 1 and if veggies are from recipe 2 then set frame to 2,3. during the fall the veggie suddenly switches frames..if you are able to run the capx file, you will know exactly what i mean.
i have uploaded the capx file plus the screen shots incase you cannot open the capx file since i am using the tweenlite behavior.
dropbox.com/s/t4ngr14rfc9cj2f/bag.capx
dropbox.com/s/jp9arkep6pqyxr8/gameplay.png
dropbox.com/s/mxlmmauf2d8uarb/veg_sheet.png
thanks for your help in advance guys!
ameer.