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
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
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
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
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
5 matches
Mail list logo