having some trouble with a holder mc that loading content either by attachMovie or loadMovie depending on a conditional. it’s working intermittently though. this is all within a for loop loading an xml file. if sizeName == half and then the next item is sizeName == half, the content doesn’t load. one more click and it loads though. or it works if i go from a sizeName == full to a sizeName == half.
thanks!
curr_item.onRelease = function()
{
if (this.sizeName == "half")
{
holder_mc.createEmptyMovieClip("holder2", 1);
holder_mc.holder2.attachMovie("content", "content_mc", 1);
holder_mc.holder2.content_mc.contentImage_mc.loadMovie(this.image);
holder_mc.holder2.content_mc.contentTitle_txt.htmlText = this.name;
holder_mc.holder2.content_mc.contentDesc_txt.htmlText = this.desc;
}
if (this.sizeName == "full")
{
holder_mc.createEmptyMovieClip("holder2", 1);
holder_mc.holder2.loadMovie(this.image);
}
};