A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: script vs. tween

  1. #1
    Senior Mamba austriaman's Avatar
    Join Date
    Aug 2004
    Location
    Somewhere over the rainbow
    Posts
    472

    script vs. tween

    Hullo, thanks in advance for your help.

    I've often been wondering about the actual difference between scripted motion and motion tween. Does scripted motion feature any major advantages or is it just more complex?

    aut.

































    .

  2. #2
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    Scripted ones are smaller than Actual tweens, for as you know a tween is bigger than 100 bytes.
    And also scripted ones could be controlled more easily but then Actual Tweens could be more flexible and more archievable.
    At a glance Actual Tweens are more recommended for newbs and the other otherwise.

    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  3. #3
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    The day I found this was the last time I ever used a manual tween (except for when I need to sync to a sound)

    http://laco.wz.cz/tween/

    The same script is included with this tool which can make sequences as easy as working with an array.
    http://www.mosessupposes.com/Fuse/index.html

  4. #4
    will i ever get it?
    Join Date
    Feb 2004
    Posts
    707
    im gonna dig this out from the old past....does a motion tween need more kbs, vs a scripted tween??

  5. #5
    14yr old Member shavingcream's Avatar
    Join Date
    Jun 2007
    Location
    Santa Cruz CA
    Posts
    272
    on the subject of scripted tweens how do you do that i know how to move something anyway i just dont know how to make it stop, say, for 20 frames

  6. #6
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    Quote Originally Posted by mlecho
    im gonna dig this out from the old past....does a motion tween need more kbs, vs a scripted tween??
    You're asking about filesize vs playback. A motion (timeline) tween increases the filesize because each frame is pre-rendered into the .swf.

    A scripted tween utilizes the users system to run the calculations in real time. The file is smaller, but playback is dependent on the capabilities of the flash player + the users system.

    Both have their benefits.

    To answer your question, motion tween requires more.

  7. #7
    14yr old Member shavingcream's Avatar
    Join Date
    Jun 2007
    Location
    Santa Cruz CA
    Posts
    272
    ok thx i think ill stick to literal tweens it sounds simpler

  8. #8
    http://pat.theorigin.net cresquin's Avatar
    Join Date
    Jun 2003
    Location
    Los Angeles, CA
    Posts
    685
    the real benefit to scripted tweens is that they can be dynamic. You can have things tween based on variables taht can be different every time the tween script is run. Scripted tweens provide the possibility of having infinite variations on a tween with a very small file size.

  9. #9
    14yr old Member shavingcream's Avatar
    Join Date
    Jun 2007
    Location
    Santa Cruz CA
    Posts
    272
    hmm, that is pretty useful i guess both of them have their strenghts and weaknesses

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center