# Picture not displaying?

**URL:** <https://forum.kirupa.com/t/picture-not-displaying/311646>\
**Category:** Uncategorized\
**Created:** [July 13, 2010, 10:34am UTC](https://forum.kirupa.com/t/picture-not-displaying/311646 "2010-07-13T10:34:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![black\_pearl](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Post date:** [July 13, 2010, 10:34am UTC](https://forum.kirupa.com/t/picture-not-displaying/311646/1 "2010-07-13T10:34:06Z")

</div>

I am trying to write a class file for loading a movieclip but it is not working. I am not even getting any error message.

```auto
package {

    import flash.display.*;
    import flash.events.*;
    import flash.net.*;

    public class CompletePic extends MovieClip {

        public var imageLoader:Loader = new Loader();
        public var loadPic_mc:MovieClip = new MovieClip();
        public var url:String = "pictures/pic3.jpg";

        public function CompletePic() {

            addChild(loadPic_mc);
            imageLoader.load(new URLRequest(url));
            loadPic_mc.addChild(imageLoader);

        }
    }
}

```

It is unable to display the picture. I have used addChild to display the picture to the stage. But it’s not working. What could be the possible reason.
