I have a two-fold question - most of it has already been touched on, but I am trying to focus on ActionScript instead of straight animation in order to achieve the results we desire…
I am trying to animate a box, where it fills with liquid (blood, to be exact). Now I am sure that there is some ActionScript code that will allow me to randomize the two points on either side of the box to fill it up (basically, every time it fills up, it will be different), but I am not sure how to connect the “fill” or top line to these two points and also, how to maintain a curviness to that fill line. Plus, that fill line must act as mask for the fill color, no?
Secondly, and this one might be much easier - I am looking for random motion and elasticity to the red and white blood cells that will fill this box once the liquid, or blood has reached top level. I would like them to move freely, smoothly, and bounce off each other with fluid resiliency.
Any ideas on this?
Thanks in advance!