Hello, I am trying to use a tree menu to load SWF files into another SWF file. Its not Astra but its very similar. If I could simply get one node linking in an SWF I think I could get the rest. All I could find was how to bring in a movie clip. I have the menu set up and ready to populate but need a bit of help getting it to function how I need it.

I am using AS3, code so far:

stop();
import com.microwebber.tree.*;
import Print2Flash.*
import flash.display.Loader;
import flash.events.Event;
import flash.net.URLRequest;

stage.scaleMode=StageScaleMode.NO_SCALE
stage.align=StageAlign.TOP_LEFT

mytree.setSize(310,417);
var usingFolderIcons = false;
function switchIcons(e){
usingFolderIcons = !usingFolderIcons;
mytree.setDefaultFolderStyle(usingFolderIcons);
mytree.invalidate();

}

//mytree.setHorizontalPolicy(true,true);

var dp:XML =
<node>
<node label="Node Overview">
</node>
<node label="Node 1">
<node label="information"/>
</node>
</node>;

mytree.setRendererStyle("nodeIndent", 20);

mytree.addXML(dp);


What I am trying to do is to get the tree menu to load print2flash swf files, I have the code (below) to do this with standard buttons but dont have a clue how to get this code to work with a tree menu (because of space concerns I need to use a tree menu), can someone please help me out here?:

stop();

import Print2Flash.*
import flash.display.Loader;
import flash.events.Event;
import flash.net.URLRequest;

stage.scaleMode=StageScaleMode.NO_SCALE
stage.align=StageAlign.TOP_LEFT


btn_one.addEventListener(MouseEvent.CLICK, clickHandler);

var P2FDocLoader:Print2FlashDoc3;

function clickHandler(e:Event):void{

switch(e.target.name){
case "btn_one": P2FDocLoader=new Print2FlashDoc3("modules/01.swf",375,115,570,521,this); break;
}
}

thanks for any help you can provide.