A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: delaying a function or the execution of a script

Hybrid View

  1. #1
    registered misuser
    Join Date
    Feb 2004
    Location
    Io, Vicinity of Jupiter
    Posts
    157

    delaying a function or the execution of a script

    Hi,

    Is it possible to delay the execution of a function in actioncscript?

    For example, I have an "on (release) gotoandStop" function placed on a button. I want to delay the execution of the command so that there is a few second delay between the release and the action...

    thanks

    p.

  2. #2
    Junior Member
    Join Date
    May 2005
    Location
    china
    Posts
    4
    use setInterval
    sorry for my English

    http://harry.geckos.cn

  3. #3
    Monkey Moderator Lexicon's Avatar
    Join Date
    Jul 2001
    Location
    UK
    Posts
    2,038
    This link might contain some relevant information...

    http://www.flashkit.com/board/showth...ighlight=pause
    www.lexicon-design.co.uk
    If we aren't supposed to eat animals, then why are they made of meat?
    If Vegetarians like animals so much, why do they eat all their food?

  4. #4
    registered misuser
    Join Date
    Feb 2004
    Location
    Io, Vicinity of Jupiter
    Posts
    157
    thanks, will look into it

    p.

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