34 lines
794 B
XML
34 lines
794 B
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<component name="MovieItemMinimal" extends="Group">
|
||
|
<children>
|
||
|
<Label id="title"
|
||
|
horizAlign="center"
|
||
|
translation="[0,319]"
|
||
|
font="font:MediumSystemFont"
|
||
|
width="196"
|
||
|
height="65" />
|
||
|
</children>
|
||
|
<interface>
|
||
|
<field id="itemContent" type="node" onChange="itemContentChanged"/>
|
||
|
</interface>
|
||
|
|
||
|
<script type="text/brightscript">
|
||
|
<![CDATA[
|
||
|
sub Init()
|
||
|
m.title = m.top.findNode("title")
|
||
|
m.title.text = "Loading..."
|
||
|
end sub
|
||
|
|
||
|
function itemContentChanged() as void
|
||
|
' re-declare this because init doesnt re-run
|
||
|
' when we come back from elsewhere
|
||
|
m.title = m.top.findNode("title")
|
||
|
|
||
|
itemData = m.top.itemContent
|
||
|
m.title.text = itemData.title
|
||
|
end function
|
||
|
]]>
|
||
|
</script>
|
||
|
|
||
|
</component>
|