Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8113395

Can't access JavaFX script from Javascript code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • deploy
    • None
    • Ubuntu 10.10 (maverick), Kernel Linux 2.6.35-28-generic, GNOME 2.32.0, Firefox 3.6.16 (3.6.17)

      We are using JavaFX1.3 and hosting it's content on web page like in that tutorial (http://goo.gl/yzbNx).
      And after some new version of firefox (or may be javaplugin), the connection between applet (javafx) and javascript has been broken.

      For example code from tutorial (http://goo.gl/yzbNx):

      What should be:
      var app = document.getElementById("myApplet");
      app.script.color = app.Packages.javafx.scene.paint.Color.BLUE;
      // app.script must be defined

      What I have:
      var app = document.getElementById("myApplet");
      app.script.color = app.Packages.javafx.scene.paint.Color.BLUE;
      // app.script is undefined and i have an error

      It can be appeared under Ubuntu 10.10 and Firefox 3.6.16, 3.6.17.
      With Google Chrome all is OK, with Firefox in Windows all is OK.

            ngthomas Thomas Ng (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: