Here's a method that should work on both User Tool and Mid-Tier.

On your form:

- create two hidden Character Fields (named _TEMPLATE and _HTML).
- create a hidden View Field.
- create buttons as needed to trigger your sounds.

Create an active link that sets the _TEMPLATE field when the form opens and 
set the
value of the field to: "<embed src=[SOUND] autostart=true hidden=true 
loop=false>".
Note: do not substitue [SOUND] with your file here - an active link 2) 
below does that

For each button, create an active link with three actions:

1) Set Fields: 
 View Field to $NULL$
  _HTML to $_TEMPLATE$
2) Set Fields:
 _HTML to REPLACE($_HTML$,  "[SOUND]",  "http://someurl/sound.wav";)
3) Set Fields:
 View Field to $_HTML$
 
Of course, you can hide the buttons and invoke them as needed with 
PERFORM-ACTION-ACTIVE-LINK commands.

Good luck,

Jim Bruce
TELUS Mobility
Application Architect
416-279-3455

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to