Skip to main content

Using the Skin Editor 1

Pano2VR - Help
Object2VR - Help

Legacy document. A new version of the Skin Editor was released in Pano2VR 4.5 and Object2VR 3.0. See the updated documentation.

A skin is added to a Flash movie to make the movie interactive. You can add images, buttons, and sound to the skin editor.

This page will explain the basic workflow and usage of the Skin Editor through a series of tutorials.

For a detailed explanation of the Skin Editor's interface, please visit this page.

◊ NOTE: In Windows, the skin editor will be associated with the last product installed. Clicking on a .ggsk file will open the skin editor in either Object2VR or Pano2VR depending which was last to be installed. To change priority reinstall the desired product.

◊ TIP: If you are building a multi-node tour (a virtual tour with more than one location), and do not have the pro version, then the skin must be in the first, opening panorama only.

Add a custom skin to your project[edit]

  1. In the Flash or HTML5 output settings, go to the Skin/Controller section and choose a skin from the menu.
    Skin/Controller section

  2. If you do not want to continue to edit the skin, then you are finished. Output your movie and test the skin. If you would like to edit your skin continue reading.

Edit a default skin or custom skin[edit]

  1. Go to Tools in the Menu Bar and choose, Skin Editor. This will open an empty Skin Editor.
  2. In the Menu Bar for the Skin Editor, go to File > Open. This will open the Skins directory.
    Choose a skin of your choice, and then click Open. This will add the skin to the Skin Editor.
  3. Next, choose File > Save As from the menu bar and save your skin with new name. Make sure it is saved to the Skins directory.
  4. Make your changes. (See the following sections for specific instruction on how to make certain changes.)
  5. When you are finished, save the skin.

You can now choose your edited skin in the Skin/Controller section of the Flash parameters for future use.

Add a clickable logo to a skin[edit]

Video loading...

