Boa tarde pessoal, alguém poderia me ajudar? Por algum motivo a imagem .PNG chamada pelo mc "myImg" está sendo carregada com fundo branco. Teria como alguém checar o código abaixo e ver se possui alguma linha onde faça isso estar acontecendo? Obrigado. function loadXML(_arg3) {
if (_arg3) {
xmlNode = this.firstChild;
image = [];
thumb = [];
title_img = [];
_global.description = [];
_global.total = xmlNode.childNodes.length;
i = 0;
while (i < _global.total) {
delay_img = xmlNode.attributes.delay;
slideshow = xmlNode.attributes.slideshow;
if (slideshow == "on") {
footer_mc.rightSide.slideshow_mc.play_mc._visible = false;
footer_mc.rightSide.slideshow_mc.pause_mc._visible = true;
} else {
footer_mc.rightSide.slideshow_mc.pause_mc._visible = false;
footer_mc.rightSide.slideshow_mc.play_mc._visible = true;
}
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
thumb[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
title_img[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
_global.description[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;
BigImageHolder.description_mc.description_txt.htmlText = _global.description[0];
BigImageHolder.description_mc.description_txt.autoSize = true;
thumbHolder.holder.attachMovie("thumb", "thumb" + i, i + 999);
thumbHolder.holder["thumb" + i].id = i;
thumbHolder.holder["thumb" + i]._y = 0;
thumbHolder.holder["thumb" + i]._x = Math.round(5 + (i * 136));
thumbHolder.holder["thumb" + i].holder.loadMovie(thumb[i], 1);
thumbHolder.holder.thumb0["button"].enabled = false;
thumbHolder.holder.thumb0.grey_mc._alpha = 0;
thumbHolder.holder.thumb0.border_mc._alpha = 100;
thumbHolder.holder["thumb" + i].toolTip.title_txt.autoSize = true;
thumbHolder.holder["thumb" + i].toolTip.title_txt.text = title_img[i];
thumbHolder.holder["thumb" + i].toolTip.bkg_mc._width = thumbHolder.holder["thumb" + i].toolTip.title_txt.textWidth + 20;
thumbHolder.holder["thumb" + i].toolTip._alpha = 0;
thumbHolder.holder["thumb" + i]["button"].onRollOver = function () {
ID = this._parent.id;
this._parent.swapDepths(thumbHolder.holder.getNextHighestDepth());
thumbHolder.holder["thumb" + ID].grey_mc._alpha = 0;
thumbHolder.holder["thumb" + ID].border_mc._alpha = 100;
thumbHolder.holder["thumb" + ID].toolTip.onEnterFrame = function () {
this._parent.toolTip._x = this._parent._xmouse;
this._parent.toolTip._y = this._parent._ymouse - 20;
thumbHolder.holder["thumb" + ID].toolTip._alpha = 100;
};
};
thumbHolder.holder["thumb" + i]["button"].onRollOut = function () {
ID = this._parent.id;
thumbHolder.holder["thumb" + ID].grey_mc._alpha = 60;
thumbHolder.holder["thumb" + ID].border_mc._alpha = 0;
thumbHolder.holder["thumb" + ID].toolTip._alpha = 0;
delete thumbHolder.holder["thumb" + ID].toolTip.onEnterFrame;
};
thumbHolder.holder["thumb" + i]["button"].onRelease = function () {
thumbHolder.holder["thumb" + ID].toolTip._alpha = 0;
delete thumbHolder.holder["thumb" + ID].toolTip.onEnterFrame;
BigImageHolder.left_arrow.gotoAndStop(1);
BigImageHolder.left_arrow["button"].enabled = true;
BigImageHolder.right_arrow.gotoAndStop(1);
BigImageHolder.right_arrow["button"].enabled = true;
if (this._parent.id == 0) {
BigImageHolder.left_arrow.gotoAndStop(3);
BigImageHolder.left_arrow["button"].enabled = false;
}
if (this._parent.id == (_global.total - 1)) {
BigImageHolder.right_arrow.gotoAndStop(3);
BigImageHolder.right_arrow["button"].enabled = false;
}
ID = this._parent.id;
p = ID;
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[ID], BigImageHolder.myImg.holder);
BigImageHolder.description_mc.description_txt.htmlText = _global.description[ID];
BigImageHolder.description_mc.description_txt.autoSize = true;
BigImageHolder.num_mc.num_txt.text = ((((p + 1) + "/") + _global.total) + " Категория: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[ID];
preloader_mc.gotoAndPlay(2);
thumbHolder.holder["thumb" + ID]["button"].enabled = false;
thumbHolder.holder["thumb" + ID].grey_mc._alpha = 0;
thumbHolder.holder["thumb" + ID].border_mc._alpha = 100;
thumbHolder.holder["thumb" + lastThumb]["button"].enabled = true;
thumbHolder.holder["thumb" + lastThumb].grey_mc._alpha = 60;
thumbHolder.holder["thumb" + lastThumb].border_mc._alpha = 0;
lastThumb = ID;
};
BigImageHolder.num_mc.num_txt.text = (("1/" + _global.total) + " Категория: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[0];
thumbHolder.holder._x = Math.round((Stage.width / 2) - (thumbHolder.holder._width / 2));
i++;
}
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[0], BigImageHolder.myImg.holder);
preloader_mc.gotoAndPlay(2);
slidingThumbs();
} else {
}
}
function loadBitmapSmoothed(_arg7, _arg5) {
clearTimeout(delay);
MoveNavWidth.stop();
footer_mc.slideshowAnim._alpha = 0;
var _local6 = _arg5.createEmptyMovieClip("bmc", _arg5.getNextHighestDepth());
var _local2 = new Object();
_local2.tmc = _arg5;
_local2.onLoadInit = function (_arg2) {
_arg2._visible = false;
var _local3 = new flash.display.BitmapData(_arg2._width, _arg2._height, true);
this.tmc.attachBitmap(_local3, this.tmc.getNextHighestDepth(), "auto", true);
_local3.draw(_arg2);
picturePosition();
};
_local2.onLoadComplete = function () {
fadeInImage();
};
var _local4 = new MovieClipLoader();
_local4.addListener(_local2);
_local4.loadClip(_arg7, _local6);
}
function fadeInImage() {
BigImageHolder._visible = true;
MoveNav = new mx.transitions.Tween(BigImageHolder, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, 1, true);
if (slideshow == "on") {
delay = _global.setTimeout(nextImgDelay, delay_img * 1000);
footer_mc.slideshowAnim._alpha = 100;
MoveNavWidth = new mx.transitions.Tween(footer_mc.slideshowAnim, "_width", mx.transitions.easing.Regular.easeOut, 0, Stage.width, delay_img, true);
MoveNavWidth.onMotionFinished = function () {
footer_mc.slideshowAnim._alpha = 0;
};
}
}
function toStage() {
thumbHolder.thumbsText._x = Stage.width / 2;
thumbHolder.bkg_mc._width = Stage.width;
if (photos == 1) {
thumbHolder._y = Stage.height - 134;
} else {
thumbHolder._y = Stage.height - 30;
}
stage_x = Stage.width;
preloader_mc._x = Stage.width / 2;
preloader_mc._y = Stage.height / 2;
footer_mc._y = Stage.height - 30;
footer_mc.rightSide._x = Stage.width - 407;
footer_mc.bkg_mc._width = Stage.width;
BigImageHolder._y = Math.round((Stage.height / 2) - (BigImageHolder.myImg.holder._height / 2));
BigImageHolder._x = Math.round((Stage.width / 2) - (BigImageHolder.myImg.holder._width / 2));
}
function toggleFullScreen() {
if (Stage["displayState"] == "normal") {
Stage["displayState"] = "fullScreen";
} else {
Stage["displayState"] = "normal";
}
}
Stage.scaleMode = "noScale";
Stage.align = "TL";
var difX;
var newX;
var speed = 0.2;
var p = 0;
var lastCategory = 0;
var thisButt = 0;
var photos = 0;
var slideshow = "on";
var albums = 0;
var GL = 0;
var lastThumb = 0;
footer_mc.bkg_mc.useHandCursor = false;
footer_mc.slideshowAnim._alpha = 0;
footer_mc.gallery_off._visible = false;
var imgLoader = new MovieClipLoader();
var imgListener = new Object();
imgLoader.addListener(imgListener);
category = new XML();
category.ignoreWhite = true;
category.onLoad = function (_arg4) {
if (_arg4) {
xmlNode = this.firstChild;
Title = [];
_global.link = [];
total = xmlNode.childNodes.length;
var _local3 = 0;
while (_local3 < total) {
Title[_local3] = xmlNode.childNodes[_local3].attributes.name;
_global.link[_local3] = xmlNode.childNodes[_local3].attributes.url;
footer_mc.galleryHolder.attachMovie("galleryItem", "item" + _local3, _local3 + 999);
footer_mc.galleryHolder["item" + _local3].title_txt.text = Title[_local3];
footer_mc.galleryHolder["item" + _local3].id = _local3;
footer_mc.galleryHolder["item" + _local3]._x = 0;
footer_mc.galleryHolder["item" + _local3]._y = (-_local3) * 23;
footer_mc.galleryHolder.item0.title_txt._alpha = 50;
footer_mc.galleryHolder.item0.button_bttn.enabled = false;
footer_mc.mask_mc._height = 25 * total;
footer_mc.gallery_off._height = (25 * total) + 50;
footer_mc.gallery_off._y = (-footer_mc.mask_mc._height) - 25;
footer_mc.galleryHolder["item" + _local3].button_bttn.onRollOver = function () {
footer_mc.galleryHolder["item" + [this._parent.id]].title_txt._alpha = 50;
};
footer_mc.galleryHolder["item" + _local3].button_bttn.onRollOut = function () {
footer_mc.galleryHolder["item" + [this._parent.id]].title_txt._alpha = 100;
};
footer_mc.galleryHolder["item" + _local3].button_bttn.onRelease = function () {
p = 0;
GL = this._parent.id;
lastThumb = 0;
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.left_arrow.gotoAndStop(3);
BigImageHolder.left_arrow["button"].enabled = false;
BigImageHolder.right_arrow.gotoAndStop(1);
BigImageHolder.right_arrow["button"].enabled = true;
delete thumbHolder.onEnterFrame;
var _local3 = 0;
while (_local3 < _global.total) {
removeMovieClip(thumbHolder.holder["thumb" + _local3]);
_local3++;
}
xmlData.load(_global.link[this._parent.id]);
lastCategory = this._parent.id;
footer_mc.galleryHolder["item" + thisButt].title_txt._alpha = 100;
footer_mc.galleryHolder["item" + thisButt].button_bttn.enabled = true;
thisButt = this._parent.id;
footer_mc.galleryHolder["item" + thisButt].title_txt._alpha = 50;
footer_mc.galleryHolder["item" + thisButt].button_bttn.enabled = false;
};
xmlData.load(_global.link[0]);
_local3++;
}
}
};
category.load("imageGallery/_galleries.xml");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
picturePosition = function () {
BigImageHolder._y = Math.round((Stage.height / 2) - (BigImageHolder.myImg.holder._height / 2));
BigImageHolder._x = Math.round((Stage.width / 2) - (BigImageHolder.myImg.holder._width / 2));
BigImageHolder.bkg_mc._width = Math.round(BigImageHolder.myImg.holder._width + 20);
BigImageHolder.bkg_mc._height = Math.round(BigImageHolder.myImg.holder._height + 20);
BigImageHolder.bkg_mc._x = -10;
BigImageHolder.bkg_mc._y = -10;
BigImageHolder.right_arrow._x = Math.round(BigImageHolder.myImg.holder._width + 20);
BigImageHolder.right_arrow._y = Math.round(BigImageHolder.myImg.holder._height / 2);
BigImageHolder.left_arrow._x = -20;
BigImageHolder.left_arrow._y = Math.round(BigImageHolder.myImg.holder._height / 2);
BigImageHolder.description_mc.description_txt._width = BigImageHolder.myImg.holder._width - 20;
BigImageHolder.description_mc.bkg_mc._width = Math.round(BigImageHolder.myImg.holder._width);
BigImageHolder.description_mc.bkg_mc._height = BigImageHolder.description_mc.description_txt.textHeight + 15;
BigImageHolder.description_mc.mask_mc._width = Math.round(BigImageHolder.myImg.holder._width);
BigImageHolder.description_mc.mask_mc._height = BigImageHolder.description_mc.description_txt.textHeight + 15;
BigImageHolder.description_mc._x = 0;
BigImageHolder.description_mc._y = (BigImageHolder.myImg.holder._height - BigImageHolder.description_mc.description_txt.textHeight) - 45;
BigImageHolder.num_mc._x = 0;
BigImageHolder.num_mc._y = 0;
BigImageHolder.num_mc.bkg_mc._width = Math.round(BigImageHolder.myImg.holder._width);
};
BigImageHolder.myImg.onRollOver = function () {
BigImageHolder.myImg.useHandCursor = false;
MoveNav = new mx.transitions.Tween(BigImageHolder.description_mc, "_alpha", mx.transitions.easing.Strong.easeOut, BigImageHolder.description_mc._alpha, 100, 1, true);
MoveNav = new mx.transitions.Tween(BigImageHolder.num_mc, "_alpha", mx.transitions.easing.Strong.easeOut, BigImageHolder.num_mc._alpha, 100, 1, true);
};
BigImageHolder.myImg.onRollOut = function () {
MoveNav = new mx.transitions.Tween(BigImageHolder.description_mc, "_alpha", mx.transitions.easing.Strong.easeOut, BigImageHolder.description_mc._alpha, 0, 1, true);
MoveNav = new mx.transitions.Tween(BigImageHolder.num_mc, "_alpha", mx.transitions.easing.Strong.easeOut, BigImageHolder.num_mc._alpha, 0, 1, true);
};
slidingThumbs = function () {
var thumbWidth = (thumbHolder.holder._width + 20);
if (thumbWidth > Stage.width) {
thumbHolder.onEnterFrame = function () {
mouse_x = this._xmouse;
difx = (-mouse_x) * ((thumbWidth / stage_x) - 1);
newx = (difx - thumbHolder.holder._x) * speed;
thumbHolder.holder._x = thumbHolder.holder._x + Math.round(newx);
};
} else {
thumbHolder.holder._x = Math.round((Stage.width / 2) - (thumbHolder.holder._width / 2)) - 5;
delete thumbHolder.onEnterFrame;
}
};
toStage();
var stageL = new Object();
stageL.onResize = function () {
toStage();
};
Stage.addListener(stageL);
footer_mc.rightSide.photos.onRollOver = function () {
footer_mc.rightSide.photos.text_mc.gotoAndStop(2);
};
footer_mc.rightSide.photos.onRollOut = function () {
footer_mc.rightSide.photos.text_mc.gotoAndStop(1);
};
footer_mc.rightSide.photos.onRelease = function () {
if (photos == 0) {
photos = 1;
MoveNav = new mx.transitions.Tween(thumbHolder, "_y", mx.transitions.easing.Strong.easeOut, thumbHolder._y, Stage.height - 134, 1, true);
footer_mc.rightSide.photos.arrow_mc.gotoAndPlay(2);
} else {
photos = 0;
MoveNav = new mx.transitions.Tween(thumbHolder, "_y", mx.transitions.easing.Strong.easeOut, thumbHolder._y, Stage.height - 30, 1, true);
footer_mc.rightSide.photos.arrow_mc.gotoAndPlay(11);
}
};
footer_mc.rightSide.slideshow_mc.onRollOver = function () {
footer_mc.rightSide.slideshow_mc.text_mc.gotoAndStop(2);
};
footer_mc.rightSide.slideshow_mc.onRollOut = function () {
footer_mc.rightSide.slideshow_mc.text_mc.gotoAndStop(1);
};
footer_mc.rightSide.slideshow_mc.onRelease = function () {
if (slideshow == "off") {
delay = _global.setTimeout(nextImgDelay, delay_img * 1000);
footer_mc.slideshowAnim._alpha = 100;
MoveNavWidth = new mx.transitions.Tween(footer_mc.slideshowAnim, "_width", mx.transitions.easing.Regular.easeOut, 0, Stage.width, delay_img, true);
MoveNavWidth.onMotionFinished = function () {
footer_mc.slideshowAnim._alpha = 0;
};
footer_mc.rightSide.slideshow_mc.pause_mc._visible = true;
footer_mc.rightSide.slideshow_mc.play_mc._visible = false;
slideshow = "on";
} else {
clearTimeout(delay);
MoveNavWidth.stop();
footer_mc.slideshowAnim._alpha = 0;
footer_mc.rightSide.slideshow_mc.pause_mc._visible = false;
footer_mc.rightSide.slideshow_mc.play_mc._visible = true;
slideshow = "off";
}
};
footer_mc.rightSide.fullscreen_mc.onRollOver = function () {
footer_mc.rightSide.fullscreen_mc.text_mc.gotoAndStop(2);
};
footer_mc.rightSide.fullscreen_mc.onRollOut = function () {
footer_mc.rightSide.fullscreen_mc.text_mc.gotoAndStop(1);
};
footer_mc.rightSide.fullscreen_mc.onRelease = function () {
toggleFullScreen();
};
footer_mc.albums_mc.onRollOver = function () {
footer_mc.albums_mc.text_mc.gotoAndStop(2);
};
footer_mc.albums_mc.onRollOut = function () {
footer_mc.albums_mc.text_mc.gotoAndStop(1);
};
footer_mc.albums_mc.onRelease = function () {
if (albums == 0) {
footer_mc.albums_mc.arrow_mc.gotoAndPlay(2);
MoveMask = new mx.transitions.Tween(footer_mc.mask_mc, "_y", mx.transitions.easing.Regular.easeOut, footer_mc.mask_mc._y, -footer_mc.mask_mc._height, 0.5, true);
albums = 1;
footer_mc.gallery_off._visible = true;
} else {
footer_mc.albums_mc.arrow_mc.gotoAndPlay(11);
MoveMask = new mx.transitions.Tween(footer_mc.mask_mc, "_y", mx.transitions.easing.Regular.easeOut, footer_mc.mask_mc._y, 0, 0.5, true);
albums = 0;
footer_mc.gallery_off._visible = false;
}
};
footer_mc.gallery_off.onRollOver = function () {
footer_mc.albums_mc.arrow_mc.gotoAndPlay(11);
MoveMask = new mx.transitions.Tween(footer_mc.mask_mc, "_y", mx.transitions.easing.Regular.easeOut, footer_mc.mask_mc._y, 0, 0.5, true);
albums = 0;
footer_mc.gallery_off._visible = false;
};
BigImageHolder.left_arrow.gotoAndStop(3);
BigImageHolder.left_arrow["button"].enabled = false;
BigImageHolder.right_arrow["button"].onRollOver = function () {
BigImageHolder.right_arrow.gotoAndStop(2);
};
BigImageHolder.right_arrow["button"].onRollOut = function () {
BigImageHolder.right_arrow.gotoAndStop(1);
};
BigImageHolder.right_arrow["button"].onRelease = function () {
nextImg();
};
BigImageHolder.left_arrow["button"].onRollOver = function () {
BigImageHolder.left_arrow.gotoAndStop(2);
};
BigImageHolder.left_arrow["button"].onRollOut = function () {
BigImageHolder.left_arrow.gotoAndStop(1);
};
BigImageHolder.left_arrow["button"].onRelease = function () {
prevImg();
};
nextImg = function () {
BigImageHolder.left_arrow.gotoAndStop(1);
BigImageHolder.left_arrow["button"].enabled = true;
if (p == (_global.total - 2)) {
BigImageHolder.right_arrow.gotoAndStop(3);
BigImageHolder.right_arrow["button"].enabled = false;
p = _global.total - 1;
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[p], BigImageHolder.myImg.holder);
BigImageHolder.description_mc.description_txt.htmlText = _global.description[p];
BigImageHolder.description_mc.description_txt.autoSize = true;
BigImageHolder.num_mc.num_txt.text = ((((p + 1) + "/") + _global.total) + " Album: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[p];
preloader_mc.gotoAndPlay(2);
} else {
p++;
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[p], BigImageHolder.myImg.holder);
BigImageHolder.description_mc.description_txt.htmlText = _global.description[p];
BigImageHolder.description_mc.description_txt.autoSize = true;
BigImageHolder.num_mc.num_txt.text = ((((p + 1) + "/") + _global.total) + " Album: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[p];
preloader_mc.gotoAndPlay(2);
}
thumbHolder.holder["thumb" + p]["button"].enabled = false;
thumbHolder.holder["thumb" + p].grey_mc._alpha = 0;
thumbHolder.holder["thumb" + p].border_mc._alpha = 100;
thumbHolder.holder["thumb" + lastThumb]["button"].enabled = true;
thumbHolder.holder["thumb" + lastThumb].grey_mc._alpha = 60;
thumbHolder.holder["thumb" + lastThumb].border_mc._alpha = 0;
lastThumb = p;
};
prevImg = function () {
BigImageHolder.right_arrow.gotoAndStop(1);
BigImageHolder.right_arrow["button"].enabled = true;
if (p == 1) {
BigImageHolder.left_arrow.gotoAndStop(3);
BigImageHolder.left_arrow["button"].enabled = false;
p = 0;
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[p], BigImageHolder.myImg.holder);
BigImageHolder.description_mc.description_txt.htmlText = _global.description[p];
BigImageHolder.description_mc.description_txt.autoSize = true;
BigImageHolder.num_mc.num_txt.text = ((((p + 1) + "/") + _global.total) + " Album: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[p];
preloader_mc.gotoAndPlay(2);
} else {
p--;
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[p], BigImageHolder.myImg.holder);
BigImageHolder.description_mc.description_txt.htmlText = _global.description[p];
BigImageHolder.description_mc.description_txt.autoSize = true;
BigImageHolder.num_mc.num_txt.text = ((((p + 1) + "/") + _global.total) + " Album: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[p];
preloader_mc.gotoAndPlay(2);
}
thumbHolder.holder["thumb" + p]["button"].enabled = false;
thumbHolder.holder["thumb" + p].grey_mc._alpha = 0;
thumbHolder.holder["thumb" + p].border_mc._alpha = 100;
thumbHolder.holder["thumb" + lastThumb]["button"].enabled = true;
thumbHolder.holder["thumb" + lastThumb].grey_mc._alpha = 60;
thumbHolder.holder["thumb" + lastThumb].border_mc._alpha = 0;
lastThumb = p;
};
nextImgDelay = function () {
BigImageHolder.left_arrow.gotoAndStop(1);
BigImageHolder.left_arrow["button"].enabled = true;
thumbHolder.holder["thumb" + ID].toolTip._alpha = 0;
delete thumbHolder.holder["thumb" + ID].toolTip.onEnterFrame;
if (p < (_global.total - 1)) {
p++;
if (p == (_global.total - 1)) {
BigImageHolder.right_arrow.gotoAndStop(3);
BigImageHolder.right_arrow["button"].enabled = false;
} else {
BigImageHolder.right_arrow.gotoAndStop(1);
BigImageHolder.right_arrow["button"].enabled = true;
}
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[p], BigImageHolder.myImg.holder);
BigImageHolder.description_mc.description_txt.htmlText = _global.description[p];
BigImageHolder.description_mc.description_txt.autoSize = true;
BigImageHolder.num_mc.num_txt.text = ((((p + 1) + "/") + _global.total) + " Album: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[p];
preloader_mc.gotoAndPlay(2);
} else {
BigImageHolder.left_arrow.gotoAndStop(3);
BigImageHolder.left_arrow["button"].enabled = false;
BigImageHolder.right_arrow.gotoAndStop(1);
BigImageHolder.right_arrow["button"].enabled = true;
p = 0;
BigImageHolder._alpha = 0;
BigImageHolder._visible = false;
BigImageHolder.myImg.holder.removeMovieClip();
BigImageHolder.myImg.createEmptyMovieClip("holder", this.getNextHighestDepth());
loadBitmapSmoothed(image[p], BigImageHolder.myImg.holder);
BigImageHolder.description_mc.description_txt.htmlText = _global.description[p];
BigImageHolder.description_mc.description_txt.autoSize = true;
BigImageHolder.num_mc.num_txt.text = ((((p + 1) + "/") + _global.total) + " Album: ") + Title[GL];
BigImageHolder.num_mc.title_txt.text = title_img[p];
preloader_mc.gotoAndPlay(2);
}
thumbHolder.holder["thumb" + p]["button"].enabled = false;
thumbHolder.holder["thumb" + p].grey_mc._alpha = 0;
thumbHolder.holder["thumb" + p].border_mc._alpha = 100;
thumbHolder.holder["thumb" + lastThumb]["button"].enabled = true;
thumbHolder.holder["thumb" + lastThumb].grey_mc._alpha = 60;
thumbHolder.holder["thumb" + lastThumb].border_mc._alpha = 0;
lastThumb = p;
};