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




Checking Input Text Parameters



hi!
I've got a problem I'm sure one of you guys would be able to assist me with.
I have an input text field with a button next to it where the user is supposed to enter a number. when he clicks the button another page opens according to the number he entered. I don't want to restrict the input text to numbers only, but I do want some kind of a check to see if he entered a valid number (that is, any number bigger then zero, no letters or special characters). Right now it seems it calculets any character entered as having a numeric value and i wasn't able yet to make it trace an error message of some sort.

Help please...

Thanks



FlashKit > Flash Help > Flash ActionScript
Posted on: 06-03-2004, 04:36 AM


View Complete Forum Thread with Replies

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

Checking Value Of Input Text?
Hi folks,

Working on a simple dog and pony show that needs to fake some password entry. I'm in Flash CS3 using AS2.0.

I have an Input Text field named "txt_pinnums" and its line type is set to Password. It has a variable of "pinpassword".

All I want to do when "btn_ok" is pressed is check that the numbers entered on the keypad that are now in the input text field equal "1234". It seems though that the value of that field is a bunch of HTML, not simple characters. Here is what I have:


PHP Code:



stop();txt_pinnums.text = "";function checkPin() {    if(pinpassword eq "1234") {        trace("good");    }    else    {        trace("bad");    }}btn_ok.onRelease = function() {    checkPin();} 




I'm sure my AS is not that good, but as I said this is just a simple show and tell demo that will be thrown away. How can I test that the input text equals 1234? If I do a trace(pinpassword) I get a bunch of HTML in addition to the characters entered.

Also, one syntactical question. I tried this:


PHP Code:



btn_ok.onRelease = checkPin; 




But that doesn't work... that type of thing works in JS though. Curious as to why it doesn't work.

Checking Text In Input Field
Hello,

I am working on an interactive online application training module using Flash 5.

I have a task which I need to simulate using ActionScript:

1. User types a specific name, e.g. martin (lower or upper case) into an input text field (which sits on a screen grab of a window). The name has a fixed length.
2. The name is validated.
3. If the name was correctly typed, the play-head is advanced to a new frame (with a new screen grab). Else the user needs to try again.

Could someone please help me out with the ActionScript. Your help will be greatly appreciated.

Simply Checking Input Text
Hi friends,

I have simple questions about text checking.

1- I have 4 input text.. When someone write First input, after 4 numbers, i want text cursour jump automaticly 2nd input text.. How i can limit it ? i meant without using mouse or tab button i want visitors write all input texts...

2- How i can check input text with a simple way.. For example forms. they control email adress, if it has "@" or not after clicking submit button.I want it when he/she jump 2nd input text..


thank you for any help

Ignore Text Case When Checking Input Box
Hi all,

I have an input box which the user types a set sentence into, they then press the "enter" key at which time flash checks the type and depending upon whether it is correct or not it performs a different function.

How do I get flash to ignore text case.

Here is my code:

on (keyPress "<Enter>") {
if (_root.holder.input.addy == "Sam's Australia trip") {
_root.gotoAndPlay("email 13_5 proceed");
} else {
_root.holder.input.gotoAndStop("wrong");
stopAllSounds();
}
}


Say for instance some one types the sentence but forgets to put a cap A on Australia, I want flash to ignore this.

Any help would really be appreciated.

Craig

Checking Input Text - Case Sensitivity
I am trying to accept some input text and check it against a set value. I need the check to be case insensitive, and I'm not sure the best way to do it.

I could probably set up an array with all variations or something like that, but there's got to be an easier way. Any suggestions?

Thanks!

Checking User Input Versus A Text File
My movie starts with user input field and submit button. I am using loadvariables to load a bunch of variables off a text file. these variables are called: valid1 valid2 valid3 etc. These are codes that are valid. THen when the user inputs a code into this input field and hits submit, i need to write a script that checks if what the user just entered is one of the valid variable on the text file we just loaded. They will get a message telling them wether or not the code they entered is valid.

Sounds easy right? I thought so too, then i spent way too many hours on it. Help would be appreciated.

//D

Check User Answer By Checking Input Text Box
how do i check the answer that enter by user....
the marks is given by checking whether they user key in the keywords or not...
i m thinking of using string method...but i not able to do it...
pls help....

