Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




How To "clear" Text Fields On Clicking Submit?



so i have a login and password area.when the user clicks login or submit.... I need to know how I can get the fields to clear.here is my AS **NOTE: I have given my text boxes variables called "one" and "two"Code: stop();this.clientEnterBtn.onRelease = function() {   if (clientId.text == "" || clientPass.text =="") {      gotoAndStop (31);   } else {      getURL("https://mylinkforthedatabasegoeshere.asp", "_blank", "POST");   }}Thanks for the help!ZG



Actionscript 3.0
Posted on: Fri Apr 13, 2007 8:18 pm


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Setting Up A Submit And Clear Fields Button?
hi, i have a form with 4 fields, name, email, phone no. and query. at the bottom i have my submit and clear fields button. but how do i go about making them work?? i managed to set the txt on the button but thats about as far as ive got...
thx
lev

Clear Text Fields Array?
I have a fla here [small] of what ive been trying to do! There is something that's not coming to me that's not right here. Just to clear dynamic text fields and input text fields too Number '0'. I will be using it on about 30 input fields and dynamic fields to clear them all and must be back to Zero as in Number '0'.

code: clearTextFieldsArray = new Array(inputTextField, dynamicTextField);
thisRoot = _root;
clearBtn.onPress = function() {
for (i=0; i<clearTextFieldsArray.length; i++) {
thisRoot.clearTextFieldsArray[i].text = 0;
trace(clearTextFieldsArray[i]);
}
};

Text Fields - Pressing <enter> To Submit And...
Hello,

Regarding text fields, such as a login screen like at hotmail.com... is there any way to get flash to load the text field --ready to be typed in-- with the cursor flashing in the "user name" field? Also, once the password has been entered, is it possible to add a script that will allow you to merely press <enter> to submit the login info withOut having to add a submit button in order to use an "on (key<enter>) {"?

thanks for your input!

[Flash 8] Clear Input Text Fields
Hello,

i want to clear my input text fields when i click on them but this doesn't seem to work and i don't know where the problem is.

I instance named the textfields and as script i use:

textfield.onSetFocus = function(){
textfield.text = "";
}

can somebody help me please ?

i'll add the fla where you can find the textfield. i only put the actionscript on "naam"

Clear Multiple Dynamic Text Fields
Hi

Please can anyone tell me how to do the following with less code?.....

Code:

text1.text = "";
text2.text = "";
text3.text = "";
text4.text = "";
text5.text = "";
text6.text = "";
text7.text = "";
text8.text = "";
text9.text = "";
text11.text = "";
text12.text = "";
text13.text = "";
text14.text = "";
text15.text = "";
text16.text = "";
text17.text = "";
text18.text = "";
text19.text = "";
text20.text = "";

I've actually got 70 text fields I want to clear. Originally i was just going to clear the movieClip in which they appear but for some reason that didn't work.

Basically the user chooses a number to determine how many text fields are created by a "for loop" but if they then change the number from say 10 to 2, I need to clear them all otherwise the 8 that are now not needed will still be there when the "for loop" loops again.

Hope that makes sense!

:?

How Can I Have Input Text Fields Submit To Email On A Button?
im self tought amature flash designer and the last piece to my website is having all designated input text fields go to my email on the one touch click of a designated "send" button.

i cant figure it out. basically what i have is multiple input text fields all in one keyframe that i want from the click of my send button go to my email within flash. any help would be greatly appreciated.

if you want to see what im talking about goto www.parkagencywest.com and see the "financing" section. as of now the send button doesnt do anything

Clear Text Fields When You Release The Login Button
Hi,

I'm in the process of making a website, and I am part of the Tek-Tips partenering thing, but I chose to make my own login using Flash. Currently if you enter your name and password then hit login it opens Tek-Tips up in a new window. But the Flash Movie still has the name and password writen there. Is there any way to clear the text fields when you release the login button. I have the action script to get URL - onRelease of the button. Is this possible.

