A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: How to reverse a motion script

Threaded View

  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    317

    How to reverse a motion script

    As an example, in Swishmax, I

    create text,
    add a motion effect,
    convert it to a sprite,
    name the sprite "test"
    open the sprite,
    put a "forward" label at the
    beginning of the timeline,
    put a "reverse" label at the
    end of the timeline,

    at the scene level I insert
    the following code:

    onClipEvent (enterFrame) {
    if (test.mode == "reverse") {
    test.prevFrame();
    } else {
    test.nextFrame();
    }
    }

    and the effect plays until the
    label "reverse" is encountered
    in the timeline at which point
    the effect plays in reverse back
    to the "forward" label in the
    timeline.

    I'd like to accomplish the exact
    same thing in KoolMoves.

    It may or may not require
    actionscript to accomplish
    the same thing in Kool Moves,
    but, I've yet to be able to figure
    it out.

    For example, adding text and
    applying the "Blinds" motion script.

    Anyone?
    Last edited by dinkledorf; 09-13-2006 at 11:20 PM. Reason: because

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