Layer Preferences

     

Before you create layers for layout purposes, you should indicate your preferences for the default settings new layers should use. This is done in the Layers category of the Preferences dialog box (see Figure 9.8). Go to Edit, Preferences, Layers.

Figure 9.8. The Layers preferences control the default settings for layers.

graphics/09fig08.jpg

graphics/09fig08_alt.jpg


The preferences are as follows :

  • Visibility ” This sets a layer's visibility. Your options here are Default, Inherit, Visible, and Hidden. Default specifies that the browser default should be used, which gives control to the user but takes away some control from the developer. When no visibility is selected, most browsers default to Inherit. Inherit uses the visibility property of the layer's parent and should be used with nested layers. Visible displays the layer contents, regardless of the parent's value. Hidden hides the layer contents, regardless of the parent's value.

  • Width and Height ” This sets the default width and height (in pixels) for inserted layers (those created by dragging from the Draw Layer button in the Insert Bar or by selecting Insert, Layout Objects, Layer).

  • Background Color ” This sets the color used in the background of layers. Clicking on the Color Box takes you to the Color Cubes palette and Continuous Tone palette, where you can use the eyedropper to choose a Web-safe color. All colors on the Color Cubes and Continuous Tone palettes are Web-safe. Clicking on the color wheel button takes you to the System Color Picker, which allows you to choose a custom color ”including ones that are not Web-safe.

  • Background Image ” This sets a default background image. Enter the image file to use in the text box, or click the Browse button to locate the file on your computer.

  • Nesting ” When you draw a layer within the boundaries of another layer, it becomes nested in that layer when this option is checked. Whatever you choose for this setting can be temporarily overridden if you hold (Option) [Alt] when drawing a layer.

  • Netscape 4 Compatibility ” Netscape 4 browsers have a known bug that causes layers to be positioned incorrectly when a user resizes his browser. This option inserts a JavaScript function into the document head that forces the page to reload whenever the browser window is resized. This option can also be toggled on and off by using the command Add/Remove Netscape Resize Fix on the Commands menu.



Using Macromedia Studio MX 2004
Special Edition Using Macromedia Studio MX 2004
ISBN: 0789730421
EAN: 2147483647
Year: N/A
Pages: 339

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