# NEED HELP with External AS and CreateEmptyMovieClip

**URL:** https://forum.kirupa.com/t/need-help-with-external-as-and-createemptymovieclip/197268
**Category:** flash
**Created:** [August 15, 2006, 1:59am UTC](https://forum.kirupa.com/t/need-help-with-external-as-and-createemptymovieclip/197268 "2006-08-15T01:59:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gnizm](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gnizm](https://forum.kirupa.com/u/gnizm)
#### Post date: [August 15, 2006, 1:59am UTC](https://forum.kirupa.com/t/need-help-with-external-as-and-createemptymovieclip/197268/1 "2006-08-15T01:59:00Z")

</div>

Hello, I am in need of some help!!

I am using the attachMovie method to put a MovieClip onstage (“thumbHlder\_dyn”), and setting a MovieClip (mask\_mc) to mask it using setMask. All the code here is External ActionScript…

[COLOR=“Red”]\_root.attachMovie(“thumbHolder\_mc”, “thumbHolder\_dyn”, 2, {\_x: 32, \_y: 202});  
thumbHolder\_dyn.setMask (mask\_mc);[/COLOR]

Now this works fine, i can see that it is masking OK. What doesn’t work is this line of code (This code is all external as well, using “#include”)::

[COLOR=“red”]\_root.thumbHolder\_dyn.createEmptyMovieClip(“picHolder”, this.getNextHighestDepth());  
\_root.thumbHolder\_dyn.picHolder.createEmptyMovieClip(“squash”, this.getNextHighestDepth());  
\_root.thumbHolder\_dyn.picHolder.squash.loadMovie(“[http://mysite.com/PICS/picture.JPG](http://mysite.com/PICS/picture.JPG)”);[/COLOR]

I can’t load my .jpeg thumbnails into it the “thumbHolder\_dyn” MovieClip. The contents of the folder sit exactly on the server as they do on my computer. It worked fine when I was building it on my computer.

Here is a link to the site for whatever reason ::

[http://stoplion.com/757\_obituary\_total\_redo\_2.html](http://stoplion.com/757_obituary_total_redo_2.html)

PS. the scroller is the MC that i’m trying to load my thumnails into.
