[flexcoders] Re: first tile of tilelist does not show up

2009-11-18 Thread mattgarland2000
The column width and rowHeight are set dynamically when the components looks at the config details (how big is the pic, how many rows/columns should it be broken up into.) Finn pointed me in the right direction--the dynamically generated images. I was storing all the images in the menu as an ar

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
Good call. The test image shows up. So it looks like the first image I dynamically create is either not available when assigned or incorrectly created. Looking into it... --- In flexcoders@yahoogroups.com, "jamesfin" wrote: > > Put this code in and see if an image appears in the first slot. If

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread jamesfin
Put this code in and see if an image appears in the first slot. If so, your image source logic is incorrect. test.png is a sample image... [Embed(source="test.png")] [Bindable] public static var testImage:Class; override protected function commitProperties():void{ supe

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread mattgarland2000
Thanks, that makes sense, but it does not work here, unfortunately. I think I might try to defining some states for the renderer and see if using states takes care of this if it is some weird timing/updating issue. --- In flexcoders@yahoogroups.com, "jamesfin" wrote: > > Move the setImage int

[flexcoders] Re: first tile of tilelist does not show up

2009-11-17 Thread jamesfin
Move the setImage into commitProperties and you should be good to go... override protected function commitProperties():void{ super.commitProperties(); setImage(); } --- In flexcoders@yahoogroups.com, "mattgarland2000" wrote: > > I have a componen