Watch this video on YouTube

  1. Open a pre-installed, custom, or empty skin via the Menu Bar or Flash parameters.
  2. Import the logo or image either by:
    • Dragging it onto the Editor Window, or
    • Click on this button Add image.png, in the Toolbar, locate the image, and choose Open.
  3. Place your image within the Editor Window by dragging. For example, in the upper right corner.
    Edit skin image.png
  4. Anchor your image to the correct location. In our example we have anchored it to the upper right corner.
  5. To make it clickable and direct the user to a website, you need to add an action to it. Double click on the image in the Editor Window or Tree. This will bring up the Image Settings window.
  6. In the Image Settings, go to the Actions/Modifiers Tab.
  7. In the Actions section, choose Mouse Click as the Source and for the Action, choose Go To URL.
  8. Enter the full web address (for example, in the Url field.
  9. Click OK to return to the Skin Editor. Click OK again to exit the Skin Editor. Object2VR will ask if you want to save your changes. Choose, Yes. If needed, give your skin a name and save it.
  10. Output your movie and test the skin. Your image should be clickable.
    • ◊ TIP: In the Flash Parameters, choose None for Scaling if you do not want the movie to scale to the window size, and to keep your logo within the movie window rather than floating with the browser window.

Building a custom controller[edit]

Video loading...

Watch this video on YouTube

To build a custom controller, you can use buttons provided by Thomas, on the forums, (or others). Or build your images and import them to the skin.

For information on button states, please read this article.

  1. To start, drag your button images into the Editor Window. You can select multiple and drag them all at once. If you do this, they will be piled on top of one another. Just click on each button to move it.
    You'll be asked if they should be created as buttons or images. Choose Button.
  2. Adjust the Grid and Zoom level if you like.
    • Try increasing the Grid to snap at every 10-20 pixels.
    • Try a zoom level of 200%.
  3. Next, drag your buttons into an arrangement.
  4. Once they are arranged, you might find it handy to be able to move them all at once. This is the Container's job. Draw a Container (container button image here) around all the buttons.
  5. Next, add all the buttons that are part of the controller, as children of the Container by selecting them and dragging them on top of the Container. So your tree looks like this:
    Tree example
    • Now, when you move the Container in the Editor Window, your buttons should move with it.
  6. Anchor the Container to the bottom center of the window (or wherever you plan for your buttons to be positioned on the skin).
  7. Add a second button state (or more).
  8. Add the appropriate action to each button image.
    • Double-click on the the button image either in the editor window or the tree to bring up the element editor.
    • In the Actions tab, Choose Mouse Click for the Source, and then choose the appropriate Action. If a button has an arrow pointing left, the action would be Pan Left.
    • Repeat this process for each button.
  9. Finally, click OK and you'll be asked if you want to save the skin. Choose, Yes and give it a name and make sure to save it in the Skins Directory.
  10. Output your movie and test your skin!

Build a loading bar with text[edit]

Video loading...

Watch this video on YouTube

Part 1: Building the loading bar[edit]

  1. Open an empty Skin Editor or working in an existing project, choose Edit in the Skin/Controller section of the Flash Parameters to open an empty Skin Editor.
  2. Use the Rectangle Tool to draw a long, thin rectangle (this is your loading bar).
    Make any further size adjustments to the rectangle by dragging on the edges of the shape.
    ◊ TIP: Draw the rectangle to the desired full length of the loading bar.
  3. Next, double-click on the rectangle in the Editor Window or in the Tree to bring up the element parameters.
  4. To have your loading bar scale from left to right, change the Scaling's Center position to center-left: scaling left to right
    If you leave the Scaling Center setting to the center, the bar will scale out to both the left and right.
  5. Choose a background and border color if you like.
    • If you want the loading bar to be partially transparent, change the Alpha value to something less than 1.000.
  6. Next, in the Actions/Modifiers section, create an action to hide the loading bar when loading is done.
    • For the Source, choose Loaded and Hide Element as the Action.
    • In the Target field, leave the default value which is $self.
  7. To have the loading bar move, or scale, in relation to how much of the movie has been loaded, create a Modifier: Choose Scale X for the Target Value. This will make the rectangle expand (or move) along its X-axis.
  8. Choose Loading as the Source Value. This will cause the rectangle to animate in relation to loading time.
  9. To have the bar scale to its current length, keep the Factor at 1.000.
    • If you want the rectangle to scale to twice its original size, for example, change the Factor to 2.000.
  10. If your loading object must be visible from the beginning, increase the Offset. For example, if you want a portion of the loading bar to visible, choose an Offset of 1.

Part 2: Adding text[edit]

  1. Back in the Editor Window, Click the Text tool button, Text.png.
  2. Draw a text box in the Editor Window. Position it and size it accordingly.
  3. Next, double-click on the text box in the Editor Window or in the Tree to bring up the element parameters.
  4. Give it an ID if you wish. This is especially helpful if you have multiple text boxes and need to quickly distinguish between them.
  5. Type your text into the Text field, for example Loading.
    • ◊ TIP: You can use basic HTML tags here.
    • ◊ TIP: Use $p, to represent the percentage of how much the movie has loaded.
  6. Adjust the text color, text alignment, background and border colors if you like.
  7. Add an action to hide the text after the movie is finished loading. In the Actions/Modifiers tab, choose Loaded as the Source and Hide Element as the Action.
  8. Next, draw a Container, Container.png, around the elements (the loading bar and the loading text box).
  9. In the tree, make the elements children of the Container.
  10. Anchor the Container to the area of the window you wish.
  11. Anchor the elements to the Container. The top left is a good start.
  12. Click OK and save your skin.
  13. Add your skin to a Flash movie, output that movie, and finally, test your skin.

Add more than one state to a button[edit]

If you want your buttons to visually show that they are "clickable", you can add a slightly different version of your buttons to represent another state.

Choose which state you would like to work in from the State drop-down menu. Then drag button images intended for the specified state onto the already existing button images in the Editor.

Copy skin elements from one skin to another[edit]

You can copy all skin elements from one skin to another. When you do this, all the actions, parameters, etc. will copy as well:

  1. In an open Skin Editor, select the element to be copied and choose, Edit > Copy from the menu bar. (Or use the keyboard shortcuts: Windows: Ctrl + C; Mac: Cmd + C)
  2. Next, open either a new skin or an existing skin by going to File > New to open a new skin or File > Open to choose an existing skin, in the menu bar. With the new skin open, paste the element in the Editor by using the menu bar: Edit > Paste or use the shortcuts: Windows: Ctrl + V; Mac: Cmd + V.

Adding sound to the skin[edit]

Video loading...

Watch this video on YouTube

You can use the skin editor to add sounds to your panorama in just a few steps:

  1. Find your MP3 audio file and drag it into the Editor Window.
    You will see it appear in the Tree under the Sounds parent.
  2. Double-click on the sound in the tree to change its overall volume level or looping number.
  3. Open the settings for the button or image that will trigger sound (double-click on the element) and go to the Actions/Modifiers tab.
  4. Add the following Action:
    Source => Mouse Click; Action => Play Sound; Target: Choose the sound file (its ID) you just added from the drop-down menu.
  5. Output your project and test your movie!

See also[edit]

Skin Editor
Skin Sources
Skin Actions
Skin Modifiers
Basic three state button in Photoshop
Skin Editor
Using the Skin Editor
Pano2VR - Knowledge base - Skin Editor Actions, Hide, Show and Alpha not working properly