You can check it out at: http://www.spyderix-designz.com


OH ONE MORE THING TOO

If you go ahead and use my Flash login you can tab between the different text fields. Type your username press tab then it cycles down to the password field, then press tab again and it highlights the login button. I DON'T WANT IT TO HIGHTLIGHT THE BUTTON. Can that be turned off somehow, it highlights it in thich yellow and I don't want that.

Thanks alot!



I Want To Hit Enter And Do The Same Thing As Clicking Submit
I need to be able to be typing in a text field and once i hit Enter, it's the same thing as clicking the Submit button. I've looked in the help, and I'm not really getting anywhere with this... I know it's not hard, I just cant figure it out..

How To Submit Fields To That Database
Ok this question is a pretty easy one if you know what your doing but if you this is your first time doing something like this (like it is for me) it can be a bit confusing what to do. The question has to do with me trying to submit information inputted in to a test field to go to a data base. I've build a page with the standard fields like name, password, password repeat and so on.
I hope that some in the FK community can help me shed some light on this question.

Thanks a lot for taking the time to read my question and helping out

John

How To Submit Fields To That Database
Ok this question is a pretty easy one if you know what your doing but if you this is your first time doing something like this (like it is for me) it can be a bit confusing what to do. The question has to do with me trying to submit information inputted in to a test field to go to a data base. I've build a page with the standard fields like name, password, password repeat and so on.
I hope that some in the FK community can help me shed some light on this question.

Thanks a lot for taking the time to read my question and helping out

John

How To Submit Fields To That Database
Ok this question is a pretty easy one if you know what your doing but if you this is your first time doing something like this (like it is for me) it can be a bit confusing what to do. The question has to do with me trying to submit information inputted in to a test field to go to a data base. I've build a page with the standard fields like name, password, password repeat and so on.
I hope that some in the FK community can help me shed some light on this question.

Thanks a lot for taking the time to read my question and helping out

John

How To Clear Input Fields?
After entering information into two fields and pressing the go button the movie jumps to a certain frame for 40 frames (saying thank you) and then loops back to the first frame with the input fields. How do you clear these fields so that when the first frame is played again the fields are empty?

Input Fields - Pressing Enter To Submit
I'm creating a calculator and I already have a calculate button that performs the calculation of my variables and advances the movie to the next frame. I would like a user to be able to hit enter while in the text field to also calculate and advance the frame.

code:
this.onEnterFrame = function(){
if (Key.getCode() == Key.ENTER) {
potentialSavings = (Number(currentRate_txt.text) - Number(newRate_txt.text));
gotoAndStop(2);
}
}


On the second frame I have a recalculate button that simply sends the movie back to frame one so you can re-enter values. When the movie is started, it functions correctly - when the enter or calculation button is pressed they perform the same function. But when you hit the recalculate button on page 2, the movie appears to jump to frame 1 and go right to frame two. Seemingly flash is still detecting that the Enter key was the last key pressed and is performing the function. Does anyone know a way around this!

Thanks in advance!

Clear Input Fields Don't Work
I'm using a mail form which uses php for checking input. In case of an error in a field it puts the text "Niet (goed) ingevuld)" in the input text field which has the error. Works fine. Except when I add these lines to automatically clear the input fields when the form first shows.

Code:
naam.text = "";
email.text = "";
bericht.text = "";
Then, even when there's an error in the entered field and it should place "Niet (goed) ingevuld" in the text field, the field remains cleared. The movieclip consists of 3 frames: frame 1 = form, frame 2 = busy sending screen, frame 3 = thanks for mailing screen.

What have I done wrong? How can I have the input fields cleared only the first time the form movieclip shows?

Complete code:

