Bernice - visit
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

If you want to unsubscribe...

bernice guerrero wrote:
Stop email in me please

On Feb 17, 2009 12:27 PM, "Craig Bowman" <[email protected]> wrote:

1.      TileList uses the ImageCell cellrenderer so.
2.      Grab a copy of this from the component source and rename the file,
the class, and constructor function to something like TileCell.
3.      Remove the fl.controls.listClasses from the package name and place
it in your project source.
4.      Add   import flash.text.TextFormat;     to your import statements in
the TileCell.as file.
5.      Create a variable in the file. Ie. protected var
myTextFormat:TextFormat;
6.      In the constructor instantiate the new format ie. myTextFormat=new
TextFormat(); myTextFormat.font="Univers 55"; myTextFormat.color=0xff0000;
etcetera.
7.      Go to the listData setter function and at the beginning add
setStyle("textFormat", myTextFormat);
8.      Finally on your tileList change the cellRenderer ie.
myTileList.setStyle("cellRenderer", TileCell);
9.      Enjoy!



cheers,

Craig Bowman

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--

Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to