1 Reply Latest reply on Oct 30, 2006 2:53 AM by skalamichal

    GetVariable() for object members in FireFox

    Level 7
      I am trying to read a variable in my flash movie from javascript, using
      GetVariable. In firefox, it works fine for variables, but not for object
      members.

      Javascript code:
      var s1 = flashMovie.GetVariable("stringVariable"); // works in IE and
      firefox.
      var s2 = flashMovie.GetVariable("objectVariable.stringField"); // works in
      IE, but firefox returns null.

      Has anyone got any ideas how to access the object member? The last resort
      would be to copy it to a global variable, then read that, but that would be
      messy to say the least. Any help would be very much appreciated.

      Thanks