Code:
stop();
naam.text = "";
email.text = "";
bericht.text = "";
naam.tabIndex = 1;
email.tabIndex = 2;
bericht.tabIndex = 3;
naam.onSetFocus = function(oldFocus) {
if (naam.text == "Niet (goed) ingevuld") {
naam.text = "";
}
};
email.onSetFocus = function(oldFocus) {
if (email.text == "Niet (goed) ingevuld") {
email.text = "";
}
};
bericht.onSetFocus = function(oldFocus) {
//if (bericht.text == "Niet ingevuld") {
bericht.text = "";
//}
};
Versturen.onRelease = function() {
mySendVars = new LoadVars();
myLoadVars = new LoadVars();
mySendVars.naam = naam.text;
mySendVars.email = email.text;
mySendVars.bericht = bericht.text;
mySendVars.sendAndLoad("http://www.test.nl/mail.php", myLoadVars, "POST");
gotoAndStop(2);
myLoadVars.onLoad = function(success) {
if (success) {
if ((myLoadVars.naam != "error") && (myLoadVars.email != "error") && (myLoadVars.bericht != "error")) {
gotoAndStop(3);
} else {
gotoAndStop(1);
if (myLoadVars.naam != "error") {
naam.text = mySendVars.naam;
} else {
naam.text = "Niet (goed) ingevuld";
naamformat = new TextFormat();
naamformat.color = 0xFF0000;
naam.setTextFormat(naamformat);
}
if (myLoadVars.email != "error") {
email.text = mySendVars.email;
} else {
email.text = "Niet (goed) ingevuld";
emailformat = new TextFormat();
emailformat.color = 0xFF0000;
email.setTextFormat(emailformat);
}
if (myLoadVars.bericht != "error") {
bericht.text = mySendVars.bericht;
} else {
bericht.text = "Niet ingevuld";
berichtformat = new TextFormat();
berichtformat.color = 0xFF0000;
bericht.setTextFormat(berichtformat);
}
}
}
};
};

[CS3-AS2] Clear Fields Function With ComboBox
Hi everyone,
I'm trying to set up a function that clears the fields of a form with comboBoxes.
Currently I have:

PHP Code:




function clearFields() {
    name_ti.text = "";
    street_ti.text = "";
    city_ti.text = "";
    state_cb.selectedIndex = 0;
    zip_ti.text = "";
    email_ti.text = "";
}






Obviously I'm trying this with 'selectedIndex', but I've also tried 'selectedItem'. When I clear the fields I just want the comboBox to return to the default position.

Any help?

Clear Input Fields In Flash 5?
How to you get an input field to clear itself in Flash 5 (not MX).

Ive tried using:


ActionScript Code:
inputFieldvariableName.text = "";


and..


ActionScript Code:
on (release){
inputFieldvariableName.text="";
}


But they dont work?!

Thanks

How Do I Submit Hidden Form Fields Via Button Click
Ok, Here is what I have:

I created a strip of buttons. 4 of them go to normal urls, the 5th is a img of a shopping cart:

code:
<FORM action=https://www.yowcow.com/cart/ method=post target=yowcow>

<INPUT type=hidden value=emailgoeshere name=business>
<INPUT type=hidden value="itemgoeshere " name=item_name>
<INPUT type=hidden value=275 name=amount>

</FORM>


Basically what this does is take hidden input information and sends it to a an external url that then shows the page. I want to have the cart button do the form action when it is clicked.

Any help would be greatly appreciated.

John.

Dividing Number X (30, 25, 13, Etc..) Amongst Text Fields (1-100 Fields)
Sorry about the title of this post, but I didn't find it easy to make a descriptive title.

What I'm trying to do, isn't a huge project, and I don't believe it's infinitely complicated. I just can't seem to wrap my head around it at the moment.

Hard enough to explain what I want...

Try to picture this:

Flash file opens up.
There are 6 text fields on the screen.
You enter the number 30 into a text field located near the top and press a button.
The 5 remaining text fields suddenly have numbers in them:Field 1: 30
Field 2:8
Field 3:9
Field 4:3
Field 5:5
Field 6:5

