RE: [flexcoders] TileList / DataGrid View Swap

2009-01-19 Thread Tracy Spratt
If the mx:Canvas component you posted is to be an item renderer, then you have some work to do. Item renderers myst be data driven. You cannot use the initialize or creationComplete events for any row-level work, because renderer instances are re-cycled. Thus there is no useful meaning in the

Re: [flexcoders] TileList / DataGrid View Swap

2009-01-19 Thread Dan Vega
Thanks Tracy, I will dig around some more and see if I can find anything. As far as the images go, they can be anywhere on the server, if they are outside of the web root that approach will not work. Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Mon, Jan 19, 2009 at 12:38

Re: [flexcoders] TileList / DataGrid View Swap

2009-01-19 Thread Fotis Chatzinikos
Here is a simple Canvas based item render with a pic, some text and a remove button (in case you want to delete a file ;-) ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=160 height=75 borderStyle=solid borderThickness=1