A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: pause in running of actionscript

  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    86

    pause in running of actionscript

    Hi there.

    Is there anyway to add a pause during the running of the actionscript? say a one second delay for example.

    Just that Id like to show how the actionscript works piece by piece instead of running all at once.

    Cheers
    LK

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    setInterval is the method to use for pausing
    (except - for(iterations) loops, they always complete, cannot be paused)

    prolly best to use - trace(this); trace(that); trace(everything);
    this way your output window will show the logic

  3. #3
    Member
    Join Date
    Nov 2006
    Posts
    86
    Quote Originally Posted by a_modified_dog
    setInterval is the method to use for pausing
    (except - for(iterations) loops, they always complete, cannot be paused)
    ah i see. Needed to use it for a loop you see. Seems to complete the loop so I was hoping to add a pause between each event.

    Cheers anyway

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