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] "shyaway" <webforumsuser@macromedia.com> wrote in message
news:e316uk$oel$1@forums.macromedia.com...
> 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.
>
>