Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Triggering a sound file ?

Status
Not open for further replies.

Garry2009

Technical User
Sep 20, 2009
6
US
Hello all:

Would anyone possibly have a snippet of XML code I can use for triggering sound (.wav) files? It's for MS Flight Simulator: When I activate a certain button, I'd like that action to also start a specific .wav file playing. Here's an example of the code I'm using to "depress" one of the buttons.

Code:
<Area Left="0" Top="0" Width="60" Height="40">
      <Cursor Type="Hand"/>
      <Click>1 (>L:RadioButton,enum)</Click>
    </Area>

It shouldn't matter but...In Flight Sim, the (L:) means it's "local" to that aircraft...any gauge in that aircraft would see the variable (RadioButton). Conversely, a (G:) means that only that gauge would see the variable...(K:) means any aircraft would see it.

If If it will help, I can show you an exact example of what I'm looking for. Problem is, the example program is in a format that I can't open or work with (.gau)...I need to replicate the process in XML.

Thanks in advance for any help,
Garry

 
My apologies for the duplicate post. I got an error on submission saying it had failed, so I re-submitted it. Sorry...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top