I created a movie clip
var display_mc:MovieClip = new MovieClip();
display_mc.graphics.beginFill(0x000000);
display_mc.alpha= 0.0;
display_mc.graphics.drawRect(0, 0, 310, 200);
display_mc.graphics.endFill();
display_mc.x = offsetX;
display_mc.y = 0.1;
addChild(display_mc);
now this movie clip contains 3 dynamic text box and 1 image loaded from xml,
this codes loops and creates n number of movie clip and display
for (var i:int = 0; i<=total-1; i++) {
var myHeading:String = xmlData.content.title.text()*;
var myDesc:String = xmlData.content.desc.text()*;
var myLink:String = xmlData.content.links.text()*;
var myImg:String = xmlData.content.url.text()*
createMovieClip(offsetX, myHeading, myDesc, myLink);
loadImage(myImg, imgX); // loads bitmap
offsetX = offsetX + 312; // x offset for movie clip
imgX = imgX + 312; // offset for logo
//trace(imgX);
//trace(offsetX);
}
How can I animate this (slide to x position), since there is nothing in timeline ?
Any help much appreciated…