Hi all,
i am making a web page for a friend that will be at pembrokecycle.com,
I am a Flash AS coder with little experience with Flex, but I knew 
that it would be a little easier with data, so I used that instead 
(plus, the components look nicer).  I am pretty much done with every 
thing else except for the "Contact Us" page. In flash, I know to use 
a php script with a new Load Vars class, but I have no idea what to 
do with flex. I have seen Google searches with coldfusion, but no 
tuts.  I don't even know if google domains (which he is using), 
supports coldfusion, so i would like to save that as a last resort.  
some one please help me.
Also, im only 16, so please keep the explanation a little dumbed 
down, even though i could probably understand it anyways.
**********
[code]
<mx:Panel label="Contact Us" width="100%" height="100%" 
title="Contact Us"  horizontalAlign="center" verticalAlign="middle">
<mx:Form width="100%" height="100%">
<mx:FormItem label="E-Mail" width="100%" required="true">
<mx:TextInput width="100%" id="emailBox"/>
</mx:FormItem>
<mx:FormItem label="Subject" width="100%" required="true">
<mx:TextInput width="100%" id="subjectBox"/>
</mx:FormItem>
<mx:FormItem label="Message" width="100%" height="200" 
required="true">
<mx:TextArea width="100%" height="200" id="messageBox"/>
</mx:FormItem>
<mx:Button id="submit" label="Submit">
<mx:enterFrame>
<![CDATA[
if (isEmail && isSubject && isMessage){
submit.enabled = true;
} else {
submit.enabled = false;
}
]]>
</mx:enterFrame>
</mx:Button>
</mx:Form>
</mx:Panel>
[/code]

Reply via email to