ActionScript 2.0 :: Not Case Sensitive Input Of Username?

Jan 20, 2008

I have a login section that has a username and password input field. I am not sure if I am doing this right, but since there is only one username and one password, this is how I did this.

[Code]...

My question now is how can I have the username not be case sensitive. Is that possible?

View 3 Replies


Similar Posts:


ActionScript 2.0 :: WTG Not Case Sensitive - Getting Unknown Errors?

Apr 28, 2003

I have been working on a large sized movie lately and found that I was getting some unknown errors. So naturally I placed trace statements, still I had no idea what was going on. Then low- and -behold I noticed that I had two varaibles one name xPos the other Xpos. Now of course noramally I would assume like other programming languages such as java and C++ variables are case sensitive. I found that If I assigned xPos a value and wrote a trace statement (with different case) ie

[Code]...

View 2 Replies

ActionScript 2.0 :: [FMX] Make IndexOf Not Case Sensitive?

Jun 30, 2003

Is there a way to make IndexOf not case sensitive?

View 5 Replies

ActionScript 3.0 :: Text Search That's Not Case Sensitive?

Jul 30, 2009

I'm making a glossary. The glossary terms and definitions are in an xml file. I have read the terms (the words to be defined) into an array. I have included a search field, such that when I enter a term in the search field, a function loops through the array of terms and if the string I entered in the search field matches an item in the array, Flash traces out "match" (in this early part of coding).Here is my problem: If one of the terms in the glossary is "India Pale Ale", with capital letters, then a search on "india pale ale" turns up no matches.How do I remove case sensitivity in this scenario?

View 2 Replies

Flex :: MX Datagrids Sort- Case Sensitive By Default?

Sep 16, 2011

Is it just me, or do flex MX datagrids sort in a case sensitive manner be default? That is, they'll sort like this:

I know I can give a datagrid column a custom sort function, but do I really have to do that for every column in the app?

So this is a bug in a legacy app- updating every single grid to spark really isn't an option (if that's even a fix). Am I missing some obvious way to change the sorting pattern for an entire grid?

View 1 Replies

ActionScript 2.0 :: Senocular XML Search Tutorial (search Query Case Sensitive)

Dec 3, 2004

I've just tried senocular's xml tutorials. [URL] The search query seems case sensitive. How to make it accept upper and lower case characters. Actually i'm trying to make a search by myself by using the same code.

View 6 Replies

Flex :: Datagrid - Flex AdavcedDatagrid Sorting Is Case-sensitive

Jul 27, 2010

I have several datagrids with changing columns. For the text fields the datagrid's sort function neems to be making a case sensitive compare. eg. the following list sorted would look like this apples strawberries Autos Autos should be with apples but since the capital A is counted differently all capital letters come after. I've found a lot of information on setting a CASEINSENSITIVE flag, but I can't figure out where to do this. The best solution would be one where I can override the default behavior to be case insensitive for all my datagrids and all my compare functions.

View 3 Replies

Win7 Pressure Sensitivity - Touch Sensitive Input Has Simply Disappeared?

Jul 2, 2009

I have a HP tx2500 tablet pc. I put the beta of windows 7 on it several months ago and had no trouble (64 bit). The service period expired, so I wiped it and put the windows 7 RC on it (also 64 bit). This has caused me problems with photoshop and flash (both cs3) as they will not recognize touch sensitive input! (aka when i press hard the line gets darker). In photoshop the option is set but nothing happens, in flash the button for touch sensitive input has simply disappeared, there is just grey where it used to be. I updated windows all the way and updated my flash and photoshop as well.

View 1 Replies

ActionScript 2.0 :: Input Box That Remembers Username?

Mar 2, 2010

how i would add actionscript to the following

i have a button that when clicked turns into an input box, where the user would enter their name

I need the program to save the name of the person and then print welcome <their name> in the next frame

View 8 Replies

ActionScript 2.0 :: Make A Username And Password Input Box?

Sep 19, 2009

I'm attempting to make a Username and Password input box, with a set username and password that will take you to the next frame, but whenever I test it it just stays in the same frame.

