Multipurpose Send Mail Form Builder

v2.0

 

Form design

Button

This is the Flex Button component. Following properties can be used in XML file

Properties Optional Value type Default value Meaning
type No String   Must be "Button"
name No String   Name of this Button object instance. It is similar to id field of Flex component. This property value must be unique in XML form file.
x No Int   X, Y position of Button on form
y No Int  
width No Int   Width, Height of Button on form
height No Int  
label No String   Label text displayed on button
fillColors No String   background color of button
color No String   text color of label
toolTip Yes String "" Tooltip of this Button

Example

   <object>
      <type>Button</type>
      <name>btn1</name>
      <x>10</x>
      <y>40</y>
      <width>100</width>
      <height>20</height>
      <value>Button1</value>
      <backgroundColor>red</backgroundColor>
      <textColor>#c9fc9f</textColor>
      <toolTip>Demo button</toolTip>
   </object>
   <object>
      <type>Button</type>
      <name>btn2</name>
      <x>110</x>
      <y>40</y>
      <width>100</width>
      <height>20</height>
      <value>Button2</value>
      <backgroundColor>cyan</backgroundColor>
      <textColor>#c9fc9f</textColor>
      <toolTip>Demo button</toolTip>
   </object>
   <object>
      <type>Button</type>
      <name>btn3</name>
      <x>210</x>
      <y>40</y>
      <width>100</width>
      <height>40</height>
      <value>Google.com</value>
      <backgroundColor>green</backgroundColor>
      <textColor>#c9fc9f</textColor>
      <toolTip>Press to open google</toolTip>
      <actions>
         <name>OpenLinkGoogle</name>
      </actions>
   </object>

And the result:

    

The 3rd button will call action OpenLinkGoogle when clicked. OpenLinkGoogle action should open link to http://google.com in action list declaration.

Back | Table of Contents | Next

 

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