You are not logged in.

1

Thursday, January 30th 2014, 2:34am

swf file's url only work when on the same level with pano.xml

Hi,
I have this plugin:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
 <plugin name="info_box" url="1.swf"
		visible="true"
		enabled="true"
		capture="true"
		children="true"
		handcursor="false"
		keep="true"
		zorder="40"
		onover=""
		onout=""
		align="lefttop" edge="lefttop"
		scale="1"/> 


when the url="1.swf" it works perfectly,
BUT when I change the url to url="folder1/1.swf" ((same swf file with same realted files of it)) it loads, but gives me the error "files missing" these "files" are related to the swf file, I made sure I have all files on all level, but nothing is working.

help!

2

Thursday, January 30th 2014, 9:36pm

nothing?

the swf file DOES work on its own, it need files to be on the same level, I made sure all its files are there.

and the file loading inside the pano, but says: missing files

3

Friday, January 31st 2014, 8:26am

Hi,

that is the way how the Flashplayer itself is working - all paths are relative to root swf file. When loading other swf files into the current swf file, then they run in the same context of the root swf and share the same paths. Changing that is not possible.

That means it's technically not possible that krpano would inject into any other swf file and correct there the paths.

Best regards,
Klaus

4

Saturday, February 8th 2014, 7:32am

Hi thank you for your reply

Is there any other solution to that? I have about 20 swf flipbook files that have other files, they're all named content.swf and I can put them all in the main tour.xml folder.

I just want to display them and being able to make them visible/invisible, and flip pages.

Note: I embedded them using 20 "html:data" tags with textfield as src="...../book1/content.swf >>> etc. the work perfectly offline but when testing the tour on amazon S3 they're not working

5

Saturday, February 8th 2014, 10:26am

ok I managed to make it work offline by adding <plugin name="flipbook" url="books/booklets/book1/bookcontent.swf?book.bin=books/booklets/book1/files/book.bin" />

(It didnt find its files before when its in a folder other than the pano.swf folder)

AGAIN, it works offline, but not online.!!!!!!!!!!!!!!!!!!!