Visit SlideShowPro.net  Community Forums
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Standalone

SlideShowPro Director

SlideShowPro Director Hosting

ThumbGrid

Page last modified by tdominey on December 20, 2008, at 07:03 AM
Commands menu

SlideShowPro for Flash and SlideShowPro ThumbGrid install some handy JSFL scripts to the "Commands" menu of the Flash IDE that aid with a number of repetitive tasks, including adding the component to the Stage, adjusting dimensions, and importing / exporting component parameters. We'll walk through each of these commands in alphabetical order.

Commands installed by SlideShowPro for Flash

SSP - Attach SlideShowPro

This script adds SlideShowPro Flash to the Stage of your FLA. Select it from the Commands menu, and the component will be added to your Stage and aligned to the top-left corner. SlideShowPro will automatically receive an instance name of "my_ssp".

SSP - Export Param XML / SSP - Import Param XML

For the times when you need to replicate the settings applied to a component instance, or (with SlideShowPro) upgrade a movie from ActionScript 2 to 3, the pair of "Export" / "Import" scripts are there to help. These scripts work with both SlideShowPro and ThumbGrid. Here's how to use them.

First make sure that your instance of SlideShowPro or ThumbGrid on the Stage of your FLA has an instance name (assigned through the Properties panel, accessible via Windows > Properties). The scripts require this in order to find the component.

Instance dialog

To export, select "SSP - Export Param XML" from the Commands menu. When prompted, enter the instance name of the component you wish to export parameter settings from. If the instance name is valid, a second dialog will appear asking where you want to save the xml file. Name it anything you like. When complete you'll have a XML file with all your component parameters inside.

To import, first make sure you have a parameter XML file ready to load (as created above with the "Export" script). Select "SSP - Import Param XML" from the Commands menu. When prompted, enter the instance name of the component you wish to import the parameter settings to. If the instance name is valid, a second dialog will appear asking you to select the XML file. Select it, then click Okay. Your exported parameters will be applied to the component instance.

Note: If your component instance names are valid, and the scripts aren't able to find the component(s), simply select the affected component instance, copy it, and paste into a new FLA. Then run the scripts again.

SSP - Fit SSP to Stage

Another common task is exporting a SWF that contains nothing but SlideShowPro in it. To save you the time and hassle of modifying the width, height and position of the component instance after changing your Stage size (through the Properties panel), this script changes the dimensions of your component instance so they're the same as the Stage and aligns it to to the top-left corner.

SSP - Fit Stage to SSP

This script is nearly the same as "Fit SSP to Stage" except it uses the Stage as the target dimension for your component instance.

Commands installed by SlideShowPro ThumbGrid

SSP - Attach ThumbGrid

This script adds SlideShowPro ThumbGrid to the Stage of your FLA. Select it from the Commands menu, and the component will be added to your Stage and aligned to the top-left corner. ThumbGrid will automatically receive an instance name of "my_tg".

SSP - Create Fixed ThumbGrid Size

If you have specific image dimensions you need to use with ThumbGrid, this script helps create a layout using those dimensions. Select the script from the Commands menu, and follow the prompts by entering your target image dimensions, plus values for spacing, padding, columns and rows. When complete your ThumbGrid instance will resize with your custom settings.

© 2010 Dominey Design Inc. All Rights Reserved.
About | Merchandise | Contact | Privacy policy | Legal | Licensing