Gracias a todos, ya me quedó, lo que me faltaba era en realidad era agregar insertar los movieclips en la escena, ahorita estoy con el preload, pero aunque ya lo tengo mas o menos, no sé como hacer un cubo 3d y que se vaya llenando (de lo que sea), de color gris lo estoy poniendo.
Gracias pueden ver la prueba del slideshow en
Código :
www.formbarquitectura.com
Seguiré con ese Flash, gracias. El codigo que estoy usando es el siguiente
Código :
plano = Stage.height;
posIn = 1;
vel = -3;
tamImm = 159;
areaSel._x = 100;
mov = false;
pos_inicio = Stage.height-tamImm-200;
_root.mc_desc.sf_desc._width = pos_inicio;
images = function () {
nuevo = new XML();
nuevo.ignoreWhite = true;
nuevo.load("file.xml");
nuevo.onLoad = function(success) {
if (success) {
numFotos = this.childNodes.length;
posDes = numFotos;
for (i=0; i<numFotos; i++) {
_root.attachMovie("mc","mc"+(i+1),i+1);
_root["mc"+(i+1)]._y = tamImm*i;
_root["mc"+(i+1)]._x = pos_inicio;
_root["mc"+(i+1)].big = this.childNodes[i].attributes.photo_big;
_root["mc"+(i+1)].desc = this.childNodes[i].attributes.descrizione;
_root["mc"+(i+1)].contPrincipal.loadMovie(this.childNodes[i].attributes.photo);
_root["mc"+(i+1)]._alpha = 50;
_root.box.clip_mc.loadMovie(this.childNodes[0].attributes.photo_big);
_root.pre.loadMovie(this.childNodes[i].attributes.photo_big);
_root.image = this.childNodes[0].attributes.photo_big;
_root.mc_desc.descrizione.text = this.childNodes[0].attributes.descrizione;
_root["mc"+(i+1)].onRelease = released;
_root["mc"+(i+1)].onRollOver = rollover;
_root["mc"+(i+1)].onRollOut = rollout;
_root["mc"+(i+1)].onReleaseOutside = rollout;
}
mov = true;
} else {
_root.didascalia.text = "no se puede leer";
}
};
};
images();
_root.onMouseMove = function() {
x = _root._xmouse;
y = _root._ymouse;
if (x>pos_inicio) {
if (y>0 && y<60) {
vel = -(Math.round((y-(plano/2))/10));
}
if (y>260 && y<plano) {
vel = -(Math.round((y-(plano/2))/10));
}
} else {
if (vel>-1) {
vel = 3;
} else {
vel = -3;
}
}
};
function released() {
_root.image = this.big;
_root.box.play();
_root.box.clip_mc.loadMovie(_root.image);
_root.mc_desc.descrizione.text = this.desc;
function rollover() {
this._alpha = 100;
}
function rollout() {
this._alpha = 50;
}
_root.onEnterFrame = function() {
if (_currentframe >2){
for (i=1;i<=11;i++){
unloadMovie("_level0.mc"+i);
}
}
if (mov) {
for (i=1; i<=numFotos; i++) {
_root["mc"+i]._y += vel;
}
if (vel>0 && _root["mc"+posIn]._y>0) {
_root["mc"+posDes]._y = _root["mc"+posIn]._y-tamImm;
posIn = posDes;
posDes--;
if (posDes == 0) {
posDes = numFotos;
}
}
if (vel<0 && _root["mc"+posIn]._y<=-tamImm) {
_root["mc"+posIn]._y = _root["mc"+posDes]._y+tamImm;
posDes = posIn;
posIn++;
if (posIn>numFotos) {
posIn = 1;
}
}
}
};
Otra vez gracias