The code I'm using is
on(release, keyPress "<Enter>"){
if (password eq "###") {
if (username eq "###") {
gotoAndPlay(2) ;

[Code]...

but with the ### being what I actually have the username and password set to. As I said before, when I try this, nothing happens. I have the values for both the username and password boxes set to username and password respectively, but I still cannot get it to work. What am I doing wrong?

View 8 Replies

ActionScript 2.0 :: Comparing An Input Username With A List In MX?

Apr 2, 2004

So far I have the AS which imports the userlist and saves it in the variable $usercheck.

userlist = new loadVars();
userlist.load("text/userlist.txt");
userlist.onLoad = function() {

[code]......

View 1 Replies

ActionScript 2.0 :: Compare An Input Username With A List In MX?

Apr 2, 2004

So far I have the AS which imports the userlist and saves it in the variable $usercheck.

userlist = new loadVars();
userlist.load("text/userlist.txt");
userlist.onLoad = function() {

[code].....

View 1 Replies

ActionScript 3.0 :: Making Exam Login - Input Username And Passwords

Jan 14, 2012

I tried to make an exam and I came up with a few issues. The exam is located here: [URL]. One problem is that I don't know how to make the login and input usernames and passwords. How do I make the Start Exam button work so when an appropriate username and password are entered it takes you to the test.

View 11 Replies

ActionScript 2.0 :: Text Input To Upper Case

Sep 21, 2006

Is there a way to convert the display of the TextInput to upper case? Like this:
type h ===> displays H
type e ===> displays HE
type l ===> displays HEL
type l ===> displays HELL
type o ===> displays HELLO

I tried using the following, it traces but it doesn't display
Code:
keyListener = new Object();
keyListener.onKeyUp = function() {
// var myText = mainTXT.text;
myText.toUpperCase();
trace(myText.toUpperCase());
}

View 8 Replies

Flex :: Make BlazeDS Name Conversion To Work For Properties Beginning With A Lower-case Letter Followed By An Upper-case One?

Jun 6, 2011

I have some trouble with the conversion applied by BlazeDS to the name of the properties when this name begins with a lower-case letter followed by a capital letter. I have an ActionScript class similar to this:

[Code]...

View 1 Replies

IDE :: Make A Vertical Mouse-sensitive Scroll

Feb 16, 2009

I am trying to make a vertical mouse-sensitive scroll that I created a while back work going horizontally. You can see the one I created at [URL] and click on the "CUSTOM" link. I have been fiddling with the x and y coordinates but can seem to make it work. If I sent someone the FLA file, could you possibly help me make it work scrolling HORIZONTALLY?

View 1 Replies

Flash :: Encrypting A Sensitive Parameter In A SWF Embed Statement?

Jan 4, 2010

Just looking for some advice/leads on "best practices" for protecting a sensitive id (personally identifiable information) I've got a Java-based webapp (JSPs, Servlets, etc) that is going to need to embed a SWF file running on a trusted 3rd party site.

As part of embedding the SWF file, I'm going to need to pass a parameter in the block containing the currently logged in customer's ID. Question: knowing that I have a Java stack and not really knowing (or caring) what technology stack the SWF hoster has, what's the best way of encrypting that customerID such that someone who views source and starts trying to change the customer ID parameter can't suddenly get a SWF that's not related to them?

View 1 Replies

ActionScript 2.0 :: Tween Grow Onrollover / Shrink Onrollout Too Sensitive

Jan 25, 2012

I've been trying to have all of the movieclips on stage grow bigger when the mouse rolls over them, then shrink back to normal size on roll out. I have that working, but it seems that my mouse detection is sometimes too sensitive.I say that because sometimes my movieclip will alternate rapidly between rollout and rollover, usually when I place my cursor near the edge of a movie clip.I've tried only adding the rollout event after the tween finishes, but by then the user could have moved their mouse off the movieclip, and no rollout event fires. I was wondering if anyone knows of another way to manage a rollover grow effect without the stutter.[code]

View 2 Replies

ActionScript 3.0 :: Switch / Case And Nested Switch / Case

Oct 30, 2011

What I'm trying to do is create a program that, depending on 2 variables, multiplies another variable by a static number. Heres the code I have so far:

[Code]...

View 1 Replies

ActionScript 2.0 :: Can Default From Switch/case Be Used In Another Switch/case

Dec 10, 2003

I want this on an MC:

[AS]
i = 0;
switch(thing){
case 0:

[code]....

Basically what I'm wondering is, will I lose the value of i in the first switch once I'm out of the switch? Can the second switch read the 1st switch?

View 8 Replies

ActionScript 3.0 :: Switch/Case And Nested Switch/Case?

Oct 29, 2011

Im trying to create a program that, depending on 2 variables, multiplies another variable by a static number. A friend suggested I use case/switch instead of if/else statements,which is what I was using before.

[Code]...

View 1 Replies

Facebook-flash-api Getting Username Without PHP?

Dec 21, 2009

trying to get the name of the user in Flash (not FLEX) without the PHP. Currently I have the session, the uid. But from here could not move forward towards getting the name.

var fbook:Facebook;
var api_key:String="xxxx";
var secret_key:String="xxxxx";

[code].....

View 1 Replies

Display A Username In A Flash Banner?

Aug 26, 2009

I need to display a Username in a Flash Banner in my website. The Site is PHP and the header is made in Flash. My requirement is that, when a user Logs in, his name should be displayed in the Top of the site (in the Flash banner here) like "Welcome User". Is it possible ? I have the PHP file which displays username. All I need is that to merge it to the flash banner (through actionscript, isnt it ?)

View 1 Replies

ActionScript 3.0 :: Make A Username And Password Box?

Oct 10, 2009

I am just learning AS. I am trying to make a username and password box that will return a welcome message if the two text fields are entered correctly and a "Sorry Charlie" message if they are not.

I am using an If-Else statement. If I have the Else part commented out, I am able to enter text into the two text fields and get a welcome message. With the else statement though, I am not able to finish entering text in the second text field before the "Sorry Charlie" message appears.

[Code]...

View 3 Replies

Flex :: Username And Password Validation?

Feb 23, 2011

i have a problem while username and password validation.i retrieved data (username and password)from an xml doc using http service but the problem is that i have to verify the username and password entered by he user with the username and password of the xml doc...

my xml doc is as follows:

<employees>
<employee>[code]....

View 1 Replies

PHP :: Facebook Username - Pass Flashvars To SWF?

May 25, 2011

I am trying to get the facebook username set to a flashvars and then pass it to a swf, like so:
var flashvars = {
AppID: "my_id",
Name: "" };
function init() {
[Code] .....
but the Name flashvars is showing up blank, is there another way to do this?

View 1 Replies

ActionScript 2.0 :: Check Username And Password?

Jan 3, 2009

I'm using Flash CS4 Professional, and I'm using AS2 because I think it's a lot less complicated than AS3.I've found a few things on the internet that but I'm wondering if someone could just clear this up for me straight away.I have an input text field with instance name "username", and another named "pass". I then have a login button which has the action play();Once username and password have been filled out and the button is pressed, it plays until frame 3. Frame 3 only has the stop(); action in it for now. Here's what I need the rest of the actions to be:I want it to check the username and password against a text file. The text file reads:username=tylerngataki&pass=12345I then want an if/else operation like:

If (condition) {
statement
} else {

[code]....

View 2 Replies

ActionScript 2.0 :: Value Of The 'userName' Var From The SWF Querystring Into A Variable In The SWF

Aug 22, 2009

I've been working with this tutorial:[URL] Using AS1, I've been able to extract a variable from a SWF, e.g. the SWF has a querystring associated with it, in the HTML of the web page on which it is embedded:

Code:
<param name="movie" value="loaderInfoExample.swf?userName=TestUser" />
<embed src="loaderInfoExample.swf?userName=TestUser" ....

It's easy to get the variable into AS1 - it's just there, without doing anything. I've tried to do the same in AS2, but I can't get it to work, using Permadi's page. All I want to do is to get the value of the 'userName' var from the SWF Querystring, into a variable in the SWF. The example on the Permadi page didn't work - I may have been doing something very wrong of course.

View 3 Replies

ActionScript 3.0 :: Restricting Username & Password?

Aug 13, 2009

iam tryin to create a login system .i want the username to b only "mayuresh"& password to b "mayuresh" blow is my code

stop();

go_btn.addEventListener(MouseEvent.CLICK,perform)
function perform (event:MouseEvent):void[code].......

View 3 Replies

ActionScript 2.0 :: CS3 Detecting & Posting Username From Flash To PHP?

May 22, 2009

I have a flash game that asks the user to enter his username & password then he can start playing the game. After that the score gets saved to MySQL next to his username & password. The final step is to display his scores in the flash game. Everything works fine except for the last step which is calling back the scores from MySQL to the flash game.

I call the scores from MySQL using PHP file which sends the data to flash through XML. I can call the data from MySQL & display it in flash BUT I should enter a specific user name manually in the PHP file. The problem is that I can't make the flash game display the scores of the logged in user. for example: User A signs-in, plays the game, his/her score gets saved & then the problem occurs calling back his/her scores to the flash. In order to display User A scores in the Flash , I should replace the $username variable in the PHP file with "User A" so the scores can be displayed in the Flash file.

[Code]...

View 1 Replies







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