ActionScript 2.0 :: Log In With Two Input Textfields And A Submission Button?

Nov 19, 2006

I have the following problem. I created a very simple log in with two input textfields and a submission button. The problem is that people would type in their log in informations and then hit enter, which results in a page break for the password input textfield. I tried a few things like setting the input textfield to single line which did not make a difference. Then I tried to apply to on enter key action but had to realise that you can only apply this action to a buuton and not a textfield. Any help would be apreciated. I am working with flash 8 on a mac with osx...

on (release) {
if (name.text == "student" && password.text == "student") {
gotoAndStop("workPlacements");
} else if (name.text == "admin" && password.text == "admin") {
gotoAndStop("workPlacements");
} else
false_txt.text = "invalid password or username"
}

View 1 Replies


Similar Posts:


Submission Forms & Input Fields?

Jul 28, 2009

I'm looking to create an input field in my flash site where users can enter their email address to sign up for a newsletter, ultimately so the email gets added to our mailing list (hosted by constant contact).I can create the look, i'm just terrible at the science that makes it work.

View 15 Replies

ActionScript 3.0 :: Hidden Fields And Form Submission From A Button

Nov 28, 2009

I have an interactive map that I would like to script so that when a county is clicked, it sends through to a page called results.php this HTML table:

<form name="Merchant Details" action="results.php" method="post">
<input type="hidden" name= County>
<input type="hidden" name= MerchantType>

