dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: KeyFrame Brake by sec. is it possible ?

  1. #1
    Member
    Join Date
    Jan 2004
    Location
    israel
    Posts
    90

    KeyFrame Brake by sec. is it possible ?

    hi
    can i brake or pause KeyFrame by sec. is it possible ?

    David K.

  2. #2
    Senior Member hum's Avatar
    Join Date
    Sep 2003
    Location
    CloudCuckooland
    Posts
    1,714
    Hi....
    put this on the frame you want to pause at....edit the parameters(where it says 3) to suit....this example is a three sec. pause
    code:
    stop();
    // function that restarts playing
    function myPlay() {
    clearInterval(myInterval);
    play();
    }
    // trigger the function after 3 seconds
    myInterval = setInterval(myPlay, 3*1000);


  3. #3
    Member
    Join Date
    Jan 2004
    Location
    israel
    Posts
    90
    Thank's
    it work's

    David K.

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