BTW, this example works in the IE7 beta I just installed, but fails in IE6
On 9/27/06, Don Hopkins <[EMAIL PROTECTED]> wrote: > Here is my test. > > Google's crossdomain.xml only allows refs from itself. My server > (piemenu) allows all refs but has no compression. Youtube allows all > refs and compresses, which causes the problem. > The addRequestHeader have no effect in either browser. > Try running fiddler and checking Rules => Remove All Encodings to work > around the problem with youtube's compression. > Bifuckingzarre. Thanks!!! > > -Don > > > > <canvas > width="100%" > height="100%" > proxied="false" > debug="true" > > > > > <script><![CDATA[ > > var gXmlObject = new XML(); > //var gXmlObject = new LoadVars(); > > var gUrl = "http://www.youtube.com/watch?v=3_SSuO1gUUE"; > //var gUrl = "http://video.google.com"; > //var gUrl = "http://www.piemenu.com"; > //var gUrl = "http://www.donhopkins.com/home/foo.txt" > //var gUrl = "http://www.PieMenu.com/foo.txt" > > > function HandleOnData(txt) { > _root.Debug.write("HandleOnData"); > _root.Debug.write("this", this); > _root.Debug.write("txt", txt); > } > > gXmlObject.onData = HandleOnData; > > //gXmlObject.addRequestHeader("Accept-Encoding", ""); > gXmlObject.addRequestHeader("X-Foo", "Bar"); > gXmlObject.addRequestHeader("SOAPAction", "'Foo'"); > > > function foo() { > _root.Debug.write("Sending request to: ", gUrl); > //gXmlObject.sendAndLoad(gUrl); > gXmlObject.load(gUrl); > //gXmlObject.send(gUrl, "_blank", "GET"); > } > > //foo(); > > ]]> > </script> > > > <view bgcolor="0x808080" width="${parent.width}" > height="${parent.height}" onclick="foo()"/> > > > </canvas> > > -- Henry Minsky Software Architect [EMAIL PROTECTED] _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
