Try setting  variableRowHeight="true", on the TileList.

-TH

--- In flexcoders@yahoogroups.com, "Rodrigo Reyes C." <[EMAIL PROTECTED]>
wrote:
>
> Hi all. Does anyone knows why this itemRender resize event is not
working?
> The backgroundColor does work.
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"; width="100%"
height="50"
> mouseOver="over(event)" mouseOut="out(event)" horizontalAlign="center"
> verticalAlign="middle">
> <mx:states>
> <mx:State name="grow">
> <mx:SetProperty name="height" value="100"/>
> <mx:SetStyle name="backgroundColor" value="#FAFF64"/>
> </mx:State>
> </mx:states>
> <mx:Script>
> <![CDATA[
>
> public function over(event:Event):void{
> currentState = 'grow';
> }
>
> public function out(event:Event):void{
> currentState = '';
> }
>
> ]]>
> </mx:Script>
> <mx:Button label="Button"/>
> </mx:VBox>
>
> Here is the Main App MXML.
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="vertical"
> xmlns:ns1="*">
> <mx:Script>
> <![CDATA[
> import mx.collections.ArrayCollection;
> import mx.controls.Button;
>
> [Bindable]
> private var info:Array = [{label: "01"},{label: "02"},{label:
> "03"}];
>
> ]]>
> </mx:Script>
> <mx:TileList id="tl" itemRenderer="Test01" dataProvider="{info}"
> columnCount="1" width="100%"/>
> </mx:Application>
>


Reply via email to