Friday, 9 March 2007

Pebbles' facial expressions

I managed to get Pebbles' facial expression to change depending on whether he is happy or sad. I made him into a movie clip and added a different facial expression to each frame. Then in the main movie I added actionscript to each part where his mood changes:

mc_panda gotoAndPlay (10)

This is telling flash to play frame 10 of the panda movieclip, which incidently is his unhappy face.