MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 30

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

In the Tools panel, select the Rectangle tool. Set the Stroke color to None and the Fill color to
14.
white.
Click the Stroke Color control in the Tools panel and click the None button—the white
swatch with a red line through it. Click the Fill Color control and click the white color swatch.
Drag to create a rectangle that extends beyond the bottom and right edges of the Label and
15.
TextInput instances.
Create movie clips for the Shipping Information pane
The movie clips for the Shipping Information pane are very similar to those for the Billing
Information pane. You'll also add a CheckBox component, enabling users to populate the
Shipping Information form fields with the same data they entered in the Billing Information
pane.
Follow the earlier instructions (see
1.
on page
28) to create the movie clips for the Credit Card Information pane. Note these naming
differences:
For the first movie clip, enter checkout2_mc for the symbol name and checkout2_sp for the
instance name. In the Property inspector's Parameters tab, set the
checkout2_sub_mc
For the second movie clip, enter checkout2_sub_mc for the symbol name.
For the TextInput instances, change "billing" to "shipping" in the instance names.
With the checkout2_sub_mc movie clip open in symbol-editing mode, drag an instance of the
2.
CheckBox component onto the Stage and position it just above the first Label instance.
Make sure to place this instance on Layer 1, along with the other component instances.
In the Property inspector, enter sameAsBilling_ch for the instance name.
3.
Click the Parameters tab. Set the
4.
Create movie clips for the Credit Card Information pane
The movie clips for the Credit Card Information pane are also similar to those for the Billing and
Shipping Information panes. However, the nested movie clip for the Credit Card Information
pane has somewhat different fields than the other two panes, for credit card number and other
card data.
Follow steps 1-11 of the Billing Information instructions (see
1.
Information pane" on page
Note these naming differences:
For the first movie clip, enter checkout3_mc for the symbol name and checkout3_sp for the
instance name. In the Property inspector's Parameters tab, set the
checkout3_sub_mc
For the second movie clip, enter checkout3_sub_mc for the symbol name.
30
Chapter 2: Creating an Application with Components (Flash Professional Only)
"Create movie clips for the Billing Information pane"
.
property to
label
28) to create the movie clips for the Credit Card Information pane.
.
contentPath
Same As Billing Info
"Create movie clips for the Billing
contentPath
property to
.
property to

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents