# Create then load movies

**URL:** <https://forum.kirupa.com/t/create-then-load-movies/277354>\
**Category:** Uncategorized\
**Created:** [December 11, 2008, 2:52am UTC](https://forum.kirupa.com/t/create-then-load-movies/277354 "2008-12-11T02:52:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newwave](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@newwave](https://forum.kirupa.com/u/newwave)\
**Post date:** [December 11, 2008, 2:52am UTC](https://forum.kirupa.com/t/create-then-load-movies/277354/1 "2008-12-11T02:52:17Z")

</div>

I am trying to create movies via actionscript, and then have them load/nest into another movie, then place/nest that movie into another movie. all my attemps have failed can some one please help me. I placed 2 code attemps below. any help will be greatly apreciated thanks sincerly newwave

```auto

var track:MovieClip = new MovieClip();
//a shape is drawn with script
var thumb:MovieClip = new MovieClip();
//a shape is drawn with script
 
var sb:MovieClip = new MovieClip();
this.sb.addChild(track);
this.sb.addChild(thumb);
 
var scrollbox:MovieClip = new MovieClip();
this.scrollbox.addChild(sb);
this.addChild(scrollbox);

```

I also tried this with no luck

```auto

var track:MovieClip = new MovieClip();
//a shape is drawn with script
var thumb:MovieClip = new MovieClip();
//a shape is drawn with script
 
var sb:MovieClip = new MovieClip();
var sb0 = new track();
this.scrollbox.addChild(sb0);
var sb1 = new thumb();
this.scrollbox.addChild(sb1);
 
var scrollbox:MovieClip = new MovieClip();
var sb2 = new sb();
this.scrollbox.addChild(sb2);
this.addChild(scrollbox);

```
