[FONT=Arial]Hi![/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]I’m experiencing some difficulties with the MovieClipLoader class in Flash 8. From my main SWF I want to dynamically load an external SWF into an empty MovieClip object. This I do according to the code below. My problem is that this works locally so to speak (when I test my movie), but when I publish it on the Internet the external SWF doesn’t show. Why?? I don’t get it. Can anybody please enlighten this to me? [/FONT]
[FONT=Arial][/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]var mcContainer:MovieClip = _root.createEmptyMovieClip(“mcContainer”, _root.getNextHighestDepth());[/FONT]
[FONT=Arial]var mcLoader:MovieClipLoader = new MovieClipLoader();[/FONT]
[FONT=Arial]var listener:Object = new Object();[/FONT]
[FONT=Arial]mcLoader.addListener(listener);[/FONT]
[FONT=Arial]listener.onLoadStart = function(targetMC) {[/FONT]
[FONT=Arial]mcContainer._visible = false;[/FONT]
[FONT=Arial]//trace(“started loading “+targetMC);[/FONT]
[FONT=Arial]};[/FONT]
[FONT=Arial]listener.onLoadProgress = function(targetMC, lBytes, tBytes) {[/FONT]
[FONT=Arial]loadTxt = (Math.round((lBytes/tBytes)*100));[/FONT]
[FONT=Arial]};[/FONT]
[FONT=Arial]listener.onLoadComplete = function(targetMC) {[/FONT]
[FONT=Arial]// trace(targetMC+” finished”);[/FONT]
[FONT=Arial]mcContainer._visible = true;[/FONT]
[FONT=Arial]};[/FONT]
[FONT=Arial]mcLoader.loadClip(“content/extern_swf/intro.swf”, mcContainer);[/FONT]
[FONT=Arial][/FONT]
[FONT=Arial][/FONT]
[FONT=Arial]// ElektroPhunk[/FONT]