providence
08-24-2009, 07:26 PM
Anyone knows how to skin ptunes?
How do you make a next and previous button without playing the song? I would like to make them scroll through the list of songs available.
im using the following code for the next/prev button
<!-- prevtrack button --> <Control Type="Button" ID="16" Visible="CA"> <Value>ConditionFiveWayLeftPressed</Value> <Bounds><X>107</X><Y>266</Y><Width>53</Width><Height>54</Height></Bounds> <Appearance When="Clicked" Condition="!ConditionScanning">32</Appearance> <Appearance When="Clicked" Condition="ConditionScanning">32</Appearance> <Appearance When="Unclicked" Condition="true">33</Appearance> <Event Type="Held" msStart="500" msRepeat="250">ScanBackward</Event> <Event Type="Clicked" Condition="!ConditionScanning">PreviousTrack</Event> <Event Type="Clicked" Condition="ConditionScanning">DoneScanning</Event> </Control>
<!-- nexttrack button -->
<Control Type="Button" ID="17" Visible="CA">
<Bounds><X>160</X><Y>266</Y><Width>53</Width><Height>54</Height></Bounds> <Value>ConditionFiveWayRightPressed</Value> <Appearance When="Clicked" Condition="!ConditionScanning">34</Appearance> <Appearance When="Clicked" Condition="ConditionScanning">34</Appearance> <Appearance When="Unclicked" Condition="true">35</Appearance> <Event Type="Held" msStart="500" msRepeat="250">ScanForeward</Event> <Event Type="Clicked" Condition="!ConditionScanning">NextTrack</Event> <Event Type="Clicked" Condition="ConditionScanning">DoneScanning</Event> </Control>
How do you make a next and previous button without playing the song? I would like to make them scroll through the list of songs available.
im using the following code for the next/prev button
<!-- prevtrack button --> <Control Type="Button" ID="16" Visible="CA"> <Value>ConditionFiveWayLeftPressed</Value> <Bounds><X>107</X><Y>266</Y><Width>53</Width><Height>54</Height></Bounds> <Appearance When="Clicked" Condition="!ConditionScanning">32</Appearance> <Appearance When="Clicked" Condition="ConditionScanning">32</Appearance> <Appearance When="Unclicked" Condition="true">33</Appearance> <Event Type="Held" msStart="500" msRepeat="250">ScanBackward</Event> <Event Type="Clicked" Condition="!ConditionScanning">PreviousTrack</Event> <Event Type="Clicked" Condition="ConditionScanning">DoneScanning</Event> </Control>
<!-- nexttrack button -->
<Control Type="Button" ID="17" Visible="CA">
<Bounds><X>160</X><Y>266</Y><Width>53</Width><Height>54</Height></Bounds> <Value>ConditionFiveWayRightPressed</Value> <Appearance When="Clicked" Condition="!ConditionScanning">34</Appearance> <Appearance When="Clicked" Condition="ConditionScanning">34</Appearance> <Appearance When="Unclicked" Condition="true">35</Appearance> <Event Type="Held" msStart="500" msRepeat="250">ScanForeward</Event> <Event Type="Clicked" Condition="!ConditionScanning">NextTrack</Event> <Event Type="Clicked" Condition="ConditionScanning">DoneScanning</Event> </Control>