Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

this.createEmptyMovieClip and load movie issue help needed

$
0
0

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_17726093241 8441_1276612800_n.jpg");


Viewing all articles
Browse latest Browse all 238792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>