Reply to thread

There are different combinations, so I would suggest, for example, using the titan skin:


In references.xml:

[CODE=XML]<define>#test_textcolor_ref:ff00ff00</define>

<define property="true">#test_textcolor_property_ref:ffff0000</define>

<define>#test_textstring_ref:This is text in define in references.xml</define>

<define property="true">#test_textstring_property_ref:This is text in define with property="true" in references.xml</define>[/CODE]



In any window skin xml file with textboxscrollup, let's say in myvideo.xml:

[CODE=XML]<define>#test_textcolor_xml:ff00ff00</define>

<define property="true">#test_textcolor_property_xml:ffff0000</define>

 

<define>#test_textstring_xml:This is text in define</define>

<define property="true">#test_textstring_property_xml:This is text in define with property="true"</define>

<define property="true" evaluateNow="true">#test_textstring_propertyEvaluated_xml:This is text in define with property="true" and evaluateNow="true"</define>

 

<define>#test_textplot_xml:Plot - #plot</define>

<define property="true">#test_textplot_property_xml:Plot with property="true" - #plot</define>

<define property="true" evaluateNow="true">#test_textplot_propertyEvaluated_xml:Plot with property="true" and evaluateNow="true" - #plot</define>[/CODE]



Then, it's time to use the definitions. In myvideo.views.default.xml look for the textboxscrollup control:

[CODE=XML]<control Style="textBox">

        <description>Summary (list)</description>

        <type>textboxscrollup</type>

        <id>1025</id>

        ...

</control>[/CODE]


and replaces <label>#plot</label> with every text definition to check the <label> tag. This is the result in 1.12, in My Videos with list view (you should see the plot of the movie):

[code]<label>#test_textstring_ref</label>  | does not work | show: nothing/blank

<label>#test_textstring_property_ref</label>  | does not work | show: nothing/blank

<label>#test_textstring_xml</label>  | does not work | show: #test_textstring_xml

<label>#test_textstring_property_xml</label>  | work |

<label>#test_textstring_propertyEvaluated_xml</label>  | work |

<label>#test_textplot_xml</label>  | does not work | show: #test_textplot_xml

<label>#test_textplot_property_xml</label>  | does not work | show: Plot with property="true" - #plot

<label>#test_textplot_propertyEvaluated_xml</label>  | does not work | show: Plot with property="true" and evaluateNow="true" - #plot

[/code]



Then, check others tags, like <textcolor>. In the same textboxscrollup control, restore <label> to the original value (<label>#plot</label>), add the <textcolor> tag and check every color definition. Again, this is the result in 1.12:

[code]<textcolor>#test_textcolor_ref</textcolor>   | work |

<textcolor>#test_textcolor_property_ref</textcolor>   | work |

<textcolor>#test_textcolor_xml</textcolor>   | does not work | show: nothing/blank

<textcolor>#test_textcolor_property_xml</textcolor>   | does not work | show: nothing/blank

[/code]


I can't test 1.13 :( because now I am only running 1.12.


I know that this is very complex, but maybe only (hopefully) the symptoms are complex because the multiple combinations, but the solution can be unique and easier :LOL:


Thanks


Top Bottom