tileList_itemClick privado de la función (evt: ListEvent): vacío {
img = nueva imagen ();
// img.width = 300;
// img.height = 300;
img.maintainAspectRatio = verdad;
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/” + No. (evt.itemRenderer.data.spic);
//Alert.show (img.source.toString ());
img.setStyle (“addedEffect”, image_addedEffect);
img.setStyle (“removedEffect”, image_removedEffect);
¡si (evt.itemRenderer.data.spic! = “no_photo80x80.gif”) {
PopUpManager.addPopUp (el img, éste, verdad);
}
|