Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/11/2012, 21:58
vestrago
 
Fecha de Ingreso: noviembre-2012
Ubicación: Buenos Aires
Mensajes: 3
Antigüedad: 11 años, 5 meses
Puntos: 0
Pregunta No me funcionan los enlaces en XML

Buenas Tardes, no me funcionan los enlaces en el archivo XML, lo que quiero es ponerle un enlance al texto para que habra otra página.
Esta es la web donde estoy trabajando:
http://www.estrago.com.ar/macrosystem/novedades/fotos/novedades.html

Muchas Gracias.
Verónica

Archivo XML:

<?xml version="1.0" encoding="utf-8"?>

<menu>
<holder>
<smallImage>img/0-mini.jpg</smallImage>
<largeImage>img/0.jpg </largeImage>
<desc>Festejamos el Día del niño 2012 en el cede 2 Caseros</desc>
<url></url>http://www.templatemo.com/preview/templatemo_299_power</url>
<target>_self</target>
</holder>
</menu>


Archivo Flash:

function smallImageClick()
{
if (bClickable && sLrgImage != this.largeImage)
{
loadLargeImage(this);
sLrgImage = this.largeImage;
}
else
{
trace ("already showing image: " + sLrgImage);
} // end else if
} // End of the function
function arrowCheck()
{
trace ("nTotalImages: " + nTotalImages);
if (nTotalSmallbtns == nTotalImages)
{
smallImgScroller.upArrow._alpha = 30;
}
else
{
smallImgScroller.upArrow._alpha = 100;
} // end else if
if (nTotalSmallbtns == 5)
{
smallImgScroller.downArrow._alpha = 30;
}
else
{
smallImgScroller.downArrow._alpha = 100;
} // end else if
if (nTotalImages <= 5)
{
trace ("SEE THIS");
smallImgScroller.upArrow._alpha = 0;
smallImgScroller.downArrow._alpha = 0;
smallImgScroller.btnDown._visible = false;
smallImgScroller.btnUp._visible = false;
} // end if
} // End of the function
function loadLargeImage(myImage)
{
largeImage = myImage.largeImage;
largeImageHolder.description_txt.text = myImage.description;
largeImageHolder.description_txt.autoSiz… = true;
var _loc3 = largeImageHolder.heightGuide._height / 2 + largeImageHolder.heightGuide._y;
largeImageHolder.description_txt._y = _loc3 - largeImageHolder.description_txt._height / 2;
var _loc2 = nLgImgCounter - 1;
removeMovieClip (largeImageHolder["lgHolder" + _loc2]);
largeImageHolder.createEmptyMovieClip("l… + nLgImgCounter, nLgImgCounter);
var _loc1 = largeImageHolder["lgHolder" + nLgImgCounter];
image_mcl2.loadClip(largeImage, _loc1);
image_mcl2.onLoadComplete = function (target_mc)
{
trace ("LOADED LARGE IMAGE: " + target_mc);
var _loc2 = new mx.transitions.Tween(target_mc, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 2, true);
};
++nLgImgCounter;
} // End of the function
stop ();
var smallImgWidth = 0;
var nTotalSmallbtns = nTotalImages;
var sLrgImage = "";
var i = 0;
while (i < nTotalImages)
{
smallImgScroller.smallImageHolder.attach… "smallImgHolder" + nCounter, nCounter);
var imageButton = smallImgScroller.smallImageHolder["small… + nCounter];
imageButton.alt_txt.text = astrSmallImages[i];
imageButton.picNumber_txt.text = nCounter + 1;
imageButton.onRelease = smallImageClick;
imageButton.description = astrDesc[i];
imageButton.largeImage = astrLargeImages[i];
image_mcl.loadClip(astrSmallImages[i], imageButton.imgHolder);
imageButton._x = Math.round(xpos);
if (nCounter == 0)
{
trace ("default: " + imageButton);
sLrgImage = imageButton.largeImage;
loadLargeImage(imageButton);
} // end if
smallImgWidth = imageButton._width;
xpos = xpos + smallImgWidth;
nCounter = nCounter + 1;
++i;
} // end while
mclListener.onLoadComplete = function (target_mc)
{
trace ("LOADED SMALL IMAGE: " + target_mc);
};
image_mcl.addListener(mclListener);
smallImgScroller.btnUp.onRelease = function ()
{
if (nTotalSmallbtns < nTotalImages)
{
smallImgScroller.smallImageHolder._x = smallImgScroller.smallImageHolder._x + smallImgWidth;
nTotalSmallbtns = nTotalSmallbtns + 1;
trace (nTotalSmallbtns);
arrowCheck();
} // end if
};
smallImgScroller.btnDown.onRelease = function ()
{
trace ("nTotalSmallbtns: " + nTotalSmallbtns);
if (nTotalSmallbtns <= nTotalImages && nTotalSmallbtns != 5)
{
smallImgScroller.smallImageHolder._x = smallImgScroller.smallImageHolder._x - smallImgWidth;
nTotalSmallbtns = nTotalSmallbtns - 1;
trace (nTotalSmallbtns);
arrowCheck();
} // end if
};
arrowCheck();
var nLgImgCounter = 0;