2 Replies Latest reply on Nov 5, 2008 8:02 AM by pickerel yee

    cannot get window object in HtmlLoader

    pickerel yee
      below is my code, it simple, but i don't know why i cannot visit the html.window. i got result TypeError: No default value in the introspector widow.

      var url = new air.URLRequest(" http://www.google.com/");
      var options = new air.NativeWindowInitOptions();
      var windowBounds = new air.Rectangle(200,250,300,400);
      options.systemChrome = "standard"; options.type = "normal";
      var html = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
      html.addEventListener(air.Event.COMPLETE, function(event){air.Introspector.Console.log(html.window);});