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 10-11-2006, 06:52 PM   #1
IMCanida
Registered User
 
Join Date: Oct 2006
Posts: 3
Default Small ComboBox Problem

I've recently got into Flash 8. I've only been messing with it for about 2 months or so. And Just started to learn more about actionscripts, since there pretty hard. I know the basics of them( stop command, how to make buttons, ect) But recently I'm trying to make a Website with multiple swfs. And one is pretty anyoning :P But should be very basic..

I'm trying to add a Combo Box mail sender swf. Its one of the most basic ones I could find very little code at all.


actionscript -
Code:
on (release) {
	if (to eq "" || from eq"" || subject eq "" || body eq "") {
		getURL("javascript:alert(\"All fields are required\");");
	} else {
		send = "done";
		loadVariablesNum("mail.php", 0, "POST");
		getURL("javascript:alert(\"Your mail has been successfully sent\");");
		to="";
        from="";
		subject="";
		body="";
	}
}

php -
Code:
<?

      if ($send=="done") {

      $to = escapeshellcmd($to);

      $subject = escapeshellcmd($subject);

      $body = escapeshellcmd($body);

      $from = escapeshellcmd($from);

      $tfrom = "From: <$from>";

      mail($to,$subject,$body,$tfrom);

      }

      ?>
Basically all I've been trying to do is make The ComboBox have a Variable of "to" since thats all it would need to work. Because right now all it uses is Dynamic Text boxs and each one has a different var for each ( from ,body, to, subject)

I searched for hours on these threads looking at different peoples posts with no luck to my answer. So if anyone could help me out I'd be very appreciative.


I attached the Mail.Fla
Attached Files
File Type: zip Mail.zip (90.8 KB, 105 views)
IMCanida 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
Combobox Problem!! Sunny13 Components 0 06-18-2006 01:19 PM
combobox weird problem gio Components 0 06-17-2006 11:25 PM
Weird problem with ComboBox vinco Components 1 07-06-2005 10:55 AM
another comboBox problem ??? vosgien Components 5 07-09-2003 01:38 AM
Combobox problem ddpicha Components 1 12-17-2002 01:00 PM


All times are GMT. The time now is 03:25 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.