Multipurpose Send Mail Form Builder

v2.0

 

How to use

With Flex Builder (for Flex developer)

To getting start, please use following simple steps:

  • Step1: Copy MSMF component (MultipurposeSendMailForm.swc file) to libs folder of your Flex Project.

  • Step2: Copy sendmail folder in MSMF package (which includes PHP scripts for sending mail and upload files) to your PHP (Web) server. You must ensure to access this script though http://. You can also put it on Web Server where your Flex Application will be hosted on.

Then you MUST modify PHP script for mail configuration you want. Refer to Mail configuration for how to do.

  • Step3: Create your XML file to design your form. For more details, see Form design.

  • Step4: In your Flex Project, drag MultipurposeSendMailForm component to suitable position on your GUI (or you can create dynamic using ActionScript 3).

  • Step5: Add following code to use this:

    <id of MSMF component>.xmlConfigurationFile = <link to your XML file in Step 3>;

    <id of MSMF component>.initAll();

After called initAll(), all components you defined in XML file will be shown in MSMF component.

Note: <link to your XML file in Step 3> can be http link or relative file path (normally stored in assets folder)

For advance using MSMF component, see Advance using

Without Flex Builder (for user)

From version 2.0, MSMF has the standalone version for using directly in HTML page without Flex Builder.

  • Step1: Copy sendmail folder in MSMF package (which includes PHP scripts for sending mail and upload files) to your PHP (Web) server. You must ensure to access this script though http://. You can also put it on Web Server where your Flex Application will be hosted on.

Then you MUST modify PHP script for mail configuration you want. Refer to Mail configuration for how to do.

  • Step2: Copy MSMFStandalone folder or add MSMFStandalone.swf file to your HTML page (see MSMFStandalone.html as example) to your web server.

  • Step3: Create or edit MSMF.xml file (in MSMFStandalone/assets) to design your form. For more details, see Form design.

  • Step4: Test your form by open your HTML page or MSMFStandalone.html though your web server

@

Back | Table of Contents | Next

 

Copyright © 2009 Best Flash Solutions, Inc. All rights reserved | Site map