PDA

View Full Version : about hideapano encrypted the the xml


neither
06-09-2008, 05:27 AM
i just use hide a pano encrypted the the xml,do not encrypt the MOV,so i write the xml like this:
...
...
panoType= mov
...
...
it can work !
Parts of codes of my XML:

<parameters>
loaderTextColor = #b0b0b0
loaderBackColor = #000000
behaviour = 2
sensitivity = 160
friction = 0.75
segments = 25
threshold = 0.0000001
zoomHome = 0.65
qualityMotion = low
qualityStatic = best
layer_1 = swf/hotspots.swf
layer_2 = swf/autorotator.swf
layer_3 = swf/pesonalizt.swf
layer_4 = swf/glassMeterV.swf
layer_5 = swf/limits.swf
layer_6 = swf/cylConverter.swf
layer_7 = swf/movDecoder.swf

panoType= mov
loadertext = 0
panHome = 10
tiltHome = 0
</parameters>


i write my html code like this, the pano can work:
---------------------------------------------------
<script type="text/javascript">
var so = new SWFObject("swf/show_pano.swf", "pano", "100%", "100%", "6.0.65", "#282828");
so.addVariable("movie", "swf/pano.swf?xml_file=cubeqtvr.xml&panoName=my_pano_file/my_mov_name");
so.addVariable("redirect", window.location);
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.addParam("menu","false");
so.write("flashcontent");
</script>
---------------------------------------------------

but when i use hide a pano encrypted the the xml,my pano can't work,i use the code like this:

---------------------------------------------------
<script type="text/javascript">
var so = new SWFObject("shell.swf?fpp=swf/pano.swf?xml_file=cubeqtvr.xml&panoName=my_pano_file/my_mov_name", "pano",
"100%", "100%", "9", "#282828");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.addParam("menu","false");
so.write("flashcontent");
window.document["pano"].focus();
</script>
---------------------------------------------------

My code from mistake?please help me ,thank you!

Regards!
---------------------------------------------------

cheathamlane
06-09-2008, 03:44 PM
Hey neither:

You might post your hide-a-pano question in the forum specifically for flashpanos.com plugins:

http://flashpanos.com/forum

or directly to:
http://flashpanos.com/forum/41

Cheers,

neither
06-13-2008, 06:36 AM
hi cheathamlane :

i gave you the mail 9 days ago, he promised to take a look, but you didn't reply my mail,I have already mailed 5 e-mails to him.

so,If there are others know, please help me, thanks!

cheathamlane
06-13-2008, 03:10 PM
Hi neither:

If I could help you, I would. I don't know anything about hide-a-pano. :(

If you sent me an email, and I didn't respond -- please resend. What is your email address?

You might try sending to me using : cheathamlane [@] gmail.com

--
Also, The forums for the FlashPanos.com plugins are there for a reason -- Zephyr may not be checking the FPP forums for support requests for his plugins. This is why I suggested you go over there in the first place. :)

You might post your hide-a-pano question in the forum specifically for flashpanos.com plugins:

http://flashpanos.com/forum

or directly to:
http://flashpanos.com/forum/41

Again, if I could help with the hide-a-pano, I would.

--

Hang on. From the hideapano documentation, I see:
var so = new SWFObject("shell.swf?fpp=files/files/pano.swf&xml=enc.xml&", "pano", "100%", "100%", "9", "#282828");

It's possible you need to change your "&xml_file=" to simply "&xml=".

?

Cheers,

BillWard
06-13-2008, 08:04 PM
I think Patrick might be right. I got this working on my site with

<script type="text/javascript">
var so = new SWFObject("shell.swf?fpp=files/pano.swf&xml=celtic_tb.xml&", "pano", "100%", "100%", "9", "#000000");
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
window.document["pano"].focus();
</script>

Slightly different, but used "&xml="

My page from
http://billward.eu/pages_celtictb/page.htm

Bill

neither
06-14-2008, 03:40 AM
When I have 100 MOV Panorama, under normal circumstances need to write 100 XML, but can use another way to deal with, in fact, simply write the XML can, in XML, to write on panoType = mov, don't written panoName = xxx, and then write in HTML swf / pano.swf? xml_file = cubeqtvr.xml & panoName = xxx, so even if you have 1,000 Panorama you just need write a XML, very convenient!

but if used the HIDEAPANO to encrypt, this approach is not available, i have a bad english, hope that everyone can understand, thank you.

best regards!

cheathamlane
06-14-2008, 04:20 AM
I haven't used HideAPano, so maybe someone else can weigh in here (or on the flashpanos.com forum for this plugin ;) ).

Can you define the panoName in the HTML rather than in the XML, when using hideapano?

neither
06-14-2008, 06:38 AM
yes

write panoName in the HTML,panorama can works!

when used the hideapano,it can't work!

cheathamlane
06-15-2008, 01:09 AM
Hi neither:

:)

I think this is the crux of the issue. I believe you will need to define the name in the HTML, if you want to use one encrypted XML file for many panoramas.

Again, I can't really speak to this since I haven't used hideapano(!).

Cheers,