# Problem! Scrollpane loading external jpegs

**URL:** <https://forum.kirupa.com/t/problem-scrollpane-loading-external-jpegs/248515>\
**Category:** flash\
**Created:** [January 9, 2008, 4:08am UTC](https://forum.kirupa.com/t/problem-scrollpane-loading-external-jpegs/248515 "2008-01-09T04:08:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpollen](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dpollen](https://forum.kirupa.com/u/dpollen)\
**Post date:** [January 9, 2008, 4:08am UTC](https://forum.kirupa.com/t/problem-scrollpane-loading-external-jpegs/248515/1 "2008-01-09T04:08:09Z")

</div>

Hi… I’m working on a project, and trying to get the Flash CS3 ScrollPane to work.  
It is a real nightmare!

I opened a new Flash file, and got it working with the following script:

```auto

this['scrollpane'].contentPath = "empty_mc";
this['scrollpane'].content.attachMovie("content", "inst_content", 1);
this['scrollpane'].content['inst_content'].loadMovie("sax.jpg");

```

So, I went into my project… and added the following into the movieclip which contains the ScrollPane:

```auto

this['window_inst'].contentPath = "empty_mc";
this['window_inst'].content.attachMovie("content", "inst_content", 1);

```

Ok… so that works… I can see “empty\_mc” in the ScrollPane and it scrolls.  
So, now I go into my external actionscript… and put the following code in when the page loads:

```auto

mcReview['window_inst'].content["inst_content"].loadMovie("sax.jpg");

```

It doesn’t work.

So I tried tracing.

trace(mcReview[‘window\_inst’]); **works**  
trace(mcReview[‘window\_inst’].content); \*\*undefined

\*\*It is driving me CRAZY!  
Someone puh-lease help me! ☹