Checking Input Text Against Dynamic Text
Hi!
Trying to build a conversion program for children to use in school.
I have created 3 dynamic text boxes and want the child to type in the correct conversion in input box (num4)
How can I press a button to check whether the input is the same as num3? (correct conversion amount).
I thought it might be
if num3 = = num4 i'd get away with it!
Apparantly not.

I have included my flash 5 file for people to have a look at!
Cheers
Chris

Checking Input Text Field Syntax Ie Email @ Domain
making a submit form, can as detect if the syntax in the email box is correct?

Checking Parameters In A Function
Hi All,

Just a quick on, is there any way to dynamically check how many parameters have been passed to a function without declaring them in the function header. so:

I am presently doing something like this for a prototype function"

function f_whatever (item1,item2,item3,item){
trace ("blah blah");
}

then called with

f_whatever("red", "green", "yellow");

what I want to be able to do is use the same call to the function but not have to list item1, item2, item3 etc in the function header, but instead just check how many there are at run time.

This is because the amount of items could become quite large and as such I dont want to type them all out.

Hope someone can help, cheers.

Rowdy

Flash Input Parameters
I am loading a flash file from a jsp page.

I want to pass in 2 input variables say 'foo' and 'bar'.

How do I accomplish this? Simple example?

Help In Checking Whether Input Has Decimeal
ok lets say i have a input text box and a submit button
the user must input a number on the textbox and click on the submit button
ok now the question is how to i check wether the number he user enters contains a decimeal which i don't wann..

any one know can please help me
thanks a million in advance.

Randomizing And Checking Input. HELP
I am going to make a memory game in which players have to memorise the arrows (up, down, left, right) coming out one by one and then input the answer in the correct order. I am a beginner in writing flash game and using action script. Here are my problems:

1. How to randomise the arrows and let them coming out from the left to the right (same y position) with a certain speed?

2. How to check the player's input with the randomised arrows?

Thank you very much.

Checking If Input Box Is Empty
on(click) {
if (insc<=0 || insc == undefined) {
info = "Field Invalid";
}else {
getURL("url", "_blank", "POST");
}
}

For some reason this is not working. When I click the button nothing happens. I am missing something? The input box variable name is insc.

Is There A Better Way? Checking User Input To Tex
Surely there must be a better way of checking wether the user has exceeded the amount of chars typed into the textField.


ActionScript Code:
mc1.onEnterFrame = function(){
        // Display amount of characters being typed in the textField
        charField.text = msgField.length;
}if(charField.text>="255"){
    errorTxt.text="Character limit has been reached";
 
}

Checking User Input
the fla file is here:URL

this is the part of code im interested in

Code:


