MACROMEDIA FLASH MX 2004-DATA Tutorials Manual Download Page 2

Trademarks

Add Life to the Web, Afterburner, Aftershock, Andromedia, Allaire, Animation PowerPack, Aria, Attain, Authorware, 
Authorware Star, Backstage, Bright Tiger, Clustercats, ColdFusion, Contribute, Design In Motion, Director, Dream Templates, 
Dreamweaver, Drumbeat 2000, EDJE, EJIPT, Extreme 3D, Fireworks, Flash, Flash Lite, Flex, Fontographer, FreeHand, 
Generator, HomeSite, JFusion, JRun, Kawa, Know Your Site, Knowledge Objects, Knowledge Stream, Knowledge Track, 
LikeMinds, Lingo, Live Effects, MacRecorder Logo and Design, Macromedia, Macromedia Action!, Macromedia Breeze, 
Macromedia Flash, Macromedia M Logo and Design, Macromedia Spectra, Macromedia xRes Logo and Design, MacroModel, 
Made with Macromedia, Made with Macromedia Logo and Design, MAGIC Logo and Design, Mediamaker, Movie Critic, 
Open Sesame!, Roundtrip, Roundtrip HTML, Shockwave, Sitespring, SoundEdit, Titlemaker, UltraDev, Web Design 101, what 
the web can be, and Xtra are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in the United 
States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned 
within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and may be 
registered in certain jurisdictions including internationally.

Third-Party Information

This guide contains links to third-party websites that are not under the control of Macromedia, and Macromedia is not 
responsible for the content on any linked site. If you access a third-party website mentioned in this guide, then you do so at your 
own risk. Macromedia provides these links only as a convenience, and the inclusion of the link does not imply that Macromedia 
endorses or accepts any responsibility for the content on those third-party sites.

Speech compression and decompression technology licensed from Nellymoser, Inc. (www.nellymoser.com). 

Sorenson™ Spark™ video compression and decompression technology licensed from Sorenson Media, Inc.

Opera ® browser Copyright © 1995-2002 Opera Software ASA and its suppliers. All rights reserved.

Apple Disclaimer

APPLE COMPUTER, INC. MAKES NO WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING THE 
ENCLOSED COMPUTER SOFTWARE PACKAGE, ITS MERCHANTABILITY OR ITS FITNESS FOR ANY 
PARTICULAR PURPOSE. THE EXCLUSION OF IMPLIED WARRANTIES IS NOT PERMITTED BY SOME STATES. 
THE ABOVE EXCLUSION MAY NOT APPLY TO YOU. THIS WARRANTY PROVIDES YOU WITH SPECIFIC 
LEGAL RIGHTS. THERE MAY BE OTHER RIGHTS THAT YOU MAY HAVE WHICH VARY FROM STATE TO 
STATE.

Copyright © 2004 Macromedia, Inc. All rights reserved. This manual may not be copied, photocopied, reproduced, 
translated, or converted to any electronic or machine-readable form in whole or in part without prior written approval of 
Macromedia, Inc.

Acknowledgments

Director: Erick Vera

Project Management: Julee Burdekin, Erick Vera

Writing: Jay Armstrong, Jody Bleyle, Mary Burger, Francis Cheng, Jen deHaan, Stephanie Gowin, Phillip Heinz, Shimul Rahim, 
Samuel R. Neff

Managing Editor: Rosana Francescato

Editing: Mary Ferguson, Mary Kraemer, Noreen Maher, Antonio Padial, Lisa Stanziano, Anne Szabla

Production Management: Patrice O’Neill

Media Design and Production: Adam Barnett, Christopher Basmajian, Aaron Begley, John Francis

Second Edition: June 2004

Macromedia, Inc.

 

600 Townsend St.

 

San Francisco, CA 94103

Summary of Contents for FLASH MX 2004-DATA

Page 1: ...Data Tutorials...

Page 2: ...his guide then you do so at your own risk Macromedia provides these links only as a convenience and the inclusion of the link does not imply that Macromedia endorses or accepts any responsibility for...

Page 3: ...to a public web service 5 Create a user interface and bind the components with the web service 7 XML Tutorial Timesheet Flash Professional Only 11 Create the user interface 12 Edit the data 16 XUpdate...

Page 4: ...4 Contents...

Page 5: ...blic web services directly from within any client side application For more information see About data connectivity and security in Flash Player in the Data Integration chapter in Using Flash in Flash...

Page 6: ...service has one method called getTipByProduct This method accepts a single parameter called product The parameter is a string that tells the web service what Macromedia product you want to see a tip f...

Page 7: ...omponents panel select UI components ComboBox Drag a ComboBox component to the Stage In the Property inspector enter the instance name products_cb 2 In the Components panel select UI components Button...

Page 8: ...s Now add a binding for the WebService connector component from the Macromedia Tip service to ComboBox component that allows the user to choose a product and return a tip about the product 7 Select th...

Page 9: ...will bind the results parameter in the web service connector to the TextArea component on the Stage 9 In the Component inspector click the Add Binding button again In the Add Binding dialog box selec...

Page 10: ...the items in the ComboBox instance to the contents of the array products_cb dataProvider Flash Dreamweaver Note If necessary you can use the setStyle method to change the color of the Label instance t...

Page 11: ...use of a public web service in this tutorial does not imply that you should use one for real world applications In fact Macromedia does not recommend using public web services directly from within any...

Page 12: ...nce name timeInfo_ds 5 On the Stage select the XMLConnector component In the Component inspector click the Schema tab Select the results XML property then click the Import a Schema from a Sample XML F...

Page 13: ...ld and change it to Date This tells the DataBinding component to try to work with this value as a date For more information on data binding and data types see Schema data types in the Data binding sec...

Page 14: ...hema field and change it to Number so that it is not limited to integer values 15 In the Component inspector click the Bindings tab and create a binding between the row array and the DataSet component...

Page 15: ...operty inspector enter the instance name timeInfo_grd 24 In the Component inspector click the Bindings tab Create a binding between the DataGrid component s dataProvider property and the DataSet compo...

Page 16: ...dify the application so that you can edit data through the DataGrid component 1 On the Stage select the DataGrid component Then click the Parameters tab in the Component inspector 2 Set the editable p...

Page 17: ...ions but will work in the Flash authoring environment or Flash Player Note The use of a public web service in this tutorial in no way implies that you should use one for real world applications In fac...

Page 18: ...ute of the datapacket row node is the unique identifier and it will be mapped to the DataSet component s ID schema field This is defined with the following expression datapacket row id id 6 In the Com...

Page 19: ...ketInfo parameter of the XUpdateResolver component to true using the Component inspector Note Additional information is added to the update packet This information can be used by the server to uniquel...

Page 20: ...20 XUpdate Tutorial Update the Timesheet Flash Professional Only...

Reviews: