PDA

View Full Version : windows error (window.document.pano has no properties)


jriley
06-04-2007, 05:37 PM
I am having a problem with my panos not loading under windows browsers. They just show a blank box and the error console has several lines saying

window.document.pano has no properties

which traces back to the line in the html file:

window.document["pano"].focus();

It's not just me; I looked at someone else's page and saw the same problem.

My page is at http://4pi-vr.com/dinner/small/dinner_4000.html

Suggestions?


edited to add: I tried uploading to my server the examples folder that comes with Flash Panoramas. All of them do the same thing!!

I am using other Flash content that is working just fine. My Macs on the same network have no problem. Oddly, the same browsers running in WindowsXP under Parallels on my Mac work just fine. What is going on here?

Denis
06-04-2007, 06:19 PM
You can remove it without doubt. It's using to set the keyboard focus to the panorama just after loading (not really important, Flash will get the focus after the fist click). focus() - is for IE. If you want to keep it, be sure your Flash movie has "pano" identifier; change id to your own object name: window.document["myID"].focus();

jriley
06-04-2007, 06:41 PM
It turns out that I had set the Flash version requirement to 6.0.65 instead of 9. That meant that I didn't get a warning to update and it didn't work because I needed to update. Duhhhhh. :oops: :oops: :oops: