I am desperate, I am trying to write a simple application that loads
some photos in formed jpg, under you see my code.
I don't understand two things
1) I am photo from 40/50 kbs and do I find that in flex it employs a lot
to load her, while in a banal page jsps come almost immediately to load
thing I am being wrong?
2)Perch� some photos, are not loaded although do they exist in the path
and the thing + strange it is that if it didn't find the photo
you/he/she should go out me the simbolino of flex of photo not gimmick
and instead nothing stays everything white, and the worse thing is that
the same result does me him him making a will in an intranet?
I pray you I don't understand what we have my photos yet those that are
not opened, other programs of graphics open her without problems
Thanks
Devis
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml"
horizontalAlign="center"
verticalGap="0" borderStyle="none">
<mx:Script>
var product: Object;
function setValue(str: String, item: Object) {
if (item==undefined) {
visible = false;
return;
} else {
product=item;
visible=true;
}
}
</mx:Script>
<mx:Image id="image" width="60" height="60"
source="images/{product.de20mo}.jpg"/>
<mx:Label text="{product.de20mo}" width="120" textAlign="center"/>
<mx:Label text="{product.de30mo}" fontWeight="bold"/>
</mx:VBox>