The idea is that I need a piece of code that will divide a variable amount of 'points' between a variable number of text fields. But not only does it have to be divided it has to be randomly and often unevenly divided.

So X = Number of text fields X / 30
Won't bring about the desired results.

I think I can (but haven't tried) divide 30 evenly easy enough, but since thats not what I'm after...

Any suggestions?

Seems to me that the final code will be one of those 'Wonder why I didn't see that' sort of things. But I can't get it.

Thanks for your help.

-Lem

"clear" Doesn't Work Once I Hit "submit"
I'm going to attempt to post a question less stupied than my last!

I'm Trying to make a very simple E mail form using textinput boxes and sending variables to php.
Thing is that my erase button stops functioning once I hit the Submit button. Why is that??
here are the scripts for Submit and Erase:

Submit script:
on (release) {
name = _parent.mailer.name.text;
company = _parent.mailer.company.text;
email = _parent.mailer.email.text;
telephone = _parent.mailer.telephone.text;
comments = _parent.mailer.comments.text;
// Check variable data
if (name eq "") {
_parent.mailer.gb_status.text = "Required: Name";
} else if (email eq "") {
_parent.mailer.gb_status.text = "Required: e-mail Address";
} else if (telephone eq "") {
_parent.mailer.gb_status.text = "Required: Telephone number";
} else if (comments eq "") {
_parent.mailer.gb_status.text = "Required: Message";
} else {
_parent.mailer.gb_status.text = "Thank you for your email...";
_parent.mailer.name.text = "";
_parent.mailer.company.text = "";
_parent.mailer.email.text = "";
_parent.mailer.telephone.text = "";
_parent.mailer.comments.text = "";
}
loadVariablesNum("MailPHP.php", "0", "POST");
}

Erase goes like this:
on(release){
_parent.mailer.name.text = "";
_parent.mailer.company.text = "";
_parent.mailer.email.text = "";
_parent.mailer.telephone.text = "";
_parent.mailer.comments.text = "";
_parent.mailer.gb_status.text = "";
}

Can anyone help?

How To Create A Clear Button Which Will Remove The Text In The Text Box Field
Hey, im tryin to create a clear button
whihc is:
clear_btn.onRelease = function () {
_root.sender.txtclear();
};

So that it would clear date enter in that text box. But nothin seem to happen with the button when i run it.

Does any1 know a way on how i would create a clear button?

Clear Button Work To Clear All The Lines Drawn On The Board
hi i need help in regrading to my school project... here is my project... i have been stuck with this for the pass 2 weeks and i still cant figure it out i am hoping that some one would be able to help me.

my project is that i need to click 3 points on the board to draw line connecting the points which i have done.

but i need help in getting my clear button work to clear all the lines drawn on the board

and also to allow the program to draw another sets of lines after the first line has been drawn

and also an undo button that will undo the previous line drawn

Clicking Lingage Inside Library. I Think Im Braking A Clicking Record ..
I´m going crazy I have to export 773 files inside my library. All files are small sound clips. So I have to right click 773 times and choose export for actionscript. However the filenames are just as I want the identifier to be so if there would only be a command like

"Export selected items for actionscript using the current filename "

it would save my day.

If anyone know how to do this in a quicker way please let me know.

Thanks

How To Create A Clear Button To Remove The Text On The Text Box
Hey, im tryin to create a clear button
whihc is:
clear_btn.onRelease = function () {
_root.sender.txtclear();
};

So that it would clear date enter in that text box. But nothin seem to happen with the button when i run it.

Does any1 know a way on how i would create a clear button?

Text Submit With PHP
ok the problem I'm having is I'm loading an exturnal swf into a movie and I'm trying to submit its info from it... I have it loading in level2 but for some reason the componant function wont call it. the code I'm calling is the
"// Button actions for "Submit" " where it says _level2.id.name_txt

anyone have any other solutions?
if needed I can attach the FLA

thanks,

Aaron

// Set tab order
message_txt.tabIndex = 1;
// Button actions for "View Entries"
function view() {
gotoAndPlay("loading");
}
// Button actions for "Clear"
function clear() {
message_txt.text = "";
}
// Button actions for "Submit"
function submit() {
name = _level2.id.name_txt.text;
message = message_txt.text;
message_txt.text = "";
gotoAndPlay("sending");
}
// Stop the movie
stop();

Validate Text And Submit The Text On To A New Field
Hi am having problem wiht my validation
im tryin to validate a text, which does the action below:

function validateMessage () {
var arr = []; // create an empty array
var msg = msg.text; // set var to the current text field

arr = msg.split(" "); // split each word into our array

if (arr.length > 10) { // if the array is longer than 10
// return a value of false to var istrue
} else { // if the array is less 10
// return a value of true to var istrue
}

but if i try to use the on realse method which send the text on to new screen and i use GotoAndStop (frame) to send it to the next frame.

I tried this bu t im getting problem, i can't seem to make the validation work correctly, it should only allow you to go through if you enter less then 10 words, if not it would send out and error message which is

error_msg.text = "You've exceeded 10 words, Please Try Again"; // do something

Use Buttons To Submit Text To Input Text Help Please
i am want to make a movie for an interactive whiteboard where using a keyboard can be a pain, so i want to use a button to place a letter and then press enter on the stage.

but i am struggling to get going

i figure it has to be something like this

a_btn.onRelease = function () {
a = input_txt;
}
var a:String = "a";
but something is wrong and how do i do an enter btn
thank
i have so much to learn

[mx + Flash8] Different Mouse Events For Clicking Or Clicking And Dragging
Hi there,

there's something that nearly makes my head explode ...i'm in desperate need for your help

what i want to achieve is an online magazine where you can:
- flip the pages by clicken on the corners
- click on the pages to zoom in
- if zoomed in, click to drag the page around
- click again on the page to zoom out.

like in this example: http://www1.visions-weekly.de/epaper/epaper.html

what i have so far is:

as i'd never ever be able to program the pageflip thingy myself,
i bought a pageflip component from the lovely guys at flashloaded.com, so the magazine itself is set up, all the pages are in and i can flip them by clicking on the corners ...sweeet

now comes the tricky part (at least for me)

i put an invisible button on top of the book. i started with the zoom function and used the onClipEvent(mouseDown) and (mouseUp) functions. if clicked for the first time i scale (xscale, yscale) the book to 120%. on the next click i zoom back to 100%. That worked out of the box

Now i wanted to integrate the dragging. the book shall be dragged only when the mouse button is pressed ...but i didn't find a function for that. What i can achieve is either drag it after it got clicked or drag it always when clicked.

for example i tried this code:

i defined 3 variables in the main timeline:

firstclick (to monitor if it is the first click or not)
clicker (to monitor if the button is clicked right now)
dragger (to monitor if the book gets dragged)



Code:

onClipEvent(mouseDown){
if(_root.firstclick=="0"){
_root.firstclick="1";
}
else{
_root.clicker="1";
}
}
onClipEvent(mouseMove){
if(_root.clicker=="1"){
_root.dragger="1";
_root.mybook.startDrag();
};
}
onClipEvent(mouseUp){
if(_root.firstclick=="1"){
_root.mybook._xscale=120;
_root.mybook._yscale=120;
_root.firstclick="2";
}
else if(_root.dragger=="0"){
_root.clicker="0";
_root.firstclick="0";
_root.mybook._xscale=100;
_root.mybook._yscale=100;
_root.mybook._x=10;
_root.mybook._y=10;
}
else if(_root.dragger=="1"){
_root.dragger="0";
_root.clicker="0";
_root.mybook.stopDrag();
}

}
the zooming works but not the dragging (i presume because the dragging would start after the click not while the button is pressed.

i tried to work with listeners (for the first time) but to no avail, because if i listen for clicks or drags that interfered with the pageflip function where you click and drag the pages as well.

can some one ...pretty pretty please ... show me a better way to achieve this?

yours
Stefan

Submit Input Text
how do I send the value (the content) of "input text" to asp server? or, what kind of script should be written on the submit button?
thanks
polus

Input Text Submit
Hi,

So this is what I am trying to do. See the HTML for the correct version. I want the flash file to do the same. I can only get it to go to the url but not submit.

Can anyone help?

thanks so much

Submit Text Field
I'm making a tutorial video and on the end I would like a page that says "Any Quetions?" with a text field where the user can type their question, and a field to enter their own email so we can reply. When the submit button is pressed the text needs to be sent to someone at my company via email or something like that. How can this be done? I can't find a starting point for this in tutorials. Please Help! Thanks in advance.

How Do I Submit Input Text?
Hello,

I am currently making a flash myspace. I almost have everything done except the comment box.

For all you people who have made a comment box on myspace you know that you have to add quite a lot of HTML variables and such to the code.

But I am stuck with making it in flash.

This is my regular code for the comment box.


Code:
<form method="post" action="http://collect.myspace.com/index.cfm?fuseaction=user.confirmComment">
<input type="hidden" name="friendID" value="84759643">
<textarea name="f_comments" wrap="VIRTUAL"></textarea>


Now how do I do that in flash? I have my input text made with a variable called "comment" and a button made. All I need help with is the actionscript itself.

Thank you,
Artem

How Do I Submit Input Text?
I am currently making a flash myspace. I almost have everything done except the comment box.

For all you people who have made a comment box on myspace you know that you have to add quite a lot of HTML variables and such to the code.

But I am stuck with making it in flash.

This is my regular code for the comment box.


Code:
<form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment">
<input type="hidden" name="friendID" value="57844960">
<textarea name="f_comments"></textarea>
</form>


Now how do I do that in flash? I have my input text made with a variable called "comment" and a button made. All I need help with is the actionscript itself.

Thank you,
Easah

How Do I Submit Input Text?
I am currently making a flash myspace. I almost have everything done except the comment box.

For all you people who have made a comment box on myspace you know that you have to add quite a lot of HTML variables and such to the code.

But I am stuck with making it in flash.

This is my regular code for the comment box.

<form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment">
<input type="hidden" name="friendID" value="57844960">
<textarea name="f_comments"></textarea>
<input type="submit">
</form>

Now how do I do that in flash? I have my input text made with a variable called "comment" and a button made. All I need help with is the actionscript itself.

Thank you,
Easah

Submit Text For Ticker
I recently saw a website that had a very nice ticker, you could write something in an INPUT TEXT FIELD, Submit it, and then it would be displayed for about 5 secons in a near window. Does anybody knows how to do this?

Clear Stage And Clear Class Values?
I'm working with this tutorial to create a quiz, but modifying it to load the data from XML: Create a Quiz Application Using AS3 Classes

I would like to put a retry button at the end that would clear all previously set values and clear all the display objects that I've added to the stage and basically start the file over again as if it was the first time. Is this possible?

I would think there's an easy way since it is using external class files... I hope it doesn't require a lot of manual Remove Child At and clearing variable and array values.

? Text Not Clear ?
My text isnt clear when I publish my movie. Why is this?

I Can't Get My Text Clear
Hello,

I just started Flash, I have a problem with the text, on preview is not clear like the one you're reading now.
Do I have to do a little trick to have it normal ?
Thanks

Ybisou~

Clear Text....How?
I know a far bit about making clear text..using pixel fonts and such....but it appears I don't know enough..
1. can someone explain the diffrence between static and dynamic text..I know that you can load dynamic text external and stuff, I need to understand diffrences between how the finished text looks..when do you use one over the other?
2. Is dynamic text the only way to ensure that the font is dislayed if the user does not have that font.
3. Are there any good free pixel fonts I can pratcice with, I looked in most the ovbious place (FFF.com). In all cases this fonts are only clearer when left aligned and in most cases are really blurry.
apart from using multiplies of 8 and making sure the text start on a whole x/y position, any other good tips for clear text in flash

Thanks For Any Help

Clear Text....How?
I know a far bit about making clear text..using pixel fonts and such....but it appears I don't know enough..
1. can someone explain the diffrence between static and dynamic text..I know that you can load dynamic text external and stuff, I need to understand diffrences between how the finished text looks..when do you use one over the other?
2. Is dynamic text the only way to ensure that the font is dislayed if the user does not have that font.
3. Are there any good free pixel fonts I can pratcice with, I looked in most the ovbious place (FFF.com). In all cases this fonts are only clearer when left aligned and in most cases are really blurry.
apart from using multiplies of 8 and making sure the text start on a whole x/y position, any other good tips for clear text in flash

Thanks For Any Help

Clear Text
I've never tought about it :oops:

But could anyone explain me how to insert text in Flash and make it Clear, because all the fonts that I've used aren't clear with small sizes, just with big sizes, or tell me where to read about it... it looks terrible.

Default Text In Text Box Disappear In Clicking
I have a text box with default text "Enter your name". I want the text"Enter your name" to be disappeared when user clicks on the box.

How can I do this

Default Text In Text Box Disappear In Clicking
I have a text box with default text "Enter your name". I want the text"Enter your name" to be disappeared when user clicks on the box.

How can I do this

Clicking In A Text Box
I would like to know which is the Actionscript command that "captures" a mouse click in a text box.
Basically I have a text box, and whenever I select some text or click in the text box, I want to start/stop a movie clip on the stage which has an embedded video inside.

Any help will be appreciated
Thanks
Hagop

Using Enter Key To Submit Text Answer?
I have an activity in which the user submits an anser into a text field - my question is: Is is possible to use the enter key to submit the answer?
Thanks in advance
Ol

Email Submit Via Imput Text
i'm trying to set up a system where the user inputs his email into a input box and clicks a button to send their email to a predeterminded adress so they can be contacted later.

[f8] Submit Data To Text File
Hey!

I was wondering if anyone could give me a hand.
I want to be able to have people submit their name and e-mail address on my site, then have the information stored in a simple text file on my server, so that i can retrieve the data and use it to for various promotions, i know this will involve using php, but i wondered if anyone could just give me a little pointer on where i could find more out : )

Thanks in advance,

Regards,


Curt.

Input Submit To Dynamic Text
I want to have a user type something into an input box...
press enter...
and print what they just wrote on the input box in a dynamic text box. I also want to have the input box cleared out when enter is pressed... I have a submit button with the following on it


ActionScript Code:
on (release, keyPress "<Enter>") {
    command += newline;
    command += input;
    input = "";
}

Any ideas why this doesn't work....
Just for any help this may bring (to show it's not the button or whatever)

the following script does work (well not the input part) but does print out an unchanging sting on a newline


ActionScript Code:
on (release, keyPress "<Enter>") {
    command += newline;
    command += "some random junk"
    input = "";
}

Help... if you can thanks

Keeping Text Clear
Hi, ok i am animating some miniml text fields and i am having some difficulities . here is the solution to the problem, i just need to know where to add the Math.round command:


You will run into a problem with the aliasing when you scroll or manipulate the location of the text via actionscript. This is obviously due to the text being moved between integer values. The solution is to modify the actionscript so that when it determines the x and y position of the text you include a Math.round () argument.


here is the script:
onClipEvent (load) {
this._x = 800;
constant = .3;
targetx = 253;
}
onClipEvent (enterFrame) {
this._x += (targetx-this._x)*constant;
}



peace
Greg

How Do You Make The Text Clear
Is there a way to make the text clearer because when i publish the movie the text is a little fuzzy when its small (12pt or 10pt size)

Copyright © 2005-08 www.BigResource.com, All rights reserved