# Shape tweening with actionscript

**URL:** <https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516>\
**Category:** Uncategorized\
**Created:** [April 28, 2003, 9:06pm UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516 "2003-04-28T21:06:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Mike](https://forum.kirupa.com/u/Mike)\
**Post date:** [April 28, 2003, 9:06pm UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/1 "2003-04-28T21:06:39Z")

</div>

Hello, just trying to figure how to shape tween with actionscript.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 28, 2003, 9:33pm UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/2 "2003-04-28T21:33:07Z")

</div>

hm… there’s no way to do an actual ‘shape tween’, but you can simulate that with the drawing API 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 29, 2003, 4:44pm UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/3 "2003-04-29T16:44:13Z")

</div>

No way to simuate a shape tween with AS, even with the drawing API I’m afraid.

pom 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 5:13am UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/4 "2003-04-30T05:13:35Z")

</div>

Thanks guys.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 5:29am UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/5 "2003-04-30T05:29:45Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 9:05am UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/6 "2003-04-30T09:05:31Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 9:10am UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/7 "2003-04-30T09:10:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 9:55am UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/8 "2003-04-30T09:55:34Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 10:57am UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/9 "2003-04-30T10:57:32Z")

</div>

:)… 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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 30, 2003, 11:10am UTC](https://forum.kirupa.com/t/shape-tweening-with-actionscript/19516/10 "2003-04-30T11:10:33Z")

</div>

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 🙂
