Im trying to use JSMenu from javascript-fx.com and am having trouble making it show up. On the read me file it says to create a JSMenuBar, how do i do that? also heres the code i edited for the mymenu.js

<code>

function makeMyMenu()
{
with(JSFX)
{
var myMenuBar = new JSMenuBar(false);

/*** Build menu File ***********************************************************/
menuAccessories = new JSMenu("Accessories");
myMenuBar.add(menuAccessories);

menuAccessories.add(new JSMenuItem("Interior","http://www.autotoysplus.com/Accessories/Interior"));
menuAccessories.add(new JSMenuItem("Exterior","http://www.autotoysplus.com/Accessories/Exterior"));

/*** Build Another menu ***********************************************************/
menuExtra = new JSMenu("Extra");
menuExtra.add(new JSMenuItem("Delete","link1"));
menuExtra.add(new JSMenuItem("Copy","link1"));
menuExtra.add(new JSMenuItem("Archive","link1"));
/*** At this point we can add the menu to the menu bar - or to a menu, making it a sub menu ***/
menuFile.add(menuExtra); //Make sub menu
// myMenuBar.add(menuExtra); //Make part of main menu


/*** Build menu Edit *************************************************************************/
menuAerodynamics = new JSMenu("Aerodynamics");
myMenuBar.add(menuAerodynamics);

menuAerodynamics.add(new JSMenuItem("Body Kits","http://www.autotoysplus.com/Aerodynamics"));
menuAerodynamics.add(new JSMenuItem("Carbon Fiber Hoods","link1"));
menuAerodynamics.add(new JSMenuItem("Spoilers","link1"));



/*** Build menu Goto **************************************************************************/
menuCarAudio= new JSMenu("Car Audio");
myMenuBar.add(menuCaraudio);

menuCaraudio.add(new JSMenuItem("Amplifiers","http://www.autotoysplus.com/CarAudio"));
menuCaraudio.add(new JSMenuItem("Head Units","http://www.autotoysplus.com/CarAudio"));
menuCaraudio.add(new JSMenuItem("Speakers","http://www.autotoysplus.com/CarAudio"));
menuCaraudio.add(new JSMenuItem("Subwoofers","http://www.autotoysplus.com/CarAudio"));



myMenuBar.build();
}
}
</code>

did i do something wrong?

heres the original code of my menu


function makeMyMenu()
{
with(JSFX)
{
var myMenuBar = new JSMenuBar(false);

/*** Build menu File ***********************************************************/
menuFile = new JSMenu("File");
myMenuBar.add(menuFile);

menuFile.add(new JSMenuItem("New", "javascript:alert(\"New\")"));
menuFile.add(new JSMenuItem("Open","javascript:alert(\"Open\")"));
menuFile.add(new JSMenuItem("Close","Close"));

/*** Build Another menu ***********************************************************/
menuExtra = new JSMenu("Extra");
menuExtra.add(new JSMenuItem("Delete","link1"));
menuExtra.add(new JSMenuItem("Copy","link1"));
menuExtra.add(new JSMenuItem("Archive","link1"));
/*** At this point we can add the menu to the menu bar - or to a menu, making it a sub menu ***/
menuFile.add(menuExtra); //Make sub menu
// myMenuBar.add(menuExtra); //Make part of main menu


/*** Build menu Edit *************************************************************************/
menuEdit = new JSMenu("Edit");
myMenuBar.add(menuEdit);

menuEdit.add(new JSMenuItem("copy","link1"));
menuEdit.add(new JSMenuItem("cut","link1"));
menuEdit.add(new JSMenuItem("paste","link1"));
menuEdit.add(new JSMenuItem("This is a very long item","link1"));
menuEdit.add(new JSMenuItem("THIS IS A LONG ITEM","link1"));


/*** Build menu Goto **************************************************************************/
menuGoto = new JSMenu("Goto (More menus)");
myMenuBar.add(menuGoto);

menuGoto.add(new JSMenuItem("Menu 1","demo.html"));
menuGoto.add(new JSMenuItem("Menu 2","demo2.html"));
menuGoto.add(new JSMenuItem("menu 3","demo3.html"));
menuGoto.add(new JSMenuItem("Menu 4","demo4.html"));
menuGoto.add(new JSMenuItem("Menu 5","demo5.html"));


myMenuBar.build();
}
}