Hello, just trying to figure how to shape tween with actionscript.
hm… there’s no way to do an actual ‘shape tween’, but you can simulate that with the drawing API
No way to simuate a shape tween with AS, even with the drawing API I’m afraid.
pom
Thanks guys.
why Pom?
draw a curve, then the next frame, redraw the curve with new coords. Shouldn’t that be similar to a shape tween as long as the changes are small enough?
Of course, David, but that’s not a shape tween then. What I mean by shape tween is: I have a starting symbol S1, I have an ending symbol S2, and all I would have to do is shapeTween(S1,S2). Redrawing the whole thing all the time doesn’t count in this perspective, I’m sure youll agree
hmm… I don’t think you’re getting my meaning.
say you use drawCurve between two points, and you use a loop to change those two points, and the nature of the curve, each enterFrame.
I’m not saying it would be easy… but it seems to me like it can be done.
I did understand what you meant :), and you’re right, but I’m just saying that it’s not a shape tween, technically (because you don’t manipulaet symbols). It could look like a shape tween, at best
:)… ok fair enough. I have just been calling anything in which the computer generates frame by frame differences for me, tweening… but I guess you are correct that it is not.
Well, David, I’ve read in my first Flah book (and that was probably the only valuable info I found there, you know, the kind of teach yourself Flash in 5 lessons, really crappy stuff) that the term tween come from the cartoons world. Usually, the lead artists would only draw the characters in certain positions, without properly animating them, and then the other guys would do the in-between drawings, to go from one position to the other. Hence the TWEEN. Nice story, isn’t it?
pom