this.createEmptyMovieClip and load movie issue help needed


hi folks, building site lots of mc's @ different depths , using code load pic external source without using_root commands in 1 of mc's, works fine when test flash, image loads etc .... if test in browser image doesnt load. in fact if export movie , play desktop image doesnt load. driving me crazy , have spent hours trying resolve no joy. 1 got ideas ? code (its on 1 blank frame in 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/hphotos-snc7/s720x720/318391_177260932418441_1276612800_n.jp g

}

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

please don't cross-post.

 

check duplicate thread in as1/as2 forum.



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached