home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Assigning Actions to Toggle Buttons
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="TVKiwi" data-source="post: 17349" data-attributes="member: 12990"><p>Help</p><p></p><p>I am developing a touch screen skin and I have included some media functions in the music overlay so when music is playing there are visible buttons to skip forward, back, pause and stop (and by default disappear when music is not playing - very sneaky sneaky). Everything is working perfectly except....</p><p></p><p>The pause/play button is a toggle button but I cant seem to make it perform action 12 (pause). The button works proerly in that the textures behave correctly but I cannot assign an action to it. The code I have used is:</p><p></p><p><control></p><p> <description>touch pause button</description></p><p> <type>togglebutton</type></p><p> <id>18</id></p><p> <posX>350</posX></p><p> <posY>480</posY></p><p> <width>50</width> </p><p> <height>50</height> </p><p> <AltTextureFocus>pause_enabled.png</AltTextureFocus></p><p> <AltTextureNoFocus>pause_disabled.png</AltTextureNoFocu> <textureFocus>play_enabled.png</textureFocus> </p><p> <textureNoFocus>play_disabled.png</textureNoFocus> </p><p> <onleft>18</onleft> </p><p> <onright>18</onright> </p><p> <onup>18</onup> </p><p> <ondown>18</ondown> </p><p> <action>12</action></p><p></control></p><p></p><p>Could someone please point me in the right direction.</p><p></p><p>Cheers</p></blockquote><p></p>
[QUOTE="TVKiwi, post: 17349, member: 12990"] Help I am developing a touch screen skin and I have included some media functions in the music overlay so when music is playing there are visible buttons to skip forward, back, pause and stop (and by default disappear when music is not playing - very sneaky sneaky). Everything is working perfectly except.... The pause/play button is a toggle button but I cant seem to make it perform action 12 (pause). The button works proerly in that the textures behave correctly but I cannot assign an action to it. The code I have used is: <control> <description>touch pause button</description> <type>togglebutton</type> <id>18</id> <posX>350</posX> <posY>480</posY> <width>50</width> <height>50</height> <AltTextureFocus>pause_enabled.png</AltTextureFocus> <AltTextureNoFocus>pause_disabled.png</AltTextureNoFocu> <textureFocus>play_enabled.png</textureFocus> <textureNoFocus>play_disabled.png</textureNoFocus> <onleft>18</onleft> <onright>18</onright> <onup>18</onup> <ondown>18</ondown> <action>12</action> </control> Could someone please point me in the right direction. Cheers [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Assigning Actions to Toggle Buttons
Contact us
RSS
Top
Bottom