I have this code in a class:
package com.jhoyt{
import flash.net.URLRequest;
import flash.events.*;
import flash.display.*;
public class SSIlaunch extends MovieClip {
var Loada:Loader=new Loader;
public function SSIlaunch() {
var ssiFile:URLRequest=new URLRequest("SSI.swf");
Loada.contentLoaderInfo.addEventListener(Event.COMPLETE,addAndPoint);
Loada.load(ssiFile);
}
function addAndPoint(ev:Event):void {
addChild(ev.currentTarget.content);
}
}
}
and I have this code on the timeline of the movie its being loaded into:
import com.jhoyt.SSIlaunch;
var ssi:SSIlaunch = new SSIlaunch();
addChild(ssi);
I know its loading because I can put trace actions into the addAndPoint function and it gets called. what can I do to make it display?