A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: action script for frame in layer

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    11

    action script for frame in layer

    is there any action script for a frame in layer which when at runtime will stay for some time and jumps on another frame [frame2] without having any action on it [frame1]

    means ........ layer1 ... frame1 ... frame2

    when by pressing ctrl+Enter .. frame1 should stay for a while and frame2 should open..

  2. #2
    :
    Join Date
    Dec 2002
    Posts
    3,518
    Code:
    stop();
    intID = setInterval(goNext, 2000);
    function goNext() {
    	clearInterval(intID);
    	nextFrame();
    }

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    11
    Quote Originally Posted by dawsonk View Post
    Code:
    stop();
    intID = setInterval(goNext, 2000);
    function goNext() {
    	clearInterval(intID);
    	nextFrame();
    }

    Thank you very much sir, i was wondring about this . you really solved it .. one more help needed .. the above script is for nextFrame ..what about the script for prevFrame. please help
    thanks in advance

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