privé functie tileList_itemClick (evt: ListEvent): leegte {
img = nieuw Beeld ();
// img.width = 300;
// img.height = 300;
img.maintainAspectRatio = waar;
img.addEventListener (Event.COMPLETE, image_complete);
img.addEventListener (ResizeEvent.RESIZE, image_resize);
img.addEventListener (MouseEvent.MOUSE_OUT, image_click);
img.addEventListener (MouseEvent.MOUSE_DOWN, image_start_drag);
img.addEventListener (MouseEvent.MOUSE_UP, image_stop_drag);
img.source = „http://localhost/funktion/templates/index/productimg/big/“ + nrs. (evt.itemRenderer.data.spic);
//Alert.show (img.source.toString ());
img.setStyle („addedEffect“, image_addedEffect);
img.setStyle („removedEffect“, image_removedEffect);
als (evt.itemRenderer.data.spic! = „no_photo80x80.gif“) {
PopUpManager.addPopUp (img, waar dit,);
}
|