2014-12-27, 15:27
HI,
I am hoping someone can help as this.
I have made a simple copy of an existing dialog but created a new window ID for it, and saved as /home/pi/.xbmc/addons/skin.amber/1080i/Dialog633.xml
However when I try to open the window with:
I recieve error:
I am hoping someone can help as this.
I have made a simple copy of an existing dialog but created a new window ID for it, and saved as /home/pi/.xbmc/addons/skin.amber/1080i/Dialog633.xml
PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<window id="6331" type="dialog">
<defaultcontrol always="true">10</defaultcontrol>
<include>OpenClose</include>
<controls>
<include>DimBG</include>
<control type="group">
<animation type="WindowOpen">
<effect type="fade" start="0" end="100" time="240" />
<effect type="zoom" tween="cubic" easing="out" start="30" end="100" center="960,660" time="240" />
</animation>
<animation type="WindowClose">
<effect type="fade" start="100" end="0" time="140" />
<effect type="zoom" tween="cubic" easing="in" start="100" end="30" center="960,660" time="140" />
</animation>
<posx>429</posx>
<posy>500</posy>
<control type="image" description="Dialog BG">
<posx>0</posx>
<posy>0</posy>
<width>1062</width>
<height>330</height>
<texture border="45">dialogs/TinyDialog.png</texture>
</control>
<control type="label" id="1" description="Heading">
<posx>51</posx>
<posy>40</posy>
<height>40</height>
<width>960</width>
<textcolor>Orange</textcolor>
<align>center</align>
</control>
<control type="textbox" id="9" description="Labels">
<posx>51</posx>
<posy>100</posy>
<width>960</width>
<height>96</height>
<align>center</align>
<font>ListDetails</font>
<autoscroll time="3000" delay="4000" repeat="5000">true</autoscroll>
</control>
<control type="button" id="10" description="OK">
<posx>381</posx>
<posy>230</posy>
<height>60</height>
<width>300</width>
<label>$LOCALIZE[186]</label>
<align>center</align>
<pulseonselect>true</pulseonselect>
</control>
</control>
</controls>
</window>
However when I try to open the window with:
PHP Code:
xbmc.executebuiltin('xbmc.ActivateWindow(6331)')
I recieve error:
PHP Code:
ERROR: Unable to locate window with id 6331. Check skin files