A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: how to add 2nd motion scripts on one text

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Posts
    14

    how to add 2nd motion scripts on one text

    Effect/motion script. i make a text and i add an effect zoom in, then what should i do to make the text zoom out.

    i pick zoom out, then it only show zoom out when i play the video, and it suppose to play zoom in then zoom out. what should i do

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Using common methods you can't.
    But it's not impossible (see the attached file).
    note: you have to tune up the delay variable according to your movie and motions speed.
    Last edited by necromanthus; 08-07-2008 at 06:53 AM.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    You can put the text inside a movie clip. Apply one motion script to the text and apply another motion script to the movie clip. Caution is warranted due to the fact that motion scripts can be cpu intensive and using multiple motion scripts could push your animation to the point of causing cpu's to hang. Check the cpu loading as you are developing.

  4. #4
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Originally posted by Bob Hartzell
    You can put the text inside a movie clip. Apply one motion script to the text and apply another motion script to the movie clip.
    This method doesn't work in case of "Zoom In/Zoom Out".
    The reason is simple enough: (+) and (-) = 0 (or closer)
    In other words, is the same motion but with different signs.
    The unique solution is the above attached file.
    Of course, the best solution is to create your own script,but ...

  5. #5
    Member
    Join Date
    May 2003
    Posts
    40

    easy way for multiple text effects on "same" text...

    you may place first motion script on your text. then - swap out your text with the identical text ( and your second motion script ) using a couple of frames with 0 tweens.

    this allows you to place multiple text effects on what seems to be the same text from the viewers perspective.

    ep.

  6. #6
    Junior Member
    Join Date
    Apr 2005
    Posts
    14
    thank necromanthus, are you create two different text but same word?
    what is S2

  7. #7
    Junior Member
    Join Date
    Apr 2005
    Posts
    14
    i get thank. Koolmove should make it easier heh

  8. #8
    Junior Member
    Join Date
    Apr 2005
    Posts
    14
    i did the same thing and this is what i got

  9. #9
    Junior Member
    Join Date
    Apr 2005
    Posts
    14
    this is what i got, how i fix it?
    Attached Files Attached Files

  10. #10
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Originally posted by TinhLong
    this is what i got, how i fix it?
    Without that ActionScript routine in the first keyframe it doesn't work !
    Be more careful next time !

  11. #11
    Junior Member
    Join Date
    Apr 2005
    Posts
    14
    how i do the routine thing, i am newbie. can u show me step by step

  12. #12
    Junior Member
    Join Date
    Apr 2005
    Posts
    14
    i try to add several effect, can explain me about the actionscript.

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