- Messages
- 1,084
- Country

I have a flaps switch that just doesn't work and I can't see why. It shows up on the panel and my XML Validator says there are no errors in the code but the switch does not go up and down so the flaps don't go up or down either. I checked the A: code in the simulator variables list and it looks right. Can anyone help please? Here is the code. If you want switches let me know and I will zip the whole gauge folder.
Code:
<Gauge Name="Wing_Flaps" Version="1.0">
<Element>
<Select>
<Value>(G:Var1)</Value>
<Case Value="0">
<Image Name="switch_up.bmp"/>
</Case>
<Case Value="1">
<Image Name="switch_down.bmp"/>
</Case>
</Select>
</Element>
<Mouse>
<Tooltip>Flaps_Rocker (%((A:FLAPS HANDLE INDEX,number)%{case} %{:0}Up%{:1}Down%{end})"</Tooltip>
<Cursor Type="Hand"/>
<Click>(>L:Flaps, bool) ! (>L:Flaps, bool) </Click> <!-- operates flaps -->
</Mouse>
</Gauge>


