Galería XML
- routhu
- Beginner


- Registrado: Feb 28, 2007
- Mensajes: 47
- Loc: India
- Status: Offline
Hola a todos,
Ya tengo miniatura galería falsh XML, su buen trabajo. Pero tengo que añadir un título pulgar abajo de cada imagen en miniatura. ¿Cómo puedo realizar esa tarea.
¿Puede alguien por favor ayuda.
Aquí está el código que estoy usando.
Ya tengo miniatura galería falsh XML, su buen trabajo. Pero tengo que añadir un título pulgar abajo de cada imagen en miniatura. ¿Cómo puedo realizar esa tarea.
¿Puede alguien por favor ayuda.
Aquí está el código que estoy usando.
Código: [ Select ]
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
thumbnails = [];
titname = [];
link = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
trace(titname[i]);
trace(link[i]);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 8;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-350)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=(hit_left._x+350)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(target_mc._width+10)*k;
target_mc.pictureValue = k;
trace(target_mc.pictureValue);
target_mc.onRelease = function() {
p = this.pictureValue;
nextImage();
tit_name.text = titname[p];
getURL(link[p], "_self");
trace(link[p]);
};
target_mc.onRollOver = function() {
this._alpha = 80;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}
if (loaded) {
xmlNode = this.firstChild;
thumbnails = [];
titname = [];
link = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
trace(titname[i]);
trace(link[i]);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 8;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-350)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=(hit_left._x+350)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(target_mc._width+10)*k;
target_mc.pictureValue = k;
trace(target_mc.pictureValue);
target_mc.onRelease = function() {
p = this.pictureValue;
nextImage();
tit_name.text = titname[p];
getURL(link[p], "_self");
trace(link[p]);
};
target_mc.onRollOver = function() {
this._alpha = 80;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}
- function loadXML(loaded) {
- if (loaded) {
- xmlNode = this.firstChild;
- thumbnails = [];
- titname = [];
- link = [];
- total = xmlNode.childNodes.length;
- for (i=0; i<total; i++) {
- thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
- titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
- link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
- thumbnails_fn(i);
- trace(titname[i]);
- trace(link[i]);
- }
- firstImage();
- } else {
- content = "file not loaded!";
- }
- }
- xmlData = new XML();
- xmlData.ignoreWhite = true;
- xmlData.onLoad = loadXML;
- xmlData.load("images.xml");
- /////////////////////////////////////
- listen = new Object();
- listen.onKeyDown = function() {
- if (Key.getCode() == Key.LEFT) {
- prevImage();
- } else if (Key.getCode() == Key.RIGHT) {
- nextImage();
- }
- };
- Key.addListener(listen);
- previous_btn.onRelease = function() {
- prevImage();
- };
- next_btn.onRelease = function() {
- nextImage();
- };
- /////////////////////////////////////
- p = 0;
- function thumbNailScroller() {
- // thumbnail code!
- this.createEmptyMovieClip("tscroller", 1000);
- scroll_speed = 8;
- tscroller.onEnterFrame = function() {
- if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
- if ((_root._xmouse>=(hit_right._x-350)) && (thumbnail_mc.hitTest(hit_right))) {
- thumbnail_mc._x -= scroll_speed;
- } else if ((_root._xmouse<=(hit_left._x+350)) && (thumbnail_mc.hitTest(hit_left))) {
- thumbnail_mc._x += scroll_speed;
- }
- } else {
- delete tscroller.onEnterFrame;
- }
- };
- }
- function thumbnails_fn(k) {
- thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
- tlistener = new Object();
- tlistener.onLoadInit = function(target_mc) {
- target_mc._x = hit_left._x+(target_mc._width+10)*k;
- target_mc.pictureValue = k;
- trace(target_mc.pictureValue);
- target_mc.onRelease = function() {
- p = this.pictureValue;
- nextImage();
- tit_name.text = titname[p];
- getURL(link[p], "_self");
- trace(link[p]);
- };
- target_mc.onRollOver = function() {
- this._alpha = 80;
- thumbNailScroller();
- };
- target_mc.onRollOut = function() {
- this._alpha = 100;
- };
- };
- image_mcl = new MovieClipLoader();
- image_mcl.addListener(tlistener);
- image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
- }
- Anonymous
- Bot


- Registrado: 25 Feb 2008
- Mensajes: ?
- Loc: Ozzuland
- Status: Online
Junio 15th, 2007, 5:27 am
- routhu
- Beginner


