Can't access JavaFX script from Javascript code

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: deploy
    • None
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: