MACROMEDIA FLASH 8-FLASH Specifications Page 279

  • Download
  • Add to my manuals
  • Print
  • Page
    / 290
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 278
Create the user interface 279
3. In the Component inspector or the Property inspector, click the
Parameters tab. For the URL parameter, enter data.xml, and for the
Direction parameter, select Receive from the pop-up menu.
4. From the Components panel, drag a DataSet component on the Stage.
In the Property inspector, enter the instance name timeInfo_ds.
5. On the Stage, select the XMLConnector component. In the
Component inspector, click the Schema tab. Select the
results:XML
property, and then click Import a Schema from a Sample XML File on
the upper-right side of the Schema tab.
6. Browse to where you saved the data.xml file, and select the file.
The Schema tab now shows the structure of the data in the file. The
row node is mapped to an ActionScript array of anonymous objects,
because it repeats several times within the XML file. Any subnodes or
attributes directly under the row node are considered properties of the
anonymous objects contained within the array.
For more information about how Flash translates XML documents into
an internal schema representation, see “Data Integration (Flash
Professional Only)” in Using Flash.
NOTE
Alternatively, you can select Import XML Schema from the Component
inspector title bar menu.
Page view 278
1 2 ... 274 275 276 277 278 279 280 281 282 283 284 ... 289 290

Comments to this Manuals

No comments