- Registrado: Feb 28, 2007
- Mensajes: 47
- Loc: India
- Status: Offline
- joebert
- Sledgehammer


- Registrado: Feb 10, 2004
- Mensajes: 13458
- Loc: Florida
- Status: Offline
Es un dolor para leer.
En lugar de asignar propiedades a MovieClips, se utiliza este fragmento pequeño.
Heres una rápida hack para demostrar de una manera el título se podría mostrar.
1) Busque la línea siguiente.
Después de esa linea agregar
2) Busque la línea siguiente.
Después de esa linea agregar
Eso debería agregar un cuadro blanco en segundo plano con el título en el XML en la parte inferior de las miniaturas, pero Im que sólo va por lo que veo en el código y que podría no funcionar en absoluto.
En lugar de asignar propiedades a MovieClips, se utiliza este fragmento pequeño.
Código: [ Select ]
thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
- thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
- titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
- link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
Heres una rápida hack para demostrar de una manera el título se podría mostrar.
1) Busque la línea siguiente.
Código: [ Select ]
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
Después de esa linea agregar
Código: [ Select ]
// Just stash it on the MovieClip untill the content is loaded, so we know where it's going
thumbnail_mc["t"+k].title = titname[k];
thumbnail_mc["t"+k].title = titname[k];
- // Just stash it on the MovieClip untill the content is loaded, so we know where it's going
- thumbnail_mc["t"+k].title = titname[k];
2) Busque la línea siguiente.
Código: [ Select ]
tlistener.onLoadInit = function(target_mc) {
Después de esa linea agregar
Código: [ Select ]
// Attach a text-field for the title
target_mc.createTextField("_title", target_mc.getNextHighestDepth(), 0, target_mc._height-20, target_mc._width, 20);
target_mc["_title"].background = true;
target_mc["_title"].text = target_mc.title;
target_mc.createTextField("_title", target_mc.getNextHighestDepth(), 0, target_mc._height-20, target_mc._width, 20);
target_mc["_title"].background = true;
target_mc["_title"].text = target_mc.title;
- // Attach a text-field for the title
- target_mc.createTextField("_title", target_mc.getNextHighestDepth(), 0, target_mc._height-20, target_mc._width, 20);
- target_mc["_title"].background = true;
- target_mc["_title"].text = target_mc.title;
Eso debería agregar un cuadro blanco en segundo plano con el título en el XML en la parte inferior de las miniaturas, pero Im que sólo va por lo que veo en el código y que podría no funcionar en absoluto.
Strong with this one, the sudo is.
- routhu
- Beginner


- Registrado: Feb 28, 2007
- Mensajes: 47
- Loc: India
- Status: Offline
Joebert ¡Hola!
¡Gracias por repley UR. Pero yo no soy capaz de obtener el texto en la parte inferior de la imagen.
Yo no soy capaz de resolver que uno de los dos últimos días.
please ¿Puedes echar un vistazo a mi código.
Me han puesto en práctica lo que dijo U, pero no es capaz de conseguir.....
¿Puede usted comprobar una vez. Aquí está el código.
Mi texto Nombre del campo es "desc_txt"
¡Gracias por repley UR. Pero yo no soy capaz de obtener el texto en la parte inferior de la imagen.
Yo no soy capaz de resolver que uno de los dos últimos días.
please ¿Puedes echar un vistazo a mi código.
Me han puesto en práctica lo que dijo U, pero no es capaz de conseguir.....
¿Puede usted comprobar una vez. Aquí está el código.
Mi texto Nombre del campo es "desc_txt"
Código: [ Select ]
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
thumbnails = [];
titname = [];
link = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
//trace(link[i]);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 8;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-350)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=(hit_left._x+350)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
thumbnail_mc["t"+k].title = titname[k];
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
// Attach a text-field for the title
target_mc.createTextField("desc_txt", target_mc.getNextHighestDepth(), 0, target_mc._height-20, target_mc._width, 20);
target_mc["desc_txt"].background = true;
target_mc["desc_txt"].text = titname[k];
trace(titname[k]);
target_mc._x = hit_left._x+(target_mc._width+10)*k;
target_mc.pictureValue = k;
//trace(target_mc.pictureValue);
title_mc.desc_txt.text = description[k];
//trace(description[p]);
target_mc.onRelease = function() {
p = this.pictureValue;
nextImage();
getURL(link[p], "_self");
};
target_mc.onRollOver = function() {
this._alpha = 80;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}
if (loaded) {
xmlNode = this.firstChild;
thumbnails = [];
titname = [];
link = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
//trace(link[i]);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
prevImage();
} else if (Key.getCode() == Key.RIGHT) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 8;
tscroller.onEnterFrame = function() {
if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
if ((_root._xmouse>=(hit_right._x-350)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._x -= scroll_speed;
} else if ((_root._xmouse<=(hit_left._x+350)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._x += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
thumbnail_mc["t"+k].title = titname[k];
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
// Attach a text-field for the title
target_mc.createTextField("desc_txt", target_mc.getNextHighestDepth(), 0, target_mc._height-20, target_mc._width, 20);
target_mc["desc_txt"].background = true;
target_mc["desc_txt"].text = titname[k];
trace(titname[k]);
target_mc._x = hit_left._x+(target_mc._width+10)*k;
target_mc.pictureValue = k;
//trace(target_mc.pictureValue);
title_mc.desc_txt.text = description[k];
//trace(description[p]);
target_mc.onRelease = function() {
p = this.pictureValue;
nextImage();
getURL(link[p], "_self");
};
target_mc.onRollOver = function() {
this._alpha = 80;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}
- function loadXML(loaded) {
- if (loaded) {
- xmlNode = this.firstChild;
- thumbnails = [];
- titname = [];
- link = [];
- total = xmlNode.childNodes.length;
- for (i=0; i<total; i++) {
- thumbnails[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
- titname[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
- link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
- thumbnails_fn(i);
- //trace(link[i]);
- }
- firstImage();
- } else {
- content = "file not loaded!";
- }
- }
- xmlData = new XML();
- xmlData.ignoreWhite = true;
- xmlData.onLoad = loadXML;
- xmlData.load("images.xml");
- /////////////////////////////////////
- listen = new Object();
- listen.onKeyDown = function() {
- if (Key.getCode() == Key.LEFT) {
- prevImage();
- } else if (Key.getCode() == Key.RIGHT) {
- nextImage();
- }
- };
- Key.addListener(listen);
- previous_btn.onRelease = function() {
- prevImage();
- };
- next_btn.onRelease = function() {
- nextImage();
- };
- /////////////////////////////////////
- p = 0;
- function thumbNailScroller() {
- // thumbnail code!
- this.createEmptyMovieClip("tscroller", 1000);
- scroll_speed = 8;
- tscroller.onEnterFrame = function() {
- if ((_root._ymouse>=thumbnail_mc._y) && (_root._ymouse<=thumbnail_mc._y+thumbnail_mc._height)) {
- if ((_root._xmouse>=(hit_right._x-350)) && (thumbnail_mc.hitTest(hit_right))) {
- thumbnail_mc._x -= scroll_speed;
- } else if ((_root._xmouse<=(hit_left._x+350)) && (thumbnail_mc.hitTest(hit_left))) {
- thumbnail_mc._x += scroll_speed;
- }
- } else {
- delete tscroller.onEnterFrame;
- }
- };
- }
- function thumbnails_fn(k) {
- thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
- thumbnail_mc["t"+k].title = titname[k];
- tlistener = new Object();
- tlistener.onLoadInit = function(target_mc) {
- // Attach a text-field for the title
- target_mc.createTextField("desc_txt", target_mc.getNextHighestDepth(), 0, target_mc._height-20, target_mc._width, 20);
- target_mc["desc_txt"].background = true;
- target_mc["desc_txt"].text = titname[k];
- trace(titname[k]);
- target_mc._x = hit_left._x+(target_mc._width+10)*k;
- target_mc.pictureValue = k;
- //trace(target_mc.pictureValue);
- title_mc.desc_txt.text = description[k];
- //trace(description[p]);
- target_mc.onRelease = function() {
- p = this.pictureValue;
- nextImage();
- getURL(link[p], "_self");
- };
- target_mc.onRollOver = function() {
- this._alpha = 80;
- thumbNailScroller();
- };
- target_mc.onRollOut = function() {
- this._alpha = 100;
- };
- };
- image_mcl = new MovieClipLoader();
- image_mcl.addListener(tlistener);
- image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
- }
- routhu
- Beginner


- Registrado: Feb 28, 2007
- Mensajes: 47
- Loc: India
- Status: Offline
Hola joebert,
En el siguiente código Soy texto recibiendo. Pero no el texto de la duplicación de que no se desplaza.
puede buscar a la vez.
Gracias
Krish
En el siguiente código Soy texto recibiendo. Pero no el texto de la duplicación de que no se desplaza.
puede buscar a la vez.
Gracias
Krish
Código: [ Select ]
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(target_mc._width+10)*k;
target_mc.pictureValue = k;
desc_txt.text = titname[p];
//trace(description[p]);
target_mc.onRelease = function() {
p = this.pictureValue;
nextImage();
getURL(link[p], "_self");
};
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._x = hit_left._x+(target_mc._width+10)*k;
target_mc.pictureValue = k;
desc_txt.text = titname[p];
//trace(description[p]);
target_mc.onRelease = function() {
p = this.pictureValue;
nextImage();
getURL(link[p], "_self");
};
- function thumbnails_fn(k) {
- thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
- tlistener = new Object();
- tlistener.onLoadInit = function(target_mc) {
- target_mc._x = hit_left._x+(target_mc._width+10)*k;
- target_mc.pictureValue = k;
- desc_txt.text = titname[p];
- //trace(description[p]);
- target_mc.onRelease = function() {
- p = this.pictureValue;
- nextImage();
- getURL(link[p], "_self");
- };
- joebert
- Sledgehammer


- Registrado: Feb 10, 2004
- Mensajes: 13458
- Loc: Florida
- Status: Offline
Quote:
Me han puesto en práctica cualquiera que sea u dijo, pero no puede conseguir.....
He olvidado movieclips que son "vaciados" cuando se carga el contenido, el título variable era probable que la papelera antes de que fuera utilizado.
Im a cabo de ideas, lo siento.
Strong with this one, the sudo is.
- IceCold
- Guru


- Registrado: Nov 05, 2004
- Mensajes: 1254
- Loc: Ro
- Status: Offline
joebert Lier...mejor dicho, usted se encuentra fuera de la paciencia 
Siempre cuando se trata de miniaturas que contengan tanto texto como imágenes,
hacer un soporte para el pulgar, añadir todas las propiedades a la misma.
A continuación, sólo createEmptyMovieClip de un clip de película de imagen en la que se carga la imagen.
es decir:
Siempre cuando se trata de miniaturas que contengan tanto texto como imágenes,
hacer un soporte para el pulgar, añadir todas las propiedades a la misma.
A continuación, sólo createEmptyMovieClip de un clip de película de imagen en la que se carga la imagen.
es decir:
Código: [ Select ]
this.createEmptyMovieClip("mcThumb0", 0);
mcThumb0.var1 = "something from xml";
mcThumb0.var2 = "something from xml";
mcThumb0.var3 = "something from xml";
// when loading a new image in the thumb
mcThumb0.createEmptyMovieClip("img", 0);
mcThumb0.img.loadMovie("some image");
mcThumb0.var1 = "something from xml";
mcThumb0.var2 = "something from xml";
mcThumb0.var3 = "something from xml";
// when loading a new image in the thumb
mcThumb0.createEmptyMovieClip("img", 0);
mcThumb0.img.loadMovie("some image");
- this.createEmptyMovieClip("mcThumb0", 0);
- mcThumb0.var1 = "something from xml";
- mcThumb0.var2 = "something from xml";
- mcThumb0.var3 = "something from xml";
- // when loading a new image in the thumb
- mcThumb0.createEmptyMovieClip("img", 0);
- mcThumb0.img.loadMovie("some image");
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
- routhu
- Beginner


- Registrado: Feb 28, 2007
- Mensajes: 47
- Loc: India
- Status: Offline
- IceCold
- Guru


- Registrado: Nov 05, 2004
- Mensajes: 1254
- Loc: Ro
- Status: Offline
¿Quieres imágenes y diagramas para explicar esto? Probablemente también una película, su mejor cuando su acción...que no es aburrido como imágenes estáticas.
Empieza un nuevo proyecto y sencillo utilizar mi ejemplo, entonces usted recibirá la idea.
Empieza un nuevo proyecto y sencillo utilizar mi ejemplo, entonces usted recibirá la idea.
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
Página 1 de 1
Para responder a este tema que necesita para ingresar o registrarse. Es gratis.
Publicar Información
- Total de mensajes en este tema: 9 mensajes
- Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 27 invitados
- No puede abrir nuevos temas en este Foro
- No puede responder a temas en este Foro
- No puede editar sus mensajes en este Foro
- No puede borrar sus mensajes en este Foro
- No puede enviar adjuntos en este Foro
