all groups > flash actionscript > april 2006 >
You're in the

flash actionscript

group:

tweening several objects



Re: tweening several objects .:}x-=V!P=-x{:.
4/28/2006 6:31:40 PM
flash actionscript: make each particle a graphic then for each particle put on its own layer. for
each particle right click the keyframe and select motion tween, then make a new
keyframe and position the particle graphic in the ending animation position

hope that quick explanation didnt confuse you more.
Re: tweening several objects shyaway
4/28/2006 7:46:53 PM
Originally posted by: Newsgroup User
the only way

tweening several objects aa
4/28/2006 9:18:06 PM
If I wanted to make a firework clip there a number of objects spead from one
point outside, I place all the object into one point in the first keyframe,
and spread them round the sceen in the final keyframe. How do I tween them?

Re: tweening several objects aa
4/28/2006 11:19:14 PM
Thanks, it doesnot confuse.
On the contrary, I now see that this is the only way to tell Flash with
which particle to do what. Otherwise Flash will get confused


[quoted text, click to view]

Re: tweening several objects aa
4/29/2006 8:25:14 PM
Is this one the most tedious or you can offer something less
labour-intensive?

[quoted text, click to view]

Re: tweening several objects shyaway
4/30/2006 2:21:08 AM
it depends on your needs and what you're most comfortable with.
for me, i go all out scripting unless neccessary otherwise.

see the Tween component in help if you are interested in tweening with scripts.
also, the _x and _y could also be used.
setInterval and setTimeout also good for moving stuff around time based.

Re: tweening several objects aa
4/30/2006 10:37:57 AM
I prefer to do everything through AS and not interested in Tweening per ce
or other WYSIWYG.
So when modelling, say, a bottle, expoloded by a bullet, i.e. a number of
debris of different size and shape to move apart, I place every debris into
a separate movieclip, then position every debris-clip into a main clip using
attachMovie(), set initial coordinates and then on which debris set
onEnterFrame to execute a function to change coordinates.

Then I can reuse this explosion clip in other flash games by importing it.
My concern was, to make a good effect, the number of debris needs to be
large, and executing a movement function onEnterFrame for every debris might
slow down the computer.
I thought that through tweening it will be less of a burden. However in
another thread I read, that whether Tweening or AS, behind the screen FLASH
does the same job every frame calculating coordinates of every debris.
If this is the case, then AS is preferrable for me.


[quoted text, click to view]

AddThis Social Bookmark Button