2011-04-08, 18:32
Hi, I'm trying to write my first dialog...
To do so I wrote the custom1.xml file into the folder skin.transparency/720p:
Then I modified the Includes_Home.xml one, changing the line 2062:
into this:
When I try it, nothing happens! Why? I don't understand...:confused2:
I copied what was in the wiki skinning tutorial...
To do so I wrote the custom1.xml file into the folder skin.transparency/720p:
Code:
<window id="4567" type="window">
<defaultcontrol always="false">2</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<backgroundcolor>0xff00ff00</backgroundcolor>
<views>50,51,509,510<views>
<visible>Window.IsActive(Home)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
<animation effect="slide" end="0,576" time="100">WindowClose</animation>
<zorder>1</zorder>
<coordinates>
<posx>40</posx>
<posy>50</posy>
<origin x="100" y="50">Window.IsActive(Home)</origin>
</coordinates>
<previouswindow>MyVideos</previouswindow>
<controls>
<control type="label" id="1">
<description>My First label</description>
<posx>80</posx>
<posy>60</posy>
<width>250</width>
<visible>true</visible>
<align>center</align>
<aligny>center</aligny>
<scroll>false</scroll>
<label>6</label>
<info>MusicPlayer.Artist</info>
<number></number>
<angle>30</angle>
<haspath>false</haspath>
<font>font14</font>
<textcolor>FFB2D4F5</textcolor>
<shadowcolor>ff000000</shadowcolor>
<wrapmultiline>false</wrapmultiline>
<scrollspeed>50</scrollspeed>
<scrollsuffix> - </scrollsuffix>
</control>
</controls>
</window>
Then I modified the Includes_Home.xml one, changing the line 2062:
Code:
<onclick>ActivateWindow(Pictures)</onclick>
into this:
Code:
<onclick>ActivateWindow(4567)</onclick>
When I try it, nothing happens! Why? I don't understand...:confused2:
I copied what was in the wiki skinning tutorial...