function ButtonPressed(buttonInstance) {
//if (buttonInstance == futSubmitBtn) {
if (String(noZeroValue)!=undefined && !isNaN(noZeroValue)) {
trace("1st nozero"+noZeroValue);
// get value of date combobox
fmydate = futDateBox.getSelectedItem().data;
//trace("date: "+fmydate);
// get value of month combobox
fmonth = futMonthBox.getSelectedItem().data;
//trace("month: "+fmonth);
// get value of year box
fyear = futYearBox.getSelectedItem().data;
//trace("year: "+fyear);
apValue = fmydate+fmonth+fyear;
trace("apdate="+apValue);
} else {
feedback = "No values returned, Please re-click submit button.";
return;
}



there seems to be a lag. if i put in a legal date, it will trace "1st noZero" = undefined, if i press it again, i will get what im after. The same goes for illegal dates, i have to press the submit button twice before the feedback msg will kick in, please someone tell me what im doing wrong!!!

Checking If An Input Field Is Filled Out?
I hope the title was not too confusing. I made a flash movie based on some instruction i got here before. It is a "feedback form" so that users can send email to me without seeing my email or having to use a mail program. I recently made this form so that they can send their message to different people, so there are three send buttons. however, i guess users get confused and think they have to select a person before sending a message. so sometimes blank email are sent.

I want to check to see if there is any data in the message field before the form sends it, and if they have not entered a message i want it to pop up a window telling them they need to type the message first before sending.

I have 3 input fields: name, email, and message. (only message and name need to be checked)

here is my actionscript:

Frame 1:
redirect = "http://www.mysite.com/email-sent.html";
subject = "Message from my sites form";
stop();

Frame 2:
stop();

A button to send the message (actionscript):
on (release)
{
recipient = "person@mysite.com";
getURL("http://www.mysite.com/cgi/formmail",
"lower", "GET");
}
on (release) {gotoAndPlay(2);}

-------------------
So what it does is, the flash is contained in a HTML frameset, and the lower frame is a frame only 1 pixel tall thatis just there so the cgi formmail has somewhere to send it's confirmation of the mail being sent. However, i didn't want users to see that, so the flash movie just moves to frame 2 where it says "thanks for sending us a message (name of sender)".

so, somehow with the button onRelease code i need to check and make sure those fields are filled out, and give a message and halt the message sending if they are not. i guess i need some kind of IF, THEN, ELSE, statement but I'm not very good with writing code, so if anyone can help me i'd really appreciate it. thanks.

Checking / Validating Input Fields
I did perform a search to see if this was already covered but nothing seemed to match so:...

I want to validate an input field for an email address so I'd like to check ig the input text contains the string "@" I guess...

does anyone know how'd I'd do this?

As always thanks heaps!

SS

Is There A Better Way? Checking User Input To TextField
Surely there must be a better way of checking wether the user has exceeded the amount of chars typed into the textField.

code:
mc1.onEnterFrame = function(){
// Display amount of characters being typed in the textField
charField.text = msgField.length;
}if(charField.text>="255"){
errorTxt.text="Character limit has been reached";

}

Quick Input Box Checking Question
I have two input fields and once they both have characters in them I want the movie to jump to another frame. I have this code.

if (name == "") {
gotoAndPlay ("loop");
} else {

if (password == "") {
gotoAndPlay("loop") ;
} else {
gotoAndPlay("connect") ;
}
}

why doesn't it work. I think it is something simple. I want it to check both fields and didn't know if this was the way to go about that. THanks

[F8] Checking Input Values Are Correct
Hey, I'm wondering if anybody has ever come across code that check's whether the value inputted is a valid, in the way that its formatted so for instance with actionscript could flash recognize that

sillymonk@yahoo.com = correct
silly.@!.com = incorrect

I'm not to sure how I would go about coding this? if any body has a suggestion i'd appreciated it.

Checking Cursor In Input Textfield
Hallo everybody,
I have got an question. I made a search input textfield in my flashmenu. it works and the results are being post through php in two frames below my menu. now I want that the searchfield also works with enter. that isn't a problem, but I want that the enter wont work when the textfield is not active. My idea was to make it like this

on(release, keypress "<Enter>") (
if (?????) (
)
getUrl(...............)
)

My question is, what is the condition and how can I check if the cursor is in my input textfield?????

Checking For Empty Textfield Input
I would like to know if it is possible to check if the input textfield is empty or a user has put in some text.
Can this be done? How should I do it?

Is it something like this?
my_txt.text = null;

Checking Input Feilds For Information
I want to check my input feild to make sure that information was put into it.

This is what I have for the Variable name "Name"

if(firstname !=""){
loadVariables ("form.php", this, "POST");
}else{ . . .
Any help?....

Advanced Checking User Input Against An Array Help
advanced checking user input against an array help

im working on a form that has four input text fields and a submit button, and when the user submits his answers, these need to be checked against a set of values stored in an array. standard validation seems to be easy, where the first choice is verified against the first answer, and so on, but i've gotten stuck as the answers can be entered in any order, and while there are only four correct answers, there are more than four acceptable answers.

say this is the array

answers = ["math","physics","chem","chemistry","computer","co mputers","computer science"]

now there are four input boxes where the user has to enter his answers. i know that there are only four correct answers in total (math, physics, chemistry & computer science) but other acceptable answers are also available, since the user might input chem or chemistry, or maybe copmuter, computers or computer science

the four input text fields are answer1_txt, answer2_txt, answer3_txt & answer4_txt. how can i verify the input answers against the array ensuring that all four answers are correct without any duplication of answers (that is, someone enters math, physics, chem & chemistry - this will verify as all correct with standard checking)

any help would be greatly appreciated

sidrao

Urgent: Checking Values Of Input Boxes
Hi everyone,

I need a hand with configuring some input box tasks...I don't think they're too complicated - but I've only just started ActionScripting so I don't know how to go about it.

I'm trying to set up a Flash movie that is an interactive story. The user enters some character names of their choice, and those names are used throughout the movie where appropriate.

First question:
How can I run a check that the user has not entered any profanities (that is, run a check against a pre-defined list of words) and then either call up an alert, or just not allow the user to continue until it is deleted?

Second question:
How can I set it so that, if a user leaves one or more of the input boxes blank, then a default value is used throughout movie? e.g. The author might define the princess's default name as Aurora. If the user leaves the Princess input box blank, then Aurora will be used. But if the user does enter a name, then it might be, say, Emily.

Third question:
What is the best way to carry these values between scenes? Would it work to have a 'submit' button that has a 'gotoAndPlay/Stop' function, and then on that frame, have a

inputBoxName = "";

code?

Does that work when spanning different scenes?

Thanks heaps. All help is much appreciated.

-Grace

Checking Input Box Data For Specific Phrases
Checking input box data for specific phrases

Hi,

I'm new here. I'm developing a diet checker that users enter their recipe into an input field and compares it to an external text file with a list variables of ingredients and then underlines or highlights certain ingredients that would not be good to eat.

Here's the problem:

I need to check this input box for certain words and see if there are specific words before or after those words.

--

Example of what the code needs to do:

The word "egg" WOULD BE highlighted/underlined as a bad ingredient but "egg white" would NOT have the "egg" part highlighted

The word "fried chicken" WOULD BE highlighted/underlined but "baked chicken" or "broiled chicken" would NOT be highlighted

--

The external variable text file lists the words I'm searching for and the words to replace them with but, the code I have cannot yet determine if the word "white" is after the word "egg" and then not have the "egg" part of the phrase underlined.

Hope I made this clear. I'd appreciate any help on this.

Thanks!

Checking User Input To Limit To Certain Digits
I'm doing a simple binary converter where I want only the digits 1 and 0 input into a box.

Everything works great except I need to check the string (from the input text box) to make sure it's only 1's and 0's. The check is performed when they click on the convert button.

I can do this in other languages using regular expressions, which ActionScript doesn't seem to have, so what's the best way to check user input to limit it to specific characters?

Keep in mind the string can be up to 40 characters long, so manually checking each digit would probably be inefficient.

Do I need to use substring for this?

Thanks.
John

Checking Input Box Data For Specific Phrases
Hi.I'm new here. I'm developing a diet checker that users enter their recipe into an input field and compares it to an external text file with a list variables of ingredients and then underlines or highlights certain ingredients that would not be good to eat.

Here's the problem:

I need to check this input box for certain words and see if there are specific words before or after those words.

--

Example of what the code needs to do:

The word "egg" WOULD BE highlighted/underlined as a bad ingredient but "egg white" would NOT have the "egg" part highlighted

The word "fried chicken" WOULD BE highlighted/underlined but "baked chicken" or "broiled chicken" would NOT be highlighted

--

The external variable text file lists the words I'm searching for and the words to replace them with but, the code I have cannot yet determine if the word "white" is after the word "egg" and then not have the "egg" part of the phrase underlined.

Hope I made this clear. I'd appreciate any help on this.

Thanks!

Checking Input Box Data For Specific Phrases
Hi. I'm new here. I'm developing a diet checker that users enter their recipe into an input field and compares it to an external text file with a list variables of ingredients and then underlines or highlights certain ingredients that would not be good to eat.
Here's the problem:
I need to check this input box for certain words and see if there are specific words before or after those words.
--
Example of what the code needs to do:
The word "egg" WOULD BE highlighted/underlined as a bad ingredient but "egg white" would NOT have the "egg" part highlighted

The word "fried chicken" WOULD BE highlighted/underlined but "baked chicken" or "broiled chicken" would NOT be highlighted
--
The external variable text file lists the words I'm searching for and the words to replace them with but, the code I have cannot yet determine if the word "white" is after the word "egg" and then not have the "egg" part of the phrase underlined.
Hope I made this clear. I'd appreciate any help on this.
Thanks!

INPUT TEXT - How To Restrict Number Of Lines Of Text A User Can Input Into Textbox
In a flash form I've created I have a input textbox. I don't want the user to be able to input more than 7 lines of text. Is this possible to do? I know that I can set a value for 'max char', but this is not useful for me -- it's essential that the user cannot input more than 7 lines of text.

How can I limit the number of lines a user can input into a textbox?


Thanks!
Glenn

Help With Email Form - Input Text Boxes Not Allowing Input
i placed an email form into a movie clip in this site...and the input text boxes are no longer allowing me to type into them.

the email form (which i got from flashkit), as it's own file, works fine, so i know it's possible...but for some reason when i take the movie clip from one file and drag it into the one i'm working on...it loses that input text funcionality. All the actionscript is the same...everything is identical...i don't get it.

i even tried to place it on top of a movie clip within the main content clip thinking maybe because it was an mc within an mc within an mc that had something to do with it...but not the case.

any help you can provide is appreciated.
(attached file was saved as MX..orig is in MX 2004 Pro)

thanks.

oh, also....how would i load movie clips to different layers?...if i understand some things i've read here, that will help me speed up the site overall...as it is VERY slow in browser. but...maybe i'm wrong.

Remove Input Text On Input Text Box Select?
Right now I've got an input text box with an instance name of EMail and Var of EMail. Then in my AS I've got:

code: var EMail:String = "Enter Your Email Address";

which puts "Enter Your Email Address" in the text box when it displays. What I'd like to do is when a user clicks inside the box to enter their email address is for that string to disappear.

Input Text To Show Up In Input Text Box In Later Frame
Hi, I am making a game where the player enters his or her name into and input text box at the beginning and then prints out a certificate at the end with his or her name on it. This is the actionscript I am using, however, this only allows me to have the box where the player enters his or her name to be on the same frame as where the text appears.

input_txt.onKillFocus = function () {
user_name = input_txt.text;
input_txt2.text = user_name;
}
_global.style.setStyle("fontSize",30);

I was wondering if there was anyway to modify this script to make it so that the name appears in the input_txt2 box in a later frame.

Thanks,

Lindsay

What Are The Best Ways To Capture Input From An Input Text Field?
Hi,
I don't know ASP, CGI, PHP etc. I do, however, have a flash form with two input text fields named “E-mail” and “Name”, and a submit button.

How can I set this up so a user can input the info in these two fields and click the submit button to some how send me the data - Via Email? txt on the server? Anything...

Also, if this is not possible, what is the simplest way to learn PHP or whatever is most appropriate to get these goals accomplished.

Thanks,
Stephen

Text Box Parameters
Is there a way to get the text box size in ActionScript?

Converting Input Text To Non-input With Actionscript
Is it possible to set a text field whose property is Input to Static Text with Actionscript?

Checking Text Formatting In A Text Field
I need to build a fairly basic word processor that will apply text formatting seperately to eah text field on the stage an onSetFocus to any given field you can change its particular options....then when you click back into that field-the buttons that where you toggle the formatting options; bold, italic, etc. highlight based on what you've already selected in this field.

I thought that if I used a single textFormat object, and cleared it after each apply, I could test each text field by saying something like

if (whatEverText.bold = true {
boldButton.gotoAndStop("on")} but it's not reading the formatting of the text field. Will I need a seperate textFormatting object for each field?

I could use a little direction from one of you pros!

Thanks

Checking If Text Is Overflowing Dynamic Text Box...
I was wondering if it was possible to check if a dynamic text box has overflowing text? So if there is too much text to fit in the constraints of the text box the scroll bar component will become visible?

Something like this:

Code:
if (news_txt = overflown)
{
scroller._visible = true;
} else {
scroller._visible = false;
}
Is there a function included in flash that checks if it's overflown?

Cheers,
Inept

Checking Text Formatting In A Text Field
I need to build a fairly basic word processor that will apply text formatting seperately to eah text field on the stage an onSetFocus to any given field you can change its particular options....then when you click back into that field-the buttons that where you toggle the formatting options; bold, italic, etc. highlight based on what you've already selected in this field.

I thought that if I used a single textFormat object, and cleared it after each apply, I could test each text field by saying something like

if (whatEverText.bold = true {
boldButton.gotoAndStop("on")} but it's not reading the formatting of the text field. Will I need a seperate textFormatting object for each field?

I could use a little direction from one of you pros!

Thanks

Grab Text Box Parameters
I am working with a form that contains hundreds of text boxes. I want to grab the Variable name and the x/y coordinates of each field and put them in a text file.
Does anyone know how to do this? Is there a tool?

Passing Text Parameters
Last edited by Codemonkey : 2008-08-30 at 04:45.
























i've been looking all over the web for a simple answer to this to no avail! it's either with buttons or instructions for the .swf only, or the code only etc...
i'm all new with action script so bear with me...

i want to pass parameters so i don't have to re-publish my .swf file everytime i want to change a bit of text!

what i did:

i saved a new flash file as example3- then i created a dynamic text box on a blank stage and named the Var 'content'. (did not name the instance.) then published both .html and .swf

then i opened the .html in dreamweaver and added '?content=hello' to the <param> and <embed> sections.

when i preview it hasn't worked. (obviously.) seriously this should be a simple bit of scripting no??

this is the embed code i've used if it helps:


html Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="example3" align="middle">
  <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="example3.swf?content=hello" />
  <param name="quality" value="high" />
  <param name="bgcolor" value="#ffffff" /> 
  <embed src="example3.swf?content=hello" quality="high" bgcolor="#ffffff" width="550" height="400" name="example3" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


i've read so many things that just look like latin to me, can anyone help make it easy?

bubblejam

Checking For Text
I don't know if it's because I burnt out tonight or what but I can't get the following code to work.

When someone inputs there name and email the new page loads but when they forget to fill-in one of the two input_text fields(name or email) they should go to "sign again" but when I run it it always skips like the user input something???.

can anyone see the problem???

on (release) {
_global.player_name=_global.name_txt.text;
_global.player_mail=_global.email_txt.text;

if(_global.name_txt.text=="" && _global.email_txt.text==""){
_global.gotoAndstop("sign again");

} else {

url = "new.php";
loadVariables(url, this, "GET");
sendText = "Sending score...";
getURL("http://localhost/index.htm");
}
}

Checking Text Box Selection?
Hi all,

i have a movieclip that is chcking the selection of an input text box nested within a couple of other movieClips

frame1
//=================
if (Selection.getFocus() == "_level0.opensesamie.mailer.emailaddress") {
_root.opensesamie.mailer.emailaddress = "";
gotoAndPlay (3);
}
//=================

frame2
//=================
gotoAndPlay(1);
//=================

frame3
//=================
stop();
//=================


For some reason i am not checking the selction of my input text field "emailaddress"?????????

Now i have used the code in frame one previously and it worked no problem - that time however i was checking the selection of an input text box on the root timeline ie....

//========================
if (Selection.getFocus() == "_level0.emailaddress") {
_root.emailaddress = "";
gotoAndPlay (3);
}
//========================

what gives?????????????

it seems that you cant check with Selection.getFocus(); to ascertain the selection of a text box further than the root timeline

any help???

thanks in advance


gilesb

Text Field Checking
Hi

i build a MC with a dinamik text field in it,the text field is a variable thet is load from a txt file,

i want to check when the text field is empty so then i will do:

if(myTextField==empty){
this._visible=0
}

the big question is how do i write the empty?

i try: if(myTextField==" ") but it didnt work

thanks


che

Dynamic Text Box Checking
I have a dynamic text box with the variable name "typeenter", and a button next to it with the code

Code:
on (release) {
if (typeenter == "Harvest") {
_root.status = "Correct!";
gotoAndStop(3);
} else {
_root.status = "Incorrect spelling";
}
}
Thing is, no matter what is typed in typeenter, it just says "Incorrect spelling". What am I doing wrong?

Thanks for any help.

Checking If A Text File Is There.
Hi, basically I am trying to do in Actionscript, If the txt file is there; do nothing. If the txt file isn't there trace Hi. Thanks.
Fries N' Stuff

Checking Dynamic Text For Certain Value
how can I check a line of dynamic text for a certain value (either YES or NO) and then gotoAndStop("YES") or gotoAndStop("NO") - I thought:
Code:
if (text==NO){
gotoAndStop("NO");
}
else if(text==YES){
gotoAndPlay("YES");
}
but it's not working... any ideas?

Checking Text Fields
Hello all,

I have 8 text field where people need to fill in data. I also have a button that when pressed checks to see if the data is correct. I would like the button to appear when all text fields have been filled.

How do I do this?

thanks

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