tilelist

TileList creationComplete problem in Adobe Flex 3.0

I have made a tile list is Adobe Flex as follows <mx:TileList height="130" width="636" rowCount="1" columnCount="8" columnWidth="150" direction="horizontal" allowMultipleSelection="false" enabled="true" borderStyle="solid" id="profilelist" verticalScrollPolicy="off" dataProvider="{xmlListColl}" itemRenderer="PageImageRend...

Custom tileList component row colors returning errors, when loaded into external swf. Error #2007

I have a TileList component that works well when i load it just by itself, however, when it is loaded into an external swf i get the error. TypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/addChildAt() at fl.controls::BaseButton/drawBackground() at CustomRowColorsLeftSide/drawBackground(...

TileList Components when loaded externally from separate SWFs do not have separate data

I have 2 SWFs, each containing a different tileList Component and an additional SWF that acts as the master swf for the other two. It seems as if, which ever tileList component i load first will always over write the properties of the second. I have tried including the tileList inside the master swf library, i also have tried using: var...

How to handle Unhandled #2044 errors from Flash tilelist when changing dataprovider?

Hi all - I have a tilelist component using a custom ImageCell based item renderer. I know that at times some of the images it is trying to retrieve will not be found and I am able to handle this via an IEOrror listener on the custom ImageCell loader. However, if I set the data provider, then it is changed before all images have comple...

PopUpButton with TileList and custom renderer

Hello, I have prepared a simple test case for a PopUpButton opening a TileList with black and red entries and it mostly works, but has 2 annoyances. I've searched a lot, tried several variants (added [Bindable] members in my renderer; added color member to the bids array; created my public override set data() method; ...) and has bee...

implementing UIComponent as TileListItemRenderer

Hi, I had some code I was working on in flex. I had 16 UIComponents added to a Grid Container. The grid wasnt really giving me what I wanted so insetead of using that I want to try and use a tilelist because its gots lots of really nice built in features. As far as my understanding goes, to add items to a tilelist you need to define a...

Setting the RowCount and ColumnCount in a Flex 3 TileList

Hi, I'm using the TileList in a Flex 3 website. I need to set the rowCount and columnCount to factors of the total number of items in my array. For example, let's say that there are 15 items in my array. Then, I'd like to set the rowCount to 3 and the columnCount to 5 (3x5=15). Or if I had 16 items in the array, then I'd like to set the...

How to Set the Visibility of an Item in a TileList to False

Hi, I've got a tileList in a Flex 3 website. I want to programmtically turn off the visibility of a tile. So for example: <mx:ArrayCollection id="myAC"> <mx:Array> <mx:Button id="first" label="1" /> <mx:Button label="2" /> <mx:Button label="3" /> <mx:Button label="4" /> </mx:Array> </mx:ArrayCollection> <mx:Til...

In a Flex TileList, How do I set the BackgroundAlphas of Each Tile Independently

Hi, Is it possible to set the alphas of the tiles in a TileList independently of one another? How can I make object 1 have an alpha of say 0.5, but object 3 have an alpha of 0.2? If I use the tileList's backgroundAlpha, then the alphas of all of the objects are set to one value. <mx:ArrayCollection id="myAC"> <mx:Array> <mx:Ob...

How do you make a TileList's itemrenderer size itself to the content of its data?

(Flex 3) I have a horizontally oriented TileList that is using an ArrayCollection as its data provider, and an ItemRenderer based on a simple mx:Text component. How can I force newly added tiles to size themselves (specifically width) dynamically, according to the width of the element being added? I've tried some invalidateDisplayLis...