Skin: XML Button with 2 or more functions (1 Viewer)

Homer J. S.

Portal Pro
December 31, 2007
75
2
Nürburgring - Germany
Home Country
Germany Germany
Hello Media Portal Community.

Sorry for my bad Englich :rolleyes:

My concern is with a button in XML 2 actions one by one run.


Thus, the original Basic Home button

<control>
<description>basichome button button</description>
<type>button</type>
<id>26</id>
<posX>144</posX>
<posY>3</posY>
<width>65</width>
<height>55</height>
<textureFocus>nav_refresh_focus.png</textureFocus>
<textureNoFocus>nav_refresh_nofocus.png</textureNoFocus>
<label>-</label>
<action>115</action>
<onleft>21</onleft>
<onright>22</onright>
<onup>26</onup>
<ondown>2</ondown>
</control>


I would have gladly... (here would be executed before a stop, then waited 10 ms and then called the Home Screen)

<control>
<description>basichome button button</description>
<type>button</type>
<id>26</id>
<posX>144</posX>
<posY>3</posY>
<width>65</width>
<height>55</height>
<textureFocus>nav_refresh_focus.png</textureFocus>
<textureNoFocus>nav_refresh_nofocus.png</textureNoFocus>
<label>-</label>
<action>13</action>
<wait>WAIT 10 MS</wait>
<action>115</action>

<onleft>21</onleft>
<onright>22</onright>
<onup>26</onup>
<ondown>2</ondown>
</control>

...but so does the code of course not.

How would it look right?
Could I have a program (*. exe) to run with the button?


I am grateful for your ever efforts.

Greeting
Homer J. S.
 

Users who are viewing this thread

Top Bottom