# Error #1119

**URL:** <https://forum.kirupa.com/t/error-1119/317727>\
**Category:** flash\
**Created:** [December 31, 2010, 3:41am UTC](https://forum.kirupa.com/t/error-1119/317727 "2010-12-31T03:41:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atlnycdude24](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Post date:** [December 31, 2010, 3:41am UTC](https://forum.kirupa.com/t/error-1119/317727/1 "2010-12-31T03:41:04Z")

</div>

I’m building a dynamic scrolling picture gallery. I got the annoying Error 1119 when I test my fla movie. It’s reporting that “basename = root.basename;” is undefined. LOL…Here is my code…

From Scene1

```auto

var basename:String = "family";

```

Inside the thumb\_template MC

```auto

var id:Number;
var basename:String;

basename = root.basename;

var thumbURL:String = "images/" + basename + id + ".jpg";

var imageLdr:Loader = new Loader();
var imageURLReq:URLRequest = new URLRequest(thumbURL);
imageLdr.load(imageURLReq);
imageLdr.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);

function imageLoaded(event:Event):void {
    loadTarget.addChild(imageLdr.content);
}

```
