PDA

View Full Version : help with buttons


ram89
5th May 2007, 08:21
Hi Iam new to skinning and I have just made a background for my new skin

Now the problem is with buttons.I just created a simple "stop" button.Then defined the stop button to player elements.xml.Then I added it to a group .I included the group XML file in the player-normal XML file before the layout tag and then included the group inside the layout tag. but my button was not included.i even deleted studio.xnf file and checked but nothing happpened.

My contents of the "player-normal-buttongroup" file is

<groupdef id="player.normal.bgroup" w="200" h="100">
<button id="stop" action="STOP" image="player.normal.stopbutton" tooltip="stop" x="56" y="65" sysregion="1"/>
</groupdef>

My "player-normal.xml" file is

<include file="player-normal-buttongroup.xml"/>
<layout id="normal" w="1625" h="1410" droptarget="pldr">
<layer id="MainBase" image="player.normal.background" x="10" y="13" sysregion="1"/>
<group id="player.normal.bgroup" x="0" y="3"/>
</layout>

Any help will be highly appreciated
:confused: