Hi every body I am new here. I am trying to make picture slide show have a built in start delay here is the action script i am using. Is the a way to do flash in flash
speed = 80
imgcount = 23
function moveimg()
{
for (i = 1; i <= imgcount; i++)
{
mc_name = "img" + i;
_root[mc_name]._x--
if(_root[mc_name]._x <= (_root[mc_name]._width *-1))
{
_root[mc_name]._x += xpos
}
}
}
import flash.display.BitmapData;
xpos = 0;
j=0
for (i = 1; i <= imgcount; i++)
{
mc_name = "img" + i;
var myBitmapData:BitmapData = BitmapData.loadBitmap(i + ".png");
this.createEmptyMovieClip(mc_name, this.getNextHighestDepth());
this[mc_name].attachBitmap(myBitmapData, this.getNextHighestDepth());
this[mc_name]._x = xpos;
xpos = xpos + myBitmapData.width;