Help Needed: Triggering PlayMedia on a Wraplist with Mouse/Touch Control
#1
So I have a wraplist (with ID 50), and in its "focused layout" I have a fake button so to initate a trailer when scrolling the wraplist:

<control type="button">
<posx>0</posx>
<posy>0</posy>
<width>0</width>
<height>0</height>
<texturefocus></texturefocus>
<texturenofocus></texturenofocus>
<visible>!Container(50).OnNext + !Container(50).OnPrevious</visible>
<animation delay="2000" effect="fade" start="0" end="100">Focus</animation>
<onfocus>PlayMedia($ESCINFO[ListItem.Property(gameplaymain)],1)</onfocus>
<onunfocus>PlayerControl(Stop)</onunfocus>
</control>

Now, this works perfectly fine when using a keyboard or a gamepad. But this skin is being made for Android in mind, and so I want this to also work when interacting with the wraplist via mouse/touch. But when I use touch to scroll the list, the onfocus event only fires while I'm actively interacting with the control. Once I remove my finger, the wraplist loses focus, and thus initiates its onunfocus.

Any suggestions or ideas to get trailers triggering on a wraplist with mouse/touch control?
Reply

Logout Mark Read Team Forum Stats Members Help
Help Needed: Triggering PlayMedia on a Wraplist with Mouse/Touch Control0