I’m very new to Flash and I’m trying to make animated cards for my work’s noticeboard.
In my animation, I have a bee buzzing in a heart shape. I have no trouble with the bee following a motion guide layer. The problem is that I need the bee to leave a visible trail of the heart shape he has flown along, as he goes along it. I’ve been trying for hours to sort this out and got nowhere!!
It depends on how you organized your fla, but something like this shoul work:
// actions in the first frame
// I supposed that your bee is called "bee" and that there's a clip called "trail" in the library
this.onEnterFrame = function(){
i++;
var clip = this.attachMovie("trail","trail"+i,i);
clip._x = bee._x;
clip._y = bee._y;
}
Basically, you attach a clip where the bee is on every new frame.
If you make a copy of the bee and change his position so he is slightly behind the first bee. Change his alpha value so he looks slightly faded. Then add another bee with an even lower alpha. Play around with the distance between bees, amount of alpha decrease and number of bees and you should end up with the effect required