So County and MerchantType are fields in a SQL table. The script needs to tell the results.php page that County A and MerchantType B has been sent. Where A is the name of the county and B is ALL (the default i've chosen for MerchantType) I've spent the last 4 hours looking for answers but the only ones out there are how to do it in AS2.

View 3 Replies

ActionScript 3.0 :: 'new Lines' In Input Textfields

Jun 2, 2010

I have a textfield i want to use in a simple contact form where a user can send a message. I've created a textfield, then set it to [code]My problem is, when trying an example message hitting the enter key on the keyboard wont move me to the next line like I expect?

View 1 Replies

ActionScript 2.0 :: Can't Set Text In Input Textfields?

Aug 26, 2010

I have an input textfield were I need to insert a number when it has focus and the user presses a button, like in a calculator. I have everything else working, the problem is thatinput1.text = anything;doesn't work, not for any of my 10 inputfields, like it does with my output fields (dynamic textfields)

View 4 Replies

ActionScript 1/2 :: Input TextFields - How To Change Undefined Value

May 5, 2010

I have created three input textfields for the first, middle and last names in a form and then to pass the input to 3 dynamic texboxes, the middle name is optional so someone might not fill it out and the dynamic textbox would show "undefined", how to make the unfilled input textfield result in a blank/empty dynamic textbox?

View 10 Replies

Professional :: Make Simple Input TextFields?

Aug 10, 2010

I open up Flash CS5 and make a simple INPUT TEXTFIELD. I run the program, and I can't even use all the characters. It is under ARIAL font. This is literally destroying my soul. Look, if I want to embed fonts, I will embed fonts like in CS4. What is the crazy idea that now we have to embed every font we want to use? Is that how this is going? If I want to use ARIAL, I literally have to embed it? Did APPLE get their hands on Adobe developers and do something seriously this sick to the CS5 world?
 
I want to make simple input textFields like in the past, without having to embed fonts.

View 5 Replies

ActionScript 3.0 :: Ref Dynamically To The Textfields To Input The Characters

Jun 19, 2009

drawPanel is a movieclip which contains 23 textfields which I've created in the lib. 23 textfields has their instance name.. var1, var2.. etc... I need to ref dynamically to the textfields to input the characters. I see people using getDefinitionByName however can't get that to work.

[Code]...

View 3 Replies

ActionScript 2.0 :: How To Restart / Refresh Input TextFields

May 1, 2005

I have a problem with input textfield. The problem is, I have 2 input textfields, and a button. When the button is released, it will check if the 2 input textfields is filled. If they are filled, the AS will clean the input textfields, but next time the button is released, it don't check if the input fields are filled How can I restart, refresh the input textfields? So they are like "new ones".

View 4 Replies

ActionScript 3.0 :: No Effect Of Changing Format On Input In TextFields

Sep 30, 2010

I added this to my document class:

Code:
private var title_txt:TextField;
private var artist_txt:TextField;
private var myFormat:TextFormat;
myFormat = new TextFormat();
myFormat.align = "center";
[Code] .....

The problem now is that changes of myFormat (in size or color) don't have any effect on the text in the text fields. Why is this and how can I improve this? Did I forget to import a certain class again?

View 3 Replies

IDE :: Include Smileys In Dynamic Or Input Textfields In Flash?

Feb 6, 2009

Is it possible to somehow include smileys in dynamic or input textfields in flash?

View 4 Replies

ActionScript 2.0 :: Border Around My Input Textfields Disappears When Published To Player8 And Below?

Feb 18, 2009

Those movieclips are linked to a simple custom class I wrote which extends movieclip.They were created in the IDE, not created with code. The border is applied in the property inspector and is visible in in the IDE before publishing.The textfields *are* there, I can type in them, but I need the white box and border to be visible.The white box and and border appear fine in player 9+ when published for 9+, but when published any lower the borders and box disappear

View 1 Replies

ActionScript 3.0 :: Input Textfields Only Showing Caret If Clicked Around Their Halfway Point?

Nov 8, 2010

Im having an odd problem--I have 5 input textfields on the stage, but for some reason when run in order to input text within the first two fields I have to click within those fields from around its middle all the way to the right.Otherwise, no caret shows up and no typing displays.The other fields all work fine--ie, I can click at their leftmost point and get a caret and start typing..I even used the same textfield(#3) to create fields 1 and 2 and still I have to click about midway or to the right to get the caret.

View 3 Replies

ActionScript 2.0 :: Restrict "ENTER/CARRIAGE RETURN" Key ASCII 13 On Input Textfields?

Aug 19, 2006

How on earth do you restrict "ENTER/CARRIAGE RETURN" key ASCII 13 on input textfields?

View 5 Replies

Flash :: Get First File Data In Asp.net (C#) After Two Or Three Form Submission?

May 26, 2010

Our team working on flash/Asp.net shopping cart projects In our projects we need to get previous flash file data. After two or three form submission the first page flash file data are missing. How can we maintain the state of flash file data?

View 1 Replies

ActionScript 2.0 :: Verify Email Address Before Submission?

May 15, 2008

I am trying to create a form in actiocsript that verifies correct user input before submitting. So far I have the form checking that NewEmail contains characters, an "@" symbol and a "." symbol. However is there code that can check that the layout of the email is correct before submitting i.e. <"sometext"@"sometext"."sometext">

Also I need to insert a seperate name verifier to check that there are no numbers included in a text box. This is my code so far:
_global.detailsCheck = function() {
if ( _root.NewEmail.length == 0 | _root.NewEmail.length == "" | _root.NewEmail eq "") {
// Alerts the user that their password is incorrect
_root.Guide2 = "Please Fill All Detail Fields";
[Code] .....

View 2 Replies

ActionScript 2.0 :: Create A Form Submission And Retrieving Data?

Jan 1, 2007

how to create a form submission and retreiving data from it. Is it possible to create /link our data to Microsoft Access? whats the difference between get and post ?how will we retrive data using both methods?

View 4 Replies

ActionScript 2.0 :: Faking Textfields And Trigger Them As Button?

Jul 2, 2005

I was working 2 fake flash 2 see a createdTextfield as a button. Since i think it can be done with attachmovie with a dynfield inside too. but anyway..

how i can organize this much better? -script is doing his work-

Code:
this.createEmptyMovieClip("my_mc1", 1);
this.createEmptyMovieClip("my_mc2", 2);
this.createEmptyMovieClip("my_mc3", 3);

[Code].....

View 2 Replies

ActionScript 2.0 :: Clickcounter - Make A Submission Field That Registers The Clicks And Sends It To An Specified Email Adress?

Oct 24, 2007

I had an idea of taking two pictures of a hand with a nutcracker in it, the first with the nut whole and the second with the nut cracked and then make it a button.It should also have a counter on the side so users can se how many "nuts the cracked" and a submission form with email, name, city and adress. When the user have cracked enought nuts they should be able to fill in the form and press send button so a certain email addy gets the info.

I found this simple tutorial on how to make a counter http:[url]....But how do I make a submission field that registers the clicks and sends it to an specified email adress?

View 2 Replies

Flash :: Change Texts In The Dynamic TextFields In SimpleButton Instance (button Symbol)?

May 6, 2010

this may be a basic thing, but i couldn't find an answer by serching internet. I have created a simple button - Istance name = "btnsample"and there are two layers layer 0- button design with rollovers - layer 1- dynamic text field - instance name = "txtbtnlabel"btnsample.txtbtnlabel.text = "new button label;but it's giving followin error :-119:Access of possible undefined propety txtbtnlabel through a reference with static type flash.display:simpleButton.

View 2 Replies

ActionScript 3.0 :: Email Submission Failed And Always Stuck With Text = "sending.."?

Feb 6, 2011

ActionScript Code:
function start_load_actual_image(e:Event):void { *[code].........

all the above are within 1 single frame and at start of the movie when load.my intended actions are working fine but at runtime, I kept hitting error: TypeError: Error #1009: Cannot access a property or method of a null object reference.at Function/<anonymous>()
at flash.utils::Timer/_timerDispatch()

2nd issue: my last working attempt to send mail through AS3 via PHP works, but somehow, now my movie when loaded in actual site; email submission failed and always stuck with text = "sending.."i tried ensuring all URL re-direction are correct.and I somehow lost track of what I last modified:

ActionScript Code:
//declaring empty fields [code].......

View 5 Replies

Button Selection Via Keyboard Input?

Mar 28, 2009

I am new to Flash and this forum, so please excuse what will hopefully be a simple question.I am using Flash to build an interactive video kiosk for a museum that will be playing on a MacMini. it possible to create buttons or "scripts" that can be controlled with keystrokes? For example when you press "K" an embedded video will start playing. Or if you press "D", you could go back to the main menu? I am trying to make it so you can interact with flash via push-buttons, as opposed to moving a cursor over virtual buttons. Is this possible? would normally do this in DVD Studio Pro, but the sheer number of videos will not work in a single DVD project, so Flash is the only option I can think of. As a DVD it works great because I can use the arrow keys to navigate, and the enter key to choose a selection.

View 2 Replies

INPUT TEXT And Button Interactions?

Dec 13, 2009

I have this frame where in the button links will change whenever the textbox changes. Here is an attached sample image so you could imagine what I am trying to say. For the

textboxes (instance anme: voca2_pg and voca3_pg)
 
it should be 10-20 then when next button is clicked, it will be
 
20-3030-4040-5050-6060-7070-8080-9090-100
 
For short, the next and back button will operate the textboxes.
 
but if I type for example 25 (on voa2_pg textbox), it will show 25-35 (basically getting 10 numbers in all)
 
ex. I typed 43it will look like: 43 - 53 or if I type 88it will look like: 88 - 98 And then the purple button below also will change every numbering..10 - 20 the AS is:

on (release) {
getURL("javascript:command_voca(1,1)","_self");
}
20-30on (release) {

[code]....

View 1 Replies

ActionScript 2.0 :: Input Box With A Submit Button

Mar 13, 2010

I know this seems like a stupid question but I am really not able to get this to work.I need an input box with a submit button.I gave the box a var of levelCodeInput and the frame has a code of [code]When I type skiptut into the input box it doesn't go to frame 8.It just stays the same and nothing happens.I tried tracing accepted in the code on the button as well and that didn't make any output.

View 2 Replies

ActionScript 2.0 :: Input Forms With Button?

Jul 31, 2010

I have made two input forms, one for the subject and one for the message, and a button. Now, my problem is that I want the data from the form to go into the users email program in the right boxes.

I don't want the button to send the message!! Just open the message in the email program.

View 9 Replies

ActionScript 2.0 :: Input Text Change With Button?

Sep 23, 2009

Using the text tool, I have made a Input Textbox with the instance name of voca2_pg and the other one is voca3_pg. It has a text inside: 1 and 11, respectively.Now I made a button that should send info to the input text that when I click the back button, text will change to a lower number, or when I click the next button it will change to a higher number. Example: (they are inside the textbox)

View 21 Replies

ActionScript 3.0 :: Input Text Box / Button Should Be Invisible

Apr 7, 2010

i am using one input text box and one button. In the beginning the button should be invisible. Once i started to type text in input text box, the button should be visible.I used following script. But it's not working.[code]

View 2 Replies

ActionScript 3.0 :: Input Dynamic Text Using A Button?

Jul 16, 2010

I would like to input a numerical value into a dynamic text field using a button. The numerical values is one, the button is called a1_btn The dynamic input text field is called results_txt

This is the code I am using. Even though it shows no script errors, clicking on the button doesn't input the number on the dynamic text field

//Mouse event code
a1_btn.addEventListener(MouseEvent.CLICK, onClick);
//this is the value of the number
var number1:Number = 1;

[Code].....

View 1 Replies

ActionScript 3.0 :: Capture User Input When Hit The Next Button?

Mar 17, 2011

I am creating a game that has a gender selection and name entry box on a screen. When users hit the next button, I want to capture which gender they selected and what they typed for their name. I tried using the code found on the adobe website, but that captures every letter typed in real time.

I just started learning actionscript this week, so I'm a noob at it. Currently, when they click on the button boy1 it erases whatevers in the dynamic text box playeronesex and adds the word "woman". When they click the button girl1, it erases whatevers in playeronesex and adds the text "woman". I also need to know how to capture which they finally chose when they hit the next button.

Heres the actionscript for this frame:

//next button
stop();
onbone.addEventListener(MouseEvent.MOUSE_DOWN, nextone);
function nextone(event:MouseEvent):void {

[Code]....

View 2 Replies

ActionScript 1/2 :: Input Text With Submit Button

Apr 29, 2009

I'm a Flash newbie using the program to develop a multimedia lesson. I want to include some practice questions where students are asked to answer a quesion by typing numerical values in the box. Then when they hit "enter" I want it to take them to a new question if they get the right answer, or a screen that says "try again" if they get it wrong. Here's the script that I used. I attached it to the "enter" button. The variable name is "answer_box"

[Code]...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved