Hi,
I create a tilelist with custom itemrender (image with checkbox)
<s:BorderContainer
id="bcImage"
width="120"
height="99%"
borderVisible="true"
borderStyle="solid"
borderColor="#B3B3B3"
borderWeight="1"
cornerRadius="2"
backgroundAlpha=".8"
backgroundColor="#F8F8FF"
dropShadowVisible="true"
>
<mx:Canvas id="cvsImage" width="100%"
click="cvsImage_clickHandler(event)">
<s:HGroup width="100%" paddingBottom="0" paddingTop="5"
>
<s:CheckBox id="cbImgSelect"/>
<s:Label x="23" y="3" width="82" fontSize="11"
fontWeight="normal"
text="{data.imDate}"
textAlign="right"
color="#000000"/>
</s:HGroup>
<mx:Image id="iconCanvas" x="10" y="20" width="99" height="99"
horizontalAlign="center"
maintainAspectRatio="true" scaleContent="true"
verticalAlign="middle"
mouseDown="iconCanvas_mouseDownHandler(event)"
>
</mx:Image>
</mx:Canvas>
<s:BorderContainer width="100%" y="124" height="25" bottom="1"
left="3" right="3"
backgroundColor="#FFFFFF" id="bcTitre"
borderAlpha="0" >
<s:VGroup width="100%" y="124" height="25" bottom="0" left="0"
right="0"
paddingBottom="0" paddingTop="0" gap="0"
click="iconCanvasLabel_mouseUp(event)">
<s:Label text="{data.imType}" height="50%" fontSize="10"
paddingBottom="1" id="lType"
fontWeight="normal" width="99%" textAlign="center"
toolTip="{data.imType}"/>
<s:Label text="{data.imStade}" fontSize="10"
textAlign="center" paddingTop="1"
fontWeight="normal" width="99%" id="lStade"
toolTip="{data.imStade}"/>
</s:VGroup>
</s:BorderContainer>
</s:BorderContainer>
</mx:Canvas>
My TileList has allowMultipleSelection enable.
I'd to check CheckBox when item is selected by click or by selection
(continus or not) and if CheckBox.selected=true I'd like to show color
selection around selected item.
Could you help me to do that ?
Best regards
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/