Flash Help...Please?

Out of context: Reply #8

  • Started
  • Last post
  • 13 Responses
  • noneck0

    I really never liked using onClipEvent(rollover, rollout) {}. I find that it's far too easy to break.

    Here's how I'd approach this:

    1. in your movieclip, add a stop action on the first frame.

    2. Also on the first frame put the graphic symbol and a blank button to cover the hit area.

    3. On the blank button, put the following script:

    on(rollOver, dragOver) {
    play();
    }

    This button should ONLY exist on frame 1.

    4. Tween the graphic from the first frame out to frame n.

    5. On frame n, place a stop action. You should probably add your "enter" button here too.

    6. Also on frame n, place four blank buttons AROUND the graphic. Place the following action on the buttons:

    on(rollOver, dragOver) {
    gotoAndStop(1);
    }

    Works lickitysplit.

View thread