You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, November 21st 2008, 11:21am

Send vars in html, more than pano

Hi, i need an mode for send flash in html, more than pano, like i saw in documentation. Can it make possible.
thanks.

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Friday, November 21st 2008, 2:27pm

I suppose you are talking about Scripting with Javascript... If so, take a look at the examples folder included in KRPANO downloaded file. In this folder you can find 3 Javascript example that are useful to understand Scripting with Javascript.
I hope this is what you are looking for... :) If not, sorry... :(

Michel

3

Friday, November 21st 2008, 5:06pm

Hi,

everything can be accessed and modified also from Javascript,
just use the get(), set(), and call() functions of the krpano object,

best regards,
Klaus

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

4

Saturday, November 22nd 2008, 8:03am

flash vars?

I read the question as trying to find out what other bits of information can be passed into the krpano.swf via the flash vars when embedding via swfobject?

example:

Source code

1
2
3
		var flashvars = {
			pano: "some.xml" 
		};



what else can be identified in the "var flashvars" area?

At least that's how I've understood the question...

Graydon

5

Saturday, November 22nd 2008, 11:54am

Hi,

on embedding also everything can be passed,
for example - to set the fov to 90 and the details to 22: (SWFOject 2.1 example)

Source code

1
var flashvars = { pano: "some.xml", "view.fov":"90", "display.details":"22" };


regards,
Klaus