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

Thursday, February 12th 2015, 7:49am

How to scale skin_control_bar on Flash player?

Hi!

I need a way to scale the control bar with all the buttons depending on the window size its displayed in.

something like the stagescale setting but for Flash.

like this example:

http://krpano.com/examples/118/examples/…scale-test.html

Can you help Klaus? anybody?

Thanks!

Alexey Tkachenko

Professional

Posts: 760

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Thursday, February 12th 2015, 10:27am

If you want to scale only the controlbar and its buttons, then you will have to recalculate all its width/height values (and also those of the buttons) using % values and "prop" E.g., controlbar will have 100% width and 15% height whereas each button inside is 30% height and width "prop" (which means proportional to height). And also you will have to consider here situations for Lanscape mode vs Portrait mode (controlbar which is 15% in height will get higher in Portrait obviously).

I wonder what the point of doing this?
Regards,

Alexey