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

Sunday, November 28th 2010, 6:54pm

Events on rotate iphone/ipad

Hi,

Is it possible to start an action (or event) when we rotate the iphone/ipad ?
I need to change some dimensions in my interface (have a larger thumbsroll in landscape mode).

Thanks for your help

Klaus : i hope you will never stop to developp krpano because it's a fantastic pano player !

Best regards

Eric

2

Wednesday, December 1st 2010, 11:53am

Hi,

you could use the onresize event for this case,
the stagewidth and stageheight variables will hold the new window size,

best regards,
Klaus