EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Page 604

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
604 Using Templates
Modifying and adding window content
Window content is created on subforms of the Application form. The template comes with
four forms: a calendar, a DataGrid component showing simulated inbox content, a scroll pane
showing an image, and a login form.
To modify window content:
1. Select any form in the outline and replace the contents with components of your choice.
You can even add data connectors to populate your components with remote data. For
more information about data connectors, see Chapter 1, “About Components” in Using
Components.
2. After altering the contents of a form, make sure that the window component that will load
the form is sized properly, so your form’s content won’t appear clipped at runtime.
To add new windows and content:
1. Create a new form in the Screen Outline pane, and give it an instance name. Make sure
that its
visible property is set to false.
2. Create a new window component on the Application screen, and set its contentPath
property to the instance name of the form you’ve created.
3. Add content to your new form.
At runtime, a copy of your form is loaded into the window component.

Table of Contents

Related product manuals