3 Replies Latest reply on Dec 20, 2012 11:19 AM by kglad

    this.createEmptyMovieClip and load movie issue help needed


      Hi Folks, i am building a site with lots of mc's at different depths and am using just code to load a pic from an external source without using_root commands in one of the mc's, this works fine when i test it from flash, image loads well etc .... but if i test it in a browser the image doesnt load. In fact if i just export the movie and play it from my desktop the image doesnt load. This is driving me crazy and i have spent hours trying to resolve this with no joy. Any one got any ideas ? this is the code (its simply on one blank frame in my mc). Thanks, Craig

      var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());

      mc.onRelease = function():Void {

      trace(this.image._url); // http://sphotos-a.xx.fbcdn.net/hphoto...76612800_n.jpg


      var image:MovieClip = mc.createEmptyMovieClip("image", mc.getNextHighestDepth());

      image.loadMovie("http://sphotos-a.xx.fbcdn.net/hphotos-snc7/s720x720/318391_177260932418441_1276612800_n.jp g");