So far, I have used Macromedia Flash created my front page, and there is an Enter button in the *.swf file, I wish once user click the Enter, it will launch an Java Applet file. So far, I know I can use <BR>function thisMovie_DoFSCommand(Command, args) {<BR>if (Command == "Enter") {<BR>//execute java applet<BR><BR>}<BR>}<BR>how can I put the java applet into this if statement. if say my class file called enter.class and one parameter named LoginName<BR><BR>I am a VBscript programmer, have no idea, how it can be done in javascript. any one can help me? thanx.