Accessibility
 
Home > Products > Flash > Support > Building Applications
Flash Icon Macromedia Flash Support Center - Building Applications

 

Creating forms with UI components in Macromedia Flash MX

This tutorial will teach you how to create a simple order form using the Macromedia Flash UI components in Macromedia Flash MX. You'll also learn how to use the LoadVars ActionScript object to submit form data to a server and display the server's response. The following live sample uses Macromedia ColdFusion Server to handle the submission of the form data.

 


This sample file requires the latest version of the Macromedia Flash Player.

Download it now.

 

This tutorial is intended for intermediate Flash users who have working knowledge of ActionScript and access to a web server running either ColdFusion Server or Microsoft Active Server Pages (ASP). You can download a free trial of ColdFusion Server, or request an evaluation CD, on the ColdFusion Free Trial Download page.

To complete this tutorial, you will need to download the tutorial files. Included in the download folder are sample ColdFusion and ASP files that you can use to handle the submitted form data.

Download the Windows creating_forms source files (296K)
Download the Macintosh creating_forms source files (232K)

If you have trouble downloading or decompressing the files, see TechNote 13686.

When the file decompresses, a folder named order_form is created on your system.

About components
About the LoadVars object
About the ColdFusion and ASP files
View and test the completed sample
Add components to the form
Configure the components
Write ActionScript to select all toppings
Write ActionScript to reset the form
Write ActionScript to gather and submit the form data
Write ActionScript to display the server's response
Going forward: Component skins


Tim Statler

Tim Statler writes tutorials for the macromedia.com support site.

14 March 2002

Flash, forms, components, list box, combo box, radio button, check box, scrolling text, ColdFusion, ASP, tutorial

9908