Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.
If (A:SIM ON GROUND,bool) doesn't work you could try
Code:(A:GEAR ANIMATION POSITION:0,percent) Nose (A:GEAR ANIMATION POSITION:1,percent) Left (A:GEAR ANIMATION POSITION:2,percent) Right
0 = gear up
50 = gear down
51 ... 100 = on ground (compression)
Thanks! Finally this video:If (A:SIM ON GROUND,bool) doesn't work you could try
Code:(A:GEAR ANIMATION POSITION:0,percent) Nose (A:GEAR ANIMATION POSITION:1,percent) Left (A:GEAR ANIMATION POSITION:2,percent) Right
0 = gear up
50 = gear down
51 ... 100 = on ground (compression)




<!-- BEGIN: AIR CONDITIONER SYSTEM -->
<!-- Air Conditioner Blow/Running Switch -->
<Element>
<Position X="164" Y="38"/>
<Select>
<Value>(L:407_ACond_Switch,number)</Value>
<Case Value="1">
<Image Name="407_switch_coll_UP.bmp" Luminous="Yes"/> <!-- Switch in facing "up", Air Blow ON-->
</Case>
<Case Value="0">
<Image Name="407_switch_coll_MD.bmp" Luminous="Yes"/> <!-- Air Blow and Air Conditioner OFF -->
</Case>
<Case Value="-1">
<Image Name="407_switch_coll_DN.bmp" Luminous="Yes"/> <!-- Switch in facing "down", Air Conditioner ON -->
</Case>
</Select>
</Element>
<!-- Air Conditioner Speed Switch FWD (Cockpit)-->
<Element>
<Position X="207" Y="38"/>
<Select>
<Value>(L:407_ACond_Speed_Control,Bool)</Value>
<Case Value="0">
<Image Name="407_switch_coll_UP.bmp" Luminous="Yes"/> <!-- Switch in facing "up", Cockpit Air Speed LOW -->
</Case>
<Case Value="1">
<Image Name="407_switch_coll_DN.bmp" Luminous="Yes"/> <!-- Switch in facing "down", Cockpit Air Speed HIGH -->
</Case>
</Select>
</Element>
<!-- Air Conditioner Speed Switch AFT (Cabin):
For the moment, it shares the same mouse area than the Air Conditioner Speed Switch for the Cockpit
-->
<Element>
<Position X="251" Y="38"/>
<Select>
<Value>(L:407_ACond_Speed_Control,Bool)</Value>
<Case Value="0">
<Image Name="407_switch_coll_UP.bmp" Luminous="Yes"/> <!-- Switch in facing "up", Cabin Air Speed LOW -->
</Case>
<Case Value="1">
<Image Name="407_switch_coll_DN.bmp" Luminous="Yes"/> <!-- Switch in facing "down", Cabin Air Speed HIGH -->
</Case>
</Select>
</Element>
<!--END: AIR CONDITIONER SYSTEM -->
<!-- M O U S E E V E N T L O G I C -->
<!-- BEGIN: Air Conditioner Blow/Running Switch -->
<!-- Power States
Switch facing "up",
Function: Air Blow ON
(L:407_ACond_Switch,number) 1 ==
Switch in "middle position",
Function: Air Blow and Air Conditioner OFF
(L:407_ACond_Switch,number) 0 ==
Switch facing "down",
Function: Air Conditioner ON
(L:407_ACond_Switch,number) -1 ==
-->
<Area Left="164" Top="24" Width="25" Height="25">
<Cursor Type="UpArrow"/>
<Click Kind="LeftSingle" Repeat="No" MouseWheelFlip="No">
(M:Event) 'LeftSingle' scmp 0 ==
if{
(L:407_ACond_Switch,number) ++ 1 min (>L:407_ACond_Switch,number)
<!-- Click Sound Effect -->
1 (>L:Bell_407_Click, number)
}
<!-- Switch facing "up", Air Blow ON-->
(L:407_ACond_Switch,number) 1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control, bool) !
if{
2 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Air Blow ON, Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
2 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
}
<!-- Switch in "middle position", Air Blow and Air Conditioner OFF -->
(L:407_ACond_Switch,number) 0 ==
if{
<!-- All Ambience sounds OFF -->
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Switch in facing "down", Air Conditioner ON -->
(L:407_ACond_Switch,number) -1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control,bool) !
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
2 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
2 (>L:Bell_407_AirCond_High, number)
}
}
</Click>
</Area>
<Area Left="164" Top="53" Width="25" Height="25">
<Cursor Type="DownArrow"/>
<Click Kind="LeftSingle" Repeat="No" MouseWheelFlip="No">
(M:Event) 'LeftSingle' scmp 0 ==
if{
(L:407_ACond_Switch,number) -- -1 max (>L:407_ACond_Switch,number)
<!-- Click Sound Effect -->
1 (>L:Bell_407_Click, number)
}
<!-- Switch facing "up", Air Blow ON-->
(L:407_ACond_Switch,number) 1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control, bool) !
if{
2 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Air Blow ON, Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
2 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
}
<!-- Switch in "middle position", Air Blow and Air Conditioner OFF -->
(L:407_ACond_Switch,number) 0 ==
if{
<!-- All Ambience sounds OFF -->
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Switch in facing "down", Air Conditioner ON -->
(L:407_ACond_Switch,number) -1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control,bool) !
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
2 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
2 (>L:Bell_407_AirCond_High, number)
}
}
</Click>
</Area>
<!-- END: Air Conditioner Blow/Running Switch -->
<!-- Air Conditioner Speed Switch-->
<Area Left="208" Top="38" Width="68" Height="25">
<Cursor Type="Hand"/>
<Click Repeat="No" MouseWheelFlip="No">
(L:407_ACond_Speed_Control,bool) ! (>L:407_ACond_Speed_Control,bool)
<!-- Click Sound Effect -->
1 (>L:Bell_407_Click, number)
<!-- Switch facing "up", Air Blow ON-->
(L:407_ACond_Switch,number) 1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control, bool) !
if{
2 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Air Blow ON, Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
2 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
}
<!-- Switch in facing "down", Air Conditioner ON -->
(L:407_ACond_Switch,number) -1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control,bool) !
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
2 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
2 (>L:Bell_407_AirCond_High, number)
}
}
</Click>
</Area>

