Results 1 to 4 of 4

Thread: How to write code for pause or stop method in HTML

  1. #1
    Join Date
    Apr 2009
    Posts
    51

    How to write code for pause or stop method in HTML

    How to write code for pause or stop method in HTML, i want it to stay for 3 seconds than fade out. or is there only way to add a few still frame(key frames?) I found only wait method which is awkward because it uses absolute time instead of just like wait 2 seconds.

  2. #2
    Join Date
    Mar 2008
    Posts
    232

    Re: How to write code for pause or stop method in HTML

    Pauses the timeline on the HTML document.

    Syntax

    Code:
     BODY.pause()
    Return Value

    No return value.

    Remarks

    This method is deprecated. For similar functionality, refer to the pauseElement method available with the time2 behavior.

    Only the BODY element supports the pause method. When this method is invoked, the onpause event occurs.

    source: msdn.microsoft

  3. #3
    Join Date
    Dec 2008
    Posts
    128

    Re: How to write code for pause or stop method in HTML

    You may use the universal method for pause function sleep undef, undef, undef, 0.01; # sleeps for 0.01 of a second

    OR

    use Time::HiRes "usleep";
    usleep 1; # sleep for one microsecond (1/1000000 of a second)

  4. #4
    Join Date
    Feb 2009
    Posts
    117

    Re: How to write code for pause or stop method in HTML

    You would be able to obtain a license from Microsoft to implement and use the technology described in this contribution for the purposes of supporting, The best way to do this is to let the flash element load the html inside. Besides that it wasn't recommendations i wanted to display but link back and info about the clip instead i'm not sure this method can be used to do that kind of overlayed info.

Similar Threads

  1. How to Stop, reduce, or pause downloads while browsing
    By kAKoLI in forum Technology & Internet
    Replies: 4
    Last Post: 05-12-2011, 08:15 AM
  2. How to pause or stop the Adobe Edge animation
    By Eta!! in forum Windows Software
    Replies: 2
    Last Post: 14-09-2011, 04:37 AM
  3. Write Code To Execute Before Main Method
    By rashmi_ay in forum Software Development
    Replies: 5
    Last Post: 20-01-2010, 12:45 PM
  4. How to write html code for list with bullet points
    By VinFanatic in forum Software Development
    Replies: 3
    Last Post: 31-07-2009, 03:43 PM
  5. How to write pause, sleep, wait function
    By VinFanatic in forum Software Development
    Replies: 3
    Last Post: 07-07-2009, 03:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,522,031.69102 seconds with 17 queries