de Thomas Ng tenemos un ejemplo de como enpotrar nuestro script javaFX en nuestra web:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>RippleEffect</title>
</head>
<body>
<h1>RippleEffect</h1>
<script src="file:/c:/offline/dtfx.js"></script>
<script>
javafx(
{
archive: "RippleEffect.jar",
width: 370,
height: 450,
code: "rippleeffect.Main",
name: "RippleEffect"
loading_image_url: "http://yourwebsite.com/pictures/companylogo.gif",
loading_image_height: "120",
loading_image_width: "80"
}
);
</script>
</body>
</html>