Many thanks Sergio! Just thought it has something to do with <Animation> and other...
<!-- BEGIN: Air Conditioner Blow/Running Switch
Power States
Key 0:
Switch facing "up",
Function: Air Blow ON
(L:407_ACond_Switch,number) 1 ==
Key 25:
Switch in "middle position",
Function: Air Blow and Air Conditioner OFF
(L:407_ACond_Switch,number) 0 ==
Key 50:
Switch facing "down",
Function: Air Conditioner ON
(L:407_ACond_Switch,number) -1 ==
-->
<part>
<name>bell407_AirCond_switch</name>
<animation>
<parameter>
<code>
(L:407_ACond_Switch,number) s0 0 < 50 * l0 0 == 25 * +
</code>
<lag>300</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_text>Air Conditioner Switch UP (LMB)/DOWN (RMB)</tooltip_text>
<mouse_flags>LeftSingle+RightSingle</mouse_flags>
<callback_code>
(M:Event) 'LeftSingle' scmp 0 ==
if{
(L:407_ACond_Switch,number) ++ 1 min (>L:407_ACond_Switch,number)
<!-- Click Sound Effect -->
1 (>L:Bell_407_Click, number)
}
<!-- Switch facing "up", Air Blow ON-->
(L:407_ACond_Switch,number) 1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control, bool) !
if{
2 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Air Blow ON, Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
2 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
}
<!-- Switch in "middle position", Air Blow and Air Conditioner OFF -->
(L:407_ACond_Switch,number) 0 ==
if{
<!-- All Ambience sounds OFF -->
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Switch in facing "down", Air Conditioner ON -->
(L:407_ACond_Switch,number) -1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control,bool) !
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
2 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
2 (>L:Bell_407_AirCond_High, number)
}
}
(M:Event) 'RightSingle' scmp 0 ==
if{
(L:407_ACond_Switch,number) -- -1 max (>L:407_ACond_Switch,number)
<!-- Click Sound Effect -->
1 (>L:Bell_407_Click, number)
}
<!-- Switch facing "up", Air Blow ON-->
(L:407_ACond_Switch,number) 1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control, bool) !
if{
2 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Air Blow ON, Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
2 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
}
<!-- Switch in "middle position", Air Blow and Air Conditioner OFF -->
(L:407_ACond_Switch,number) 0 ==
if{
<!-- All Ambience sounds OFF -->
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Switch in facing "down", Air Conditioner ON -->
(L:407_ACond_Switch,number) -1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control,bool) !
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
2 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
2 (>L:Bell_407_AirCond_High, number)
}
}
</callback_code>
</mouserect>
</part>
<!-- END: Air Conditioner Blow/Running Switch -->
<!-- Air Conditioner Speed Switch-->
<part>
<name>bell407_AirCond_Speed_switch</name>
<animation>
<parameter>
<code>
(L:407_ACond_Speed_Control,Bool) 50 *
</code>
<lag>300</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_text>Air Conditioner Speed Switch</tooltip_text>
<callback_code>
(L:407_ACond_Speed_Control,bool) ! (>L:407_ACond_Speed_Control,bool)
<!-- Click Sound Effect -->
1 (>L:Bell_407_Click, number)
<!-- Switch facing "up", Air Blow ON-->
(L:407_ACond_Switch,number) 1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control, bool) !
if{
2 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Air Blow ON, Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
2 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
}
<!-- Switch in facing "down", Air Conditioner ON -->
(L:407_ACond_Switch,number) -1 ==
if{
<!-- Speed set to LOW -->
(L:407_ACond_Speed_Control,bool) !
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
2 (>L:Bell_407_AirCond_Low, number)
0 (>L:Bell_407_AirCond_High, number)
}
<!-- Speed set to HIGH -->
(L:407_ACond_Speed_Control,bool)
if{
0 (>L:Bell_407_Blow_Low, number)
0 (>L:Bell_407_Blow_High, number)
0 (>L:Bell_407_AirCond_Low, number)
2 (>L:Bell_407_AirCond_High, number)
}
}
</callback_code>
</mouserect>
</part>

