PDA

View Full Version : Changing styles for the controller menu


neil
05-18-2007, 07:21 AM
Firstly thanks for a great piece of software Denis. A long awaited breakthrough!

I'm wondering where the colours are set for the green highlights on the controller drop-down menu. Is there a style sheet or list of parameters that can be customised? I'm still working with Flash MX 2004.

Also, can anyone tell me how you set the default view (pan, tilt & zoom) for the linked panorama in controller.xml? Does the linked panorama take it's settings from the default panorama?

Hope someone can assist.

Neil

Denis
05-20-2007, 08:25 PM
Controller dropdown menu is a standard Macromedia's combobox, you can change the view using styles (you can switch between "green", "blue" and "orange" theme) or editing the combobox assets. This described in Flash 2004 help in details.

There is a lot of ways to set the default position of the next panorama. I placed some examples in the manual, like this (loads the panorama and sets the default position):
onClick="pano.leash=free;loadPano(?panoName=images/pano2&panHome=180&tiltHome=-30, 1000, fade)" />
pano.leash tells the player to use different pant/tilt for old and new panoramas. panHome=180 is a default pan, panTilt=-30 is a default tilt. 1000 is a transition time, fade is a transition type.