PDA

View Full Version : Bug with examples


Denis
03-26-2007, 09:25 AM
Examples in V2.0 can't work.
You can fix this bug manually: change examples/files/pano.swf (broken) to pano.swf (from the root of zip file).

I will send a small patch today.
Path will include vertical stripes support for the player as well (forgot it! :) ).

Thanks, Denis.

panocanarias
03-26-2007, 12:09 PM
Well, that sounds a bit unclear.
Should be read as:

- pano.swf in folder "examples/files/.." is broken.
- Replace it with pano.swf from root-folder.

Yes, Denis, now I can see the examples.
And, new stripes-version does support vertical-stripes. Works well.
Thank you.
Klaus

meg_plus_ultra
03-28-2007, 07:09 AM
Hi

I have error on the following examples.

1. preview_pano.html
When I click on the "load" button, it try to download these files and make a "loading failed".

2. bw_preview_detection.html
Same "loading failed" trying to download these files.

file:///Applications/Flash%20Panorama%20Player_v2.0.1/examples/pano.xml
file:///Applications/Flash%20Panorama%20Player_v2.0.1/examples/pano_b.jpg
file:///Applications/Flash%20Panorama%20Player_v2.0.1/examples/pano_d.jpg
file:///Applications/Flash%20Panorama%20Player_v2.0.1/examples/pano_f.jpg
file:///Applications/Flash%20Panorama%20Player_v2.0.1/examples/pano_l.jpg
file:///Applications/Flash%20Panorama%20Player_v2.0.1/examples/pano_r.jpg
file:///Applications/Flash%20Panorama%20Player_v2.0.1/examples/pano_u.jpg

I'm using Mac OS 10.3.9 and Safari.
Somebody have same problems or it happen only to me?

clustar
03-28-2007, 08:11 AM
Hello,

I have some problems with examples and the browser:

Additional XML file

http://www.flashpanoramas.com/player/test/nature.swf?xml_file=files/test.xml&

with firefox:

Error: Error #1090: XML-Parserfehler: Element ist fehlerhaft.
at Error$/throwError()
at flash.xml::XMLDocument/parseXML()
at PanoMain/::completeDatafile()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()

with internet explorer:

its ok.

The next one, when i use this simple file,


<?xml version="1.0" ?>
<panorama>
<parameters>
layer_1 = fps.swf
</parameters>
</panorama>

i become the error message at firefox:

SecurityError: Error #2121:



The examples:

preview_pano.html

firefox: SecurityError: Error #2070:
ie6: ok

bw_preview.html

firefox: ok
ie6: ok

bw_preview_detection.html

firefox: SecurityError: Error #2070:
ie6: ok

controller.html

firefox: ok
ie6: ok


externalTest.html

firefox:
SecurityError: Error #2060: Verletzung der Sicherheits-Sandbox: ExternalInterface-Aufrufer file://///Backup/volume (d)/_software/prog/macromedia/Flashpanorama Player/FPP_v2.0_/examples/files/hotspots.swf kann nicht auf file://///Backup/volume (d)/_software/prog/macromedia/Flashpanorama Player/FPP_v2.0_/examples/externalTest.html zugreifen.
at flash.external::ExternalInterface$/flash.external:ExternalInterface::_initJS()
at flash.external::ExternalInterface$/addCallback()
at AttributesGlobal/AttributesGlobal::initEI()
at AttributesGlobal/set externalinterfaceid()
at Attributes/setAttribute()
at Hotspots/addGlobal()
at Timeline0_831a786023308c4ea146908d4b868e76/parseHotspots()
at Timeline0_831a786023308c4ea146908d4b868e76/waitForLoader()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()

ie6: it loads, but the functions do not run


embedPano.html

firefox: ok
ie6: ok

Denis
03-29-2007, 02:25 PM
2cluster: Thanks for detailed report!
Not sure about the first link, this should be an ignoring XML (no real XML behind this link), but other FF bugs point to security restrictions, FF block all swf-to-swf and swf-to-js activity. Anyway, this should be ok for REMOTE security sandbox (on a web server). You can try to change security setting in FF options.

2meg_plus_ultra:
Both bugs mean the parameter xml_file dosn't pass to swf movie (possible, this is a rare SWFObject bug). You can try to fix it replacing line:
so.addVariable("movie","files/pano.swf");
to
so.addVariable("movie","files/pano.swf?xml_file=preview_pano1.xml");
For bw_preview_detection.html:
so.addVariable("movie","files/pano.swf");
to
so.addVariable("movie","files/pano.swf?xml_file=bw_preview.xml");

Thanks for you testing, I will test for Mac OS more. It looks more capricious...

maimoy
06-06-2007, 12:36 PM
I am new to Flashpanoramas, i bought today 6/6/2007.
I read these suggestions, and i look into this file "preview_pano.html" and i also replace the pano.swf from root folder to examples/files folder but i still have problem with preview_pano example.
The trace log from Mozilla follows

Warning: Reference to undeclared variable, 'holder'
Warning: Reference to undeclared variable, 'holder'
Warning: Reference to undeclared variable, 'holder'
Redirect: files/pano.swf?xml_file=preview_pano1.xml&
Error #2032: Stream Error. URL: pano.xml
Load 0: pano_f.jpg
Load 1: pano_r.jpg
Load 2: pano_b.jpg
Load 3: pano_l.jpg
Load 4: pano_u.jpg
Load 5: pano_d.jpg
Error #2035: URL Not Found. URL: pano_f.jpg
Error #2035: URL Not Found. URL: pano_r.jpg
Error #2035: URL Not Found. URL: pano_b.jpg
Error #2035: URL Not Found. URL: pano_l.jpg
Error #2035: URL Not Found. URL: pano_u.jpg
Error #2035: URL Not Found. URL: pano_d.jpg


Any suggestions?

maimoy
06-07-2007, 09:10 AM
I solved the problem with examples.

I went to IIS console and i create a virtual directory to the path of examples, and everything works fine!