ActionScript 2.0 :: Input Text Passing Extra Info To PHP?
Nov 23, 2009
So I'm building a little contact form in flash and it works, but it is passing along all of the font styling information into the email sent to the client. Kind of annoying. I want it just to send the plain text.
Here's what I'm using:
This code is in the actionscript, picking up the input text fields and posting them to the PHP file. It also tells a status box to update with current info:
Code:
loadVariables("send_email.php?flashmo=" + random(1000), this, "POST");
message_status.text = "sending...";
var i = 0;
[Code]....
View 2 Replies
Similar Posts:
Aug 20, 2007
I am trying to pass information to a many dynamic text fields when rolling over various movieclips that are generated using a loop. I have tried everything I know but can not get pahting to work prpoerly. The rollover works in that the curser changes by does not execute the lines of code within the in line function.(see red, bolded text (towards bottom) for problem). the Attached zipped swf is what it looks like as is.
Code:
//how many floors are there in the building?
var floors:Number = 25;
[code].....
View 2 Replies
Feb 24, 2008
I have an input text field that the user is going to type their name into in a form and then press 'next'.
After they press 'next' I want their name to show up in the next form (which all will be contained in one movie clip on the same html page)
View 9 Replies
Mar 23, 2009
I have two separate text input fields (line1 and line2) that I want to pass their contents to two dynamic text fields (result1 and result2) within the same frame. line1 ---> result1line2 ---> result2I would like to do this so that when you type in the text it updates at the same time as you type).
View 8 Replies
Jul 29, 2009
I am creating a flash website with as storefinder.. There is an input text field in flash and a search button which when pressed will load a javascript function that uses the input text var.
i can call the function using this method - getURL("javascriptpenMap()", "", "POST");
but how can i pass it the variable from my input text field?
View 2 Replies
Aug 24, 2009
I'm having a problem getting my data from input text fields to pass to the ASP script using getURL and "POST". The input fields have var of email and password. The form works fine when an html form passes the same variables.
on the submit button, I have this code
ActionScript Code:
on(press){
//loadVariablesNum("samplescript.asp",0,"post");
getURL("samplescript.asp",0,"post");
[Code]....
where to look to pass the variables from the input text fields?
View 0 Replies
Dec 10, 2006
I'm tyring to get the value of inputName inside a onClipEventThe Layout:
Frame 1:
Input Text field named inputName
Button with gotoandstop(3) action
[code]......
View 3 Replies
Apr 1, 2010
I have a single text input box in a flash form that i would like to show up in a particular area on a separate html page.
View 3 Replies
Feb 14, 2007
I've had a site running for a few months that takes fourinput text boxes (name, e-mail, subject and message) and posts thevalues to an ASP page which composes an e-mail with a CDO.Messagecommand. For some reason (nothing has been changed in the files or onthe server), it stopped working and I've traced it down to Flashpassing Input Text Box Formatting information along WITH theariable.Can anyone explain what's happened and how to correct it?For example, in my form I've set all the name, e-mail andmessage to static text and let the Subject variable be passed andin the e-mail subject line, I get this:
<TEXTFORMAT LEADING="2"><P
ALIGN="JUSTIFY"><FONT FACE="American Typewriter" SIZE="12"
COLOR="#000000" LETTERSPACING="0"
[code]......
View 3 Replies
Nov 19, 2009
I have one event handler for several object's events. I would like to pass a value through to the function from the event listener:
function chkEmpty(event:Event){
if(event.currentTarget.text==){
thisIsBitIWantToBeAbleChange.text = You haven't entered anything in the box, please try again
hisIsBitIWantToBeAbleChange.setTextFormat(validate_frmt);
}
}
Could I give the event.currentTarget a value that I could test for? So if the value is 1, I effect output1_txt, if 2, output2_txt, etc etc. If so, are there customisable values that I could use that wouldn't do anything to the display object,?
View 8 Replies
Mar 9, 2010
I've been given a video url that I want to pull into an the flvplayback component. The url for the video I've been given is:The problem is when I set the contentPath with the above url the component won't load the video with the extra parameters ?var_log=102|441100001-1|- added as it says the path must end with .flvI am asumming that the video provider needs this extra var/parameter to be called in order to track the number of video requests, in which case I will need to keep this in.
View 2 Replies
Nov 2, 2011
I am running flex with BlazeDS. My backend is in Java.
I have the following function in actionscript:
override public function execute():void
{
super.execute();
var responder:CallResponder = new CallResponder();
[Code].....
View 1 Replies
Feb 3, 2009
Example:Lets imagine a html page with 2 swf embed inside. First swf has some UI, and second swf loads content.Is there a way to pass events or variables from the first swf to trigger stuff on the second? If yes, how?I would love to know the simplest way to achieve this.P.s- From what i understood from Lee's tuturial on swfObj, i can pass vars from html to the swf (using flashvars). Is there a way to pass from the swf to the html in a similar fashion?
View 7 Replies
May 25, 2004
I have a simpel bottom function that needs to pass variable to a php search page. I have listed the vars:
NAME="newSearch" VALUE="1"
NAME="searchType" VALUE="1"
NAME="searchArea" VALUE="0"
[code]....
View 3 Replies
Oct 19, 2010
I am creating an app in Flash Pro using AS3 for my wife to track our son's hockey progress. The app will have three sections: start, data entry, data retrieval.I have created the screens as separate classes to handle their individual functions. My data is stored in XML that I need to pass between these screens.I tried creating a separate class to handle my XML, but I am having trouble reading and writing to the new class. Is there a better way to handle passing this XML information around inside my application? Eventually I would like to have the app write to an external XML file then pull the new rewritten file back in. This code is in one of the .as files already, it's just not working yet.I added my files below (7 as and 1 fla Zipped) if you want to check them out.
View 14 Replies
May 25, 2004
I have a simpel bottom function that needs to pass variable to a php search page. I have listed the vars:
[Code]...
View 3 Replies
Aug 30, 2004
how on earth you set about giving a checkbox in a form a varibale.
I'm passing the form to a CDONTS ASP page, and I have three checkboxes, which I need to appear in the retuened email as either blank or 'checked'.
(I have read the tuts here btw - but cannot get them to return a value)
My chk box is called 'chk1'
So my AS on my submit button looks like this:
on (release) {
chk1 = chk1.getSelectedItem().label;
getURL("http://www.holmes.7host.com/promise/mypage.asp", "", "POST");
}
My corresponding ASP page looks like this:
<% @language="VBSCRIPT" %>
<%
Dim myMail, myBody
[Code]....
View 2 Replies
Jan 14, 2009
I have 190 movieclips which display various types of information. When a user clicks on a movieclip, it has to tween larger but also send a string to a method. I'll probably e.currentTarget to use one function which contains a tween and I wondered if there was a quick way to pass string info in a similar way?
So, each movieclip has it's own value which can be passed to a method which will use that value. The only way I can think of so far is to have 190 functions which send the string data to the appropriate place. I'm trying to avoid that if I can.
View 2 Replies
Mar 14, 2012
I have a menu which is created from an XML file. I'm using LoaderMax to grab the data and do the magic:
[code]...
View 1 Replies
Mar 18, 2004
Is there anyway to make save information that people have put in input text boxes. For example they could put the info in and then save it so it will appear next time.
View 1 Replies
Mar 18, 2004
Is there anyway to make save information that people have put in input text boxes. For example they could put the info in and then save it so it will appear next time.
View 1 Replies
May 7, 2010
Im trying to use dynamic SQL tables on my PHP server so I need to pass the table name to the PHP script. I don't understand why the Data Management system that sets up CRUD won't allow this extra parameter. It says it can only have one input: item. I can get all records, but when I try to create, update, or delete I get an error.
Or is there another way I can pass the tablename variable to the php file before I call any functions?
View 3 Replies
Dec 20, 2010
Okay, there is something that I don't quite understand. I built a flash contact form in Flash CS4 and embedded the swf in my webpage using Dreamweaver CS4. I upload the files in my server but why it's not working? I created a test folder in my folder and it does work... (It doesn't work here) [URL] The problem is that I'm not receiving the information when the user enters and submits the information on the contact form. I do receive the information on the test link. I'm posting the Flash AS and PHP Code to see if anyone can point out any mistake that I'm doing.
[Code]...
View 1 Replies
Dec 9, 2005
I created a funky mail form and i can't seem to send the info from the input boxes in my flash file... to the PHP script, stuff it into an email, and then send back a success or error response. I am attaching the FLA and PHP files as well as the external .as files that are needed for the FLA's effects to work. [URL]
View 1 Replies
Jan 27, 2011
I created a somewhat custom Spark button by doing the File > New > MXML skin and basing it on spark.components.button. The problem is that I need to add an extra text field to the button component and dynamically change that text...but of course, the property isn't recognized on a Spark Button.
Is there a simple way to add this field to my custom button skin & its property so it can be addressed? If not, is there a simple way to take what I've done and just extend the Spark Button? I can't seem to find any examples that show how to do it without writing it all up in ActionScript.
View 1 Replies
Feb 3, 2011
I have an issue with font scaling of a dynamic text box.
Currently i have one input box named input_1 with a variable attached to it named "choc_1".
Also, i have a dynamic text box named dynamic_1 with variable "choc_1".
When the user types something on the input box then the dynamic box changes instantly and displays what the user has written.
auto scale-size the fonts to a smaller size if the user types many letters.
The input_1 box has a 13 character limit. My initial font size is 200, i want to scale down so when the user types 10 letters they fit the box and they don't go out of screen. I want to use one line, so wrap or multiline is not possible.
here's a code that i'm trying to fix but i can't get the dynamic box to change:
[Code].....
View 1 Replies
Feb 3, 2011
I have an issue with font scaling of a dynamic text box.
Currently i have one input box named input_1 with a variable attached to it named "choc_1".
Also, i have a dynamic text box named dynamic_1 with variable "choc_1".
When the user types something on the input box then the dynamic box changes instantly and displays what the user has written.
I've googled a lot, but i can't find a solution to auto scale-size the fonts to a smaller size if the user types many letters.
The input_1 box has a 13 character limit. My initial font size is 200, i want to scale down so when the user types 10 letters they fit the box and they don't go out of screen. I want to use one line, so wrap or multiline is not possible.
here's a code that i'm trying to fix but i can't get the dynamic box to change:
[Code]....
View 0 Replies
Mar 24, 2010
I'm trying to extend the text input that comes in flex to support an icon, just like mac os x search text input has a grey circle aligned to the right, the text input has a addChild method, but it didn't work for me.
View 2 Replies
Apr 28, 2011
the last of many problems, is that at the very end of the test, you're shown your score, and you have the option to type your name in a text box and click "save". Doing so will apply you score data (time elapsed, date, correct answers and percentage) along with the name you typed in, and output in a form, that you can save or print off, or whatever. The problem is, the input text box will not let you type in it. If you mouse over it, the mouse stays a pointer, you don't get the text tool. If you click on it, the cursor appears for a split second after you release the mouse button, but you cannot type anything in it.This is the actionscript for the output form:
Code:
//
function saveRecord(record:String, field:String, now:Object, score:Object):Void {
[code]......
View 3 Replies
Oct 11, 2005
Im still relativly new to bringing in xml to flash, but i have read some tutorials and other pages on it. Everything is working fine except for the fact that all the text that isnt an attribute as lots of extra spacing infront of it. I made sure my i set ignoreWhite to true but it still is cuaseing those spaces.
View 3 Replies