Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Play an alert sound

    I setup a page with a refresh every 30 seconds. Any new records are highlighted
    with a red colored back ground. But the users would still like the page to play
    a sound if there are any new records when the page refreshes - similar to what
    Outlook can do. Each record has a date/time stamp of when it was entered. And I
    have user session data of when then last interacted with the page (by pushing a
    button); this is how I know which ones are the new records. I have seen a few
    examples for playing a sound on MouseOver, but this is a user initiated event
    not a data driven event. I tried to adapt it, but it just didn't work out. Does
    anyone else have any experience with something like this? Thanks for your help,
    Scott

    emerys Guest

  2. Similar Questions and Discussions

    1. How do I add a sound alert and an additional av presenceto this app
      For the last 3 months I've been tearing my hair out trying to figure how I can add an alert chat sound so when somebody enters a room a sound goes...
    2. Buzzing Alert Sound?
      I don't even know where to post this question...on the Apple discussion board or here at Adobe. My wife uses Acrobat for proof reading. Recently (I...
    3. I can't get a sound to play
      Hello, this is my first post here, I have a problem, My website on Reptiles & Amphibians (http://www.reptilia-amphibia.net) is about to get a whole...
    4. Play sound from HD
      How to play audio files with action script from the HD of the client in Flash 6 MX? The path to the file is in a text field named: filename ...
    5. play sound
      hello, can someone tell me how to play a sound (that's in my library) in actionscript? So I want to play a sound when a button is clickt: on...
  3. #2

    Default Re: Play an alert sound

    Look at embedding a .wav file. We do this in one of our monitoring applications. I think it's doing it via <embed>.
    byron1021 Guest

  4. #3

    Default Re: Play an alert sound

    Byron, Thanks, I am already using an <embed>, and I tested by calling it
    from a MouseOver event in the table. So I can call it from a user type event,
    but how do I trigger the alert sound from a page or data event? Would PageLoad
    be a better place for this? Thanks again, Scott.

    emerys Guest

  5. #4

    Default Re: Play an alert sound

    How are you determining if it is a new record? Is there a date field? What you
    can do is loop through your record set and when you hit a new record then
    print out the embed tag with the wav file so it would be like this <CFOUTPUT
    query='blah'> #blah.record1# <CFIF blah.date is now()> <embed> </CFIF>
    </CFOUTPUT>

    MrDippy Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139