Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-27-2008, 04:26 PM   #1
artbunny
young grasshopper
 
Join Date: Jun 2007
Posts: 22
Question checkBox and formMail question

Hello! I am completely new to using components but I was hoping to add a checkBox component to my swf which in turn speaks to a formMail...the problem for me comes when the status of the checkbox is not sent to me as all the other variables of the formMail are (sender, subject, message, etc.)...maybe because I'm unclear where to define the checkBox's variable and how to get that variable sent to the formMail etc....

Can someone tell me how to do this? Please explain in the simplest terms as I am virtually a complete and utter n00b at...both.

PS- the formMail I am using is Matt's

and also if someone can tell me how to embed a font into the label of the checkBox properly, that would also be lovely. Thanks so much!
artbunny is offline   Reply With Quote
Old 02-27-2008, 04:32 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

[MODERATOR]
Moving to the Components forum...
[/MODERATOR]
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 02-27-2008, 04:37 PM   #3
ASWC
Super Moderator
 
ASWC's Avatar
 
Join Date: Dec 2007
Location: Greenville, SC
Posts: 6,528
Default

You can just check if the checkbox is selected and then set a variable for example:

if(yourCheckBoxName.selected == true){
var theResult = "the check box was selected";
}

then you send "theResult" to your server side script
__________________
aswebcreations
Super Duper!
ASWC is offline   Reply With Quote
Old 02-28-2008, 04:15 AM   #4
artbunny
young grasshopper
 
Join Date: Jun 2007
Posts: 22
Red face the more you know, the less you know...

sorry I didn't realize components had its own forum! And thanks for the quick reply ASWC!

do I put this AS code on the checkbox itself, or the frame, or the send button on my form..? Do I need to embed the checkbox in a movie clip? Do you know how I might send variables to the formMail? I'm not sure how to make the formMail recognize variables that it wasn't pre-programmed to recognize....

Sorry for all the questions and thanks for your patience!
artbunny is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another formmail variables question! tintin99 ActionScript 1.0 (and below) 4 07-30-2004 03:59 PM
Send Checkbox info kafir ActionScript 1.0 (and below) 1 04-15-2004 07:04 AM


All times are GMT. The time now is 07:40 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.