• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Adding a Window

The Window component lets you display the contents of a movie clip inside a window using a title bar, a border, and an Close button (optional). The Window component lets you create complex Flash documents with one or more windows controlling the viewing of multiple movie clips. Since a movie clip can contain anything from a static image to video, the Window component gives you the creative freedom to choose what design elements best suit your Flash document, and then incorporate them on the Stage. In addition, since movie clips can contain their own play, stop, and rewind buttons, you can use the Window component to load the movie clip, and then use the clip’s internal controls to play the movie. Finally, use the Close button on the Window component to unload the clip when finished.

Add a Window Component

1.
Open the Components panel.

2.
Click the UI Components Expand triangle.

3.
Drag the Window component onto the Stage, and then select the window.

4.
Open the Component Inspector panel, and then click the Parameters tab.

5.
Select from the following Window parameters:

  • closeButton. Click the value field, and then select whether the Close button is available (true) or disabled (false).

  • contentPath. Click the value field, and then enter the full path name to the movie clip you want to display.

  • title. Click the value field, and then enter the name that will appear in the title bar.

  • enabled. Click the value field, and select true, the Window can be accessed. If you select false, the Window appears grayed out and is not usable.

  • visible. When you click the value field, and select true, the Window can be viewed. If you select false, the Window is invisible.

  • minHeight. Click the value field, and then enter a minimum height for the Window.

  • minWidth. Click the value field, and then enter a minimum width for the Window.

  • skinCloseDisable. The value field represents the name of the formatting .fla document used for the Close button, when disabled.

  • skinCloseDown. The value field represents the name of the formatting .fla document used for the Close button, when down.

  • skinCloseOver. The value field represents the name of the formatting .fla document used for the Close button, when the mouse is over.

  • skinCloseUp. The value field represents the name of the formatting .fla document used for the Close button, when Up.

  • skinTitleBackground. The value field represents the name of the formatting .fla document used for the title background.

  • TitleStyleDeclaration. Click the value field, and then enter the path to a style declaration that formats the title bar of a window (CSS).

6.
Click the Control menu, and then click Test Movie.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint