Hi all,

I've a itemrender as follow which displays different images depending
on the data it's rendering.

<mx:HBox>
        <mx:Image id="image" click="showError()"
source="tradeentry/assets/{imageName}"
                toolTip="{errorMessage}"/>
        <mx:Label id="text"/>
</mx:HBox>

where imageName is a bindable variable computed for each item
displayed by this renderer.

The images are displayed properly when running it through eclipse/flex
builder because the image files are there.  But when I build the
project the project using flexant/mxmlc tag, I cannot find any tag
supported within <mxmlc> to include the asset files (the include-file
tag is supported in compc but not mxmlc).

What is the correct way of including the image files, to be loaded at
runtime, when building a flex application using flexant?

Thanks,

Regards,
Ban

Reply via email to