I have a small task in Flash, that I'm having a little trouble with.
First of all, I have 2 layers. The first is a gradient with various colors, on top of that is the second layer, which is a shape tween(movie clip). For those of you using CS4, a classic tween. I'm using CS3 and Actionscript 2
I've allready done the shape tween, it's very simple, it turns into a shuriken and back to the circle.
The thing is, I need to program it so that this only happens when I move my mouse over the circle. And should I move my mouse away from the circle/shuriken, it should remain forever in the shape it had the moment I left the area. So if it's halfway from circle to shuriken and I remove my mouse from the area, it should remain in that halfway form, not jump back to being a circle.
Second, I need to be able to drag the shape, and while dragging it, the shape tween must behave like it would normally. Releasing it doesn't make it stop "tweening", only moving my mouse out if its area. The gradient background gives the nice effect of the colors constantly changing.
I've named the shape-tween "circle_mc".
What I can't implement:
1) The shape reacting to my mouseover
2) Making the shape dragable.
Can someone give me some hints, perhaps articles or examples on this?