Debug.write("loadThumbnails"); for (i in gThumbnails.subviews) { gThumbnails.subviews[i].loadThumbnail(); } super.init(); this.lyout.update(); super.init(); this.lyout.update(); this.currentImageSelection = item; this.imgpreview.setSource(item.urlText); this.checkForMatch(); this.currentTitleSelection = item; gInfo.title.setText(item.title.text); this.checkForMatch(); this.currentImageSelection = null; this.currentTitleSelection = null; this.movingView = v; this.setX( v.getAttributeRelative('x',canvas) ); this.setY( v.getAttributeRelative('y',canvas) ); this.setWidth(v.width); this.setHeight(v.height); this.image.setSource(v.urlText); this.setVisible( true ); animSlide.doStart(); gDetails.showImage(floatview.movingView); floatview.setVisible(false); this.bg.setBGColor( c); this.matched = match; if (match) this.showMatch(); else this.showMismatch(); // hide nomatch icon and text this.nomatch.setVisible(false); this.capsule.txt_nomatch.setVisible( false ); // show match text this.capsule.match.setVisible( true ); //animate results this.showResultAnim.doStart(); // show nomatch icon and text this.nomatch.setVisible(true); this.capsule.txt_nomatch.setVisible( true ); // hide match text this.capsule.match.setVisible( false ); //animate results this.showResultAnim.doStart(); gResult.hideResult(); this.hideResultAnim.doStart(); if (this.matched) { this.nomatch.setVisible(false); gMoreInfo.title.setText(gDetails.currentTitleSelection.title.text); gMoreInfo.txt.setText(gDetails.currentTitleSelection.content); gMoreInfo.img.setSource(gDetails.currentImageSelection.urlText); gMoreInfo.show(); } if (!gResult.matched) { gResult.hideResultAnim.doStart(); } animIn.doStart(); animOut.doStart(); parent.tapToBegin.setVisible(false); this.setVisible(false); txtlayout.intro.doStart();