You are not logged in.

milotimbol

Intermediate

  • "milotimbol" started this thread

Posts: 242

Location: Philippines

Occupation: Software Developer

  • Send private message

1

Thursday, March 17th 2011, 10:18am

How to get flash player width / height

Hi,

I implemented xml scrolling thumb here

http://www.360philippines.com/businesses…resort-and-spa/

Basicalyl what I want to do is that the width of the thumbnail container will adjust depending on the width of krpano. So if a user clicks full screen the container will adjust its size so that the right most end is just beside the controls.

I know how to adjust the sizes of the thumbnail controllers. What I dont' know is how to get the current width of the player. Is that possible?

Thanks,
Milo

mindlessboss

Professional

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Thursday, March 17th 2011, 12:57pm

stagewidth, stageheight
trace(flash width=,get(stagewidth),' flash height=',get(stageheight) );

Hope this help
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

3

Thursday, March 17th 2011, 2:51pm

Milo - cant see your xml but on my 22" monitor the panos seem very stretched at the edges. you should use DFOV to reduce that. also some of you panos are very crooked. the lower balcony is bad the upper is ok. i found at least 3 of them where the horizon is not level. add some horizontal control points in ptgui and it will correct that.