Turn of html format text
I have a gallery that get things from XML file, however it also only uses HTML friendly format text rather than the fonts in flash
Can anyone make the change to the code for me, or point me in the right direction?
Thanks
Phil
stop();
//Build gallery
for (i = 0; i < total; i++){
contentMC.attachMovie("attachMC", "images" + i, i);
path = contentMC["images" + i];
path._x = contentLength * i;
path.title_txt.htmlText = Title;
path.caption_txt.htmlText = Caption;
path.caption_txt.autoSize = true;
contentLength = Space;
path.linkButton._link = Link;
loadMovie(Image, path.holderMC);
// linkButton setting [ Active & Pasif ]
if (Link != null && Link != " " && Link != undefined){
path.linkButton._visible = true;
}else{
path.linkButton._visible = false;
}
}//end for
scrollTSpeed = 0.1; //slider control move
var speedY:Number = 0;
//setMask
contentMC.setMask(maskMC);
// Scroll slide function
function slideFunction() {
if(this._ymouse>0 && this._ymouse<maskMC._height) {
if(this._ymouse>0 && this._ymouse<maskMC._width) {
speedY = -this._xmouse/maskMC._width*(contentMC._width-maskMC._width);
}
}
contentMC._x +=( speedY-contentMC._x )* scrollTSpeed;
}
onEnterFrame = function() {
slideFunction();
};