# Load delay

**URL:** <https://forum.kirupa.com/t/load-delay/216157>\
**Category:** flash\
**Created:** [February 14, 2007, 3:52am UTC](https://forum.kirupa.com/t/load-delay/216157 "2007-02-14T03:52:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neoforcer](https://avatars.discourse-cdn.com/v4/letter/n/c2a13f/32.png) [@neoforcer](https://forum.kirupa.com/u/neoforcer)\
**Post date:** [February 14, 2007, 3:52am UTC](https://forum.kirupa.com/t/load-delay/216157/1 "2007-02-14T03:52:55Z")

</div>

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

```php
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;

```
