I have a component that displays thumbnails using an image tag 
inside of a repeater. What I would like to do is change the alpha of 
the thumbnail when it is clicked to show the full image. A list of 
image names is being used as the dataprovider for the repeater in 
the component. I can get the name of the image selected but am at a 
loss as to how to change the alpha.

Component to view thumbnails
<mx:HBox>
   <mx:Repeater id="thisRepeater" dataProvider="{imageList}" >
        <mx:Image verticalAlign="bottom" click="displayImage
(event.currentTarget.getRepeaterItem())" rollOut="destroyBigTip()" 
rollOver="createBigTip(event.currentTarget.getRepeaterItem())" 
id="currentImage"  source="{currentImageURL + genusName + '/' + 
speciesName + '/tn_' + thisRepeater.currentItem.ImageName}">
        </mx:Image>
   </mx:Repeater>
</mx:HBox>

In the application file
        <mx:Canvas id="viewCanvas" styleName="thumbCanvas" 
width="600" height="130" x="231.5"  y="11">
                <Components:thumbViewerHorizontal id = "thView" 
verticalScrollPolicy="off" horizontalScrollPolicy="auto" 
ourCustomImageEvent="selectFromThumbnail(event)" height="112" 
currentImageURL="{currentImageURL}" imageList="{imageList}" 
genusName="{genusName}" speciesName="{speciesName}" x="10" 
bottom="7" width="580"/>
        </mx:Canvas>

Reply via email to