Reply to thread

Hi.

I want to pass a moving pictures launch parameter from a define value. Something like

"<define>#menu3.but3linkpar:categoryid:40</define>"

where "#menu3.but3linkpar" is the name and "categoryid:40" is the value. This should be used in a menu like this:

[code]  <define property="true">#menu3.but3label:Konzert Filme</define>

  <define property="true">#menu3.but3link:96742</define>

  <define property="true">#menu3.but3linkpar:categoryid:40</define>

  <define property="true">#menu3.but3:yes</define>

 

...

 

      <control Style="BasicHomeSubButton">

        <description>Menu 3 button 3</description>

        <type>button</type>

        <id>233</id>

        <font>font11</font>

        <textureFocus>sub-button.png</textureFocus>

        <textureNoFocus>sub-button.png</textureNoFocus>      

        <label>#menu3.but3label</label>

        <width>230</width>

        <height>40</height>

        <hyperlink>#menu3.but3link</hyperlink>

        <hyperlinkParameter>#menu3.but3linkpar</hyperlinkParameter>    

        <onleft>220</onleft>

        <onright>240</onright>

        <onup>234</onup>

        <ondown>232</ondown>

        <visible>string.equals(#menu3.but3,yes)</visible>

      </control>

...

[/code]

 

The defines are used to control the whole menu, but as I can't get a : into a define value (will be cut off at : in example only categoryid will be passed to Moving Pictures, leading to an error)  I can not use it as needed.

 

Is there any way I can handle this???


Top Bottom