PDA

View Full Version : HELP with External AS and CreateEmptyMovieClip


gnizm
08-15-2006, 05:35 PM
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...

_root.attachMovie("thumbHolder_mc", "thumbHolder_dyn", 2, {_x: 32, _y: 202});
thumbHolder_dyn.setMask (mask_mc);

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")::

_root.thumbHolder_dyn.createEmptyMovieClip("picHol der", this.getNextHighestDepth());
_root.thumbHolder_dyn.picHolder.createEmptyMovieCl ip("squash", this.getNextHighestDepth());
_root.thumbHolder_dyn.picHolder.squash.loadMovie(" http://mysite.com/PICS/picture.JPG");

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

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