Recipe 2.11 Setting the Dimensions of a Projector

2.11.1 Problem

You want to specify the dimensions of a Projector.

2.11.2 Solution

Use SWF Studio to create the Projector (Windows only). Set the size settings prior to building the project.

2.11.3 Discussion

If you are creating a Windows Projector, you can use SWF Studio to set the dimensions of the movie. Follow the steps in Recipe 2.10, substituting the following tasks for step 6:

  1. Choose the first item from the Project Tree. If you have saved your project, the item has the same name as your project; otherwise, the item is labeled Untitled.

  2. On the right, the Project Options pane appears, and the Output tab is selected by default. You can leave the output settings at their default values.

  3. Select the Window tab.

  4. In the Window tab, choose one of the following options:

    Full Screen

    This option forces the Projector to full screen, matching the monitor resolution at runtime.

    Fixed Size

    If you select this option, you must specify the dimensions (in pixels) to use for the Projector. The default is 500 x 400.

    % of Desktop

    This option scales the Projector to fit a percentage of the user's desktop. Because users can have different resolution settings on their computers, choosing a percentage can have different results than using Fixed Size.

    Match the Size of your Main Movie

    This option leaves the movie's dimensions as they are.

2.11.4 See Also

See Recipe 2.10 for more information on how to use SWF Studio.



ActionScript Cookbook
ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers
ISBN: 0596526954
EAN: 2147483647
Year: 2005
Pages: 425

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net