I dit it both black and with added alpha. Just like this:Why do you need an alpha, and cannot just make that area 0,0,0 black?

[Window**]
file=Image.bmp
size_mm=xx
position=x
visible=0
ident=xxxxx
gauge00=Image!Image, 0,0
<Image Name="Image.bmp" ImageSizes="X,Y" Bright="Yes" />
[Window**]
Background_color=0,0,0
size_mm=xx
position=x
visible=0
ident=xxxxx
gauge00=Image!Image, 0,0

<Gauge Name="Altimeter" Version="1.0">
<Size X="750" Y="750"/>
<Image Name="429_altimeter_front_card.bmp"/>
<!--
Bell 429 gauges Version 1.0
Credits:
Code based on original gauges by Thomas Röhl, Jordan Moore, Uwe Inger, Ken Mitchell and Manuel González;
thank you all for allowing me to use their free software to learn.
Nick Pike for his amazing tutorials.
New graphics and additional programming by Sergio Kauffman.
Copyright 2016 Bill Leaming, Tom Aguilo, Jordan Moore, George Arana, Thomas Röhl, Ken Mitchell, Uwe Inger, Manuel Gonzalez
and Sergio Kauffman, All Rights Reserved.
This software may not be copied, distributed modified, or otherwise included in any other works without permission from the Authors.
-->
<!-- ==========================A N A L O G A L T I M E T E R======================================= -->
<!-- ======================= Altitude Digital Readout ============================================== -->
<Element>
<Position X="208" Y="247"/>
<Text X="340" Y="100" Length="5" Fixed="Yes" Font="Arial" Color="#FFFFFF" Adjust="Center" VerticalAdjust="Center" Bright="Yes">
<String>%((A:Indicated Altitude, feet))%!05d!</String>
</Text>
</Element>
<!-- ======================= Altitude dashed window (first digit only); Below 10,000 feet ================= -->
<Element>
<Position X="202" Y="245"/>
<Visible>(A:Indicated Altitude, feet) 10000 <</Visible>
<Image Name="altitude_analog_dashed_window.bmp" Bright="Yes"/>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
</Failures>
</Element>
<!-- ======================= Kollsman Digital reading setting inHg==================================== -->
<Element>
<Position X="204" Y="516"/>
<Text X="143" Y="66" Length="5" Fixed="Yes" Font="Arial" Color="#FFFFFF" Adjust="Center" VerticalAdjust="Center" Bright="Yes">
<String>%((A:Kohlsman setting hg, inHg))%!2.2f!</String>
</Text>
</Element>
<!-- ======================= Kohlsman Digital reading setting mb /hPa==================================== -->
<Element>
<Position X="408" Y="516"/>
<Text X="163" Y="66" Length="5" Fixed="Yes" Font="Arial" Color="#FFFFFF" Adjust="Center" VerticalAdjust="Center" Bright="Yes">
<String>%((A:Kohlsman setting hg, inHg) 33.85 * near)%!4.0f!</String>
</Text>
</Element>
<!-- ======================= 100 ft Altitude Needle ===================================================== -->
<Element>
<Position X="375" Y="375"/>
<Image Name="429_altimeter_needle100.bmp">
<Axis X="375" Y="375" PointsTo="East"/>
</Image>
<Rotate>
<Value>(P:Units of measure, enum) 2 == if{ (A:Indicated Altitude, meters) } els{ (A:Indicated Altitude, feet) } 100 /</Value>
<Failures>
<GAUGE_ALTIMETER Action="Freeze"/>
<SYSTEM_PITOT_STATIC Action="Freeze"/>
<SYSTEM_ELECTRICAL_PANELS Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="374" Y="66"/>
<Item Value="5" X="374" Y="684"/>
</Nonlinearity>
</Rotate>
</Element>
<!--======================= Altimeter Highlight ============================= -->
<Element>
<Position X="0" Y="0"/>
<Image Name="429_altimeter_highlight_alpha.bmp" Alpha="Yes"/>
</Element>
</Gauge>
Hey Sergio! Looks like it's transparent even without it at least in FS9. Gotta test it in FSX & P3D.Alpha="Yes"

If I put PANEL_ID_TOGGLE to a 2 position switch the switch sound gets corrupted in the position where PANEL_ID_TOGGLE is. Any help would be most appreciated.