Ho un file costituito in questo modo

carico da un xml delle thumbs e al clik relative immagini con dimensioni gestite da xml.

Per capire meglio ecco il file

www.4ward.it/test/ridimensionabile/index.html
Allora

frame1
[code]
_global.a_th = 80;
_global.colunas = 1;
_global.linhas = 4;
var PhotoAlbum = {thumbs:[]};
photo_xml = new XML();
photo_xml.ignoreWhite = true;
[code]

Primo problema mettendo per es colonne2 visualizza solo due dei 4 thums mentre lasciando una sola colonna e aumentando le righe funge.

frame2
codice:
photo_xml.onLoad = function() {
	bjork_th.html = true;
	bjork_th.htmlText = "<p align=\"center\"></p>";
	Photos_Bjork(0);
};
_global.Photos_Bjork = function(carregar) { 
	var photos = photo_xml.firstChild.childNodes;
	var p_thumbs = photo_xml.firstChild.attributes.thumbs, p_photos = photo_xml.firstChild.attributes.bjorks;
	var i = carregar;
	for (var l = 0; l<linhas; l++) {
		for (var c = 0; c<colunas && i<photos.length; c++, i++) {
			var thumb = bjork_th.createEmptyMovieClip("thumb_"+i, i);
			PhotoAlbum.thumbs.push(t);
			thumb._y = l*a_th;
			thumb.createEmptyMovieClip("photos", 1);
			thumb.photos.loadMovie(p_thumbs+"/"+photos[i].attributes.thumb);
			thumb.dimensoes = photos[i].attributes;
			thumb.onRelease = function() {
				bjork_photo._parent.alvo.unloadMovie();
				bjork_photo.dimensoes = this.dimensoes;
				bjork_photo.onEnterFrame = function() {
					this._width += (this.dimensoes.largura-this._width)/3;
					this._height += (this.dimensoes.altura-this._height)/3;
					bjork_th._x = this._x+(this._width/2)+5;
					bjork_th._y = this._y-(this._height/2);
					if (Math.round(this._width) == Math.round(this.dimensoes.largura) && Math.round(this._height) == Math.round(this.dimensoes.altura)) {
						this._width = this.dimensoes.largura;
						this._height = this.dimensoes.altura;
						delete this.onEnterFrame;
						this._parent.createEmptyMovieClip("alvo", 1);
						this._parent.alvo._x = this._x-(this._width/2);
						this._parent.alvo._y = this._y-(this._height/2);
						this._parent.alvo.loadMovie(p_photos+"/"+this.dimensoes.bjork_bw);
					}
				};
			};
		}
	}
};
photo_xml.load("photos.xml");
bjork_photo.luminosita();
stop();
chiaramente sullo stage ho 2 mc con relativo nome istanza


clip per le thumbs "bjork_th"
clip per le foto "bjork_photo"

Apparte il problema del posizionamento delle thumbs che non riesco a gestire non capisco perchè, il problema sta nel fatto che nella transizione oltre a fare il ridimensionamento vorrei che la foto apparisse con transizione.

Allora ho questa prototype per effetto luminosità

codice:
MovieClip.prototype.luminosita = function(){
	this.c = new Color(bjork_photo)
	this.o = {rb:100,gb:100,bb:100}
	this.up = true
	this.onEnterFrame = function(){
		if(this.clip._alpha < 100){
			this.clip._alpha += 10
		}
		if(this.up == false){
			this.o.rb -= 10
			this.o.bb -= 10
			this.o.gb -= 10
		} else {
			if(this.o.rb < 255){
				this.o.rb *= 1.5
				this.o.bb *= 3
				this.o.gb *= 1.5
			} else {
				this.o = {rb:255,gb:255,bb:255}
				this.up = false;
			}
		}
		if(this.o.rb < 0){
			this.o = {rb:0,gb:0,bb:0}
			delete this.onEnterFrame;
		}
		this.c.setTransform(this.o)
	}
}
sul clip dove appaiono le foto
codice:
onClipEvent (enterFrame) {
this.luminosita();
}
In questo modo come potete vedere dall'esempiuo lo fa solo sulla prima transizione l'effetto e non sempre