Reply
Regular Contributor
eshrinivasan
Posts: 50
Registered: ‎06-23-2011
0 Kudos

Differentiate thumbnail by changing imageinset value

I have a single playlist and I want to be able to differentiate the hightlighted thumbnail with a different imageinset value. The image inset value for all the thumbs would be "2" as per the below BEML. I want to be able to change the imageInset value  to "5" for a selected or hovered thumbnail using APIs or BEML. Is that possible? What would be the syntax?

 

 <HBox height="100" gutter="0" padding="0">
      <TileList id="videoList" width="724" selectOnClick="true" columnGutter="10" depth="0" y="10" rowHeight="98" numColumns="6" numRows="1" columnWidth="124" buttonOffsetY="-800">
        <ListItem id="listItem" vAlign="top">
          <ThumbnailButton id="thumbButton" alpha="1" data="{currentItem}" source="{currentItem.videoStillURL}" imageInset="2" y="-25"/>
          <TitleLabel height="30" width="114" type="title" size="9" text="{currentItem.displayName}" truncate="true" multiline="false" vAlign="bottom" y="65"/>
        </ListItem>
      </TileList>
    </HBox>