ActionScript 2.0 :: Multiple Password Access?

Nov 17, 2005

I have one password that works if this is added to a button.How do I allow multiple passwords to be excepted? this works for one password...

on (release, keyPress "<Enter>") {
if (pass eq "jonsmith") {
gotoAndPlay(60);[code]........

View 14 Replies


Similar Posts:


ActionScript 2.0 :: Have A Multiple Password?

Feb 10, 2001

Does anyone know if you can have two passwords for one input text box, if so, is there syntax that concatenates the two or something, i.e set variable pass=mypass1+mypass2?

View 2 Replies

ActionScript 3.0 :: Multiple Password Box?

Dec 22, 2010

my question is about multiple password boxes and multiple ''if'' . I explain, i want to have a page that you need to enter multiple password, let's say 3, and if the 3 password are the good one, you can go to another frame. My actual code is this one
 
{if(Pass.text == "Coco"){
gotoAndStop("Pizza");
}

[code]......

View 3 Replies

ActionScript 2.0 :: Make A Password To Access A Certain Level

Jan 28, 2009

I am trying to make a password to access a certain level. heres the code ive come up with.

[Code]...

where the input text box var is "input" but for some reason, its not working. the "else" command is working perfectly, but when i try and use the password "35" to get to frame 35 it treats it treats it as "else" as if its not recognizing the password.

View 14 Replies

ActionScript 2.0 :: Write Multiple Password?

Jan 18, 2006

is there a cleaner and more efficent way to wright this. i need 20+ different passwords. client wants to keep to htm and php no mySQL.

password = inputName
if (password == "pkc") {
inputStatus = "Access granted!" ;[code].....

View 4 Replies

Actionscript 3.0 :: Open A Password Form In Order To Filter Users That Have Access To My Data?

Jan 16, 2010

I wanna secured some menu's items on my website,

I would like to open a password form in order to filter users that have access to my data.

View 9 Replies

ActionScript 2.0 :: Save A Page - Add Some Sort Of A Password Or Save Feature To People Can Type In The Password

Sep 23, 2008

Im new at actionscript, and I am making a very project. Basicly, I have some thing were there is a page you can get to by beating other parts of the 'game'. I want to add some sort of a password or save feature to people can type in the password of something at the opening screen and jump to that page.

View 1 Replies

ActionScript 3.0 :: Access Multiple Indexes In An Array?

Jun 2, 2010

I don't seem to be able to find some info regarding this problem of mine anywhere...I would like to be able to access multiple values in an array.Let say I have an array with the index values 0, 1, 2, 3, 4, 5, 6, 7.These values will in reality be posts of htmltext for a news section - contained in an external xml-file.I would like to access these "values" like so:0, 1, 2 and then if you click a forward button the next three indexes 3, 4, 5 & so on. There will also be a back button with reverse functionality. I'm guessing a for loop?This loads the correct indexes the 1:st time.[code]...

But my problem is when clicking the buttons - how do I add and subtract from the var i? The problem is also when reaching the end & there might be just a single post or so instead of 3 - how can all of this be solved? Or does anyone now of a tutorial similar to my problem. I've found some tutorials but they only deal with one post at a time...

View 2 Replies

ActionScript 3.0 :: Access A Button Within Multiple MovieClips?

Jul 20, 2011

I have the following code that loads MovieClips to the stage:

[Code]......

Let's say I have 18 MovieClips and on the 18th MovieClip I have a button that I need to access. How would I do that? The following doesn't work:

Actionscript Code:
sp.bm.Page18._homeBtn.addEventListener("mouseUp", goHome);

Gives error: Error #1010: A term is undefined and has no properties.

View 4 Replies

ActionScript 2.0 :: Access TextBox In Multiple MovieClips?

Aug 16, 2010

I am new to actionscript. I have a movie clip (mc)in my library. The Movieclip has a dynamic text whose instance is "dynamic_txt". I need to create copies of movieclip and each dynamic_txt within that mc, want to assign a value.

for (i=1 , i< 20, i++) {
mymc = mc add i;
duplicatemovieclip(mc, mymc,10);
_level0.mymc.dynamic_txt.text = i
}

However, "_level0.mymc.dynamic_txt.text = i " is giving me compilation error. Will it be
_level0.['mymc'].dynamic_txt.text = i
or
_level0.'mymc'.dynamic_txt.text = i
or anything else. I have tried few combination and either its compilation error or not working as required.

View 1 Replies

ActionScript 1/2 :: Access Multiple Buttons In A Loop?

Sep 20, 2010

I have 29 buttons, named img1, img2 ....till img29...I need to access them all in a loop. I had asked this question earlier, but at that time the buttons had to be accessed via their holding movieclip, but this time the code is within the clip, so I need to directly access the button.
 
So originally the code I was using to access them was
 
_root.folioholdermc["img"+i]._alpha   //thanks to Ned Murphy
 
now I need to access them as
 
this.img2._alpha                          //due to a path change
 
I tried using
 
this.img[i]._alpha           but this is not working.
 
I want to put this in a loop where I moves from 1 to 29.

View 3 Replies

ActionScript 3.0 :: Access Multiple Array Indexes Simultaneously?

Apr 30, 2009

Is there a way to do something like this?

PHP Code:

var myArray:Array = new Array(10)
myArray[8, 9, 10].visible = false

where myArray[8, 9, 10] would access the last three objects referenced in the array?

View 6 Replies

ActionScript 3.0 :: Access Multiple Attributes Of A Node At The Same Time In XML?

Jun 15, 2009

[Code]...

I have 2 attributes of screen node which are title and tasks. how can I access these 2 attributes at the same time in AS3 Is that correct: excel.chapter.screen.(@title == "lesson").@tasks

View 1 Replies

Actionscript 3.0 :: Access Multiple Movie Clips With Loop And GetChildByName?

Nov 3, 2010

All i really want to do is be able to affect multiple movieclips at once with event listeners and greensock tweens.

The first snag I hit was that I couldn't create references to movie clips using the old [] Associative array referencing method. Maybe I still can with AS3, but I couldn't get it to work...

So I found another technique using getChildByName that returns a reference to a movie clips and allows me to store that reference in a variable.

However, the movie clip I'm trying to affect with an event listener resides inside of another movie clips, so to build the address (aka, root.mc1.m2.mc3) to the mc I want to get to is proving to be difficult. (I'm very new to AS3...)

I thought the trace(target1_mc.target2_mc.name); at the bottom of the following code would output the name of target2_mc but it doesn't.[code]...

View 2 Replies

ActionScript 3.0 :: Put A Var On A Password Box?

Dec 9, 2010

I am having a problem trying to make a little game. I want to create a password box using input text but i dont know how to put a variable on my input text. It's telling me i can only do it with AS2. What I am trying to do is that if you enter (in the password box) a specifically word like  ''Pizza'', your sended to ''Question 1'' using go to and stop. I tryed to create once myself with this tutorial [URL] but I think it's for AS2 cause i cant place a Var on as3. Can someone tell me how to put a Var on my inputtext? My Input text occurence is called ''Pass'' and is already set as ''Password'' (not single line or multi line). how to cade a var myself and i juste dont understand.

View 8 Replies

Password Protected FLA File?

Jul 29, 2002

that is there any way to protect the Flash source (FLA) file with password. So that if any body wants to open the file in flash it should ask the password before opening.

View 2 Replies

ActionScript 2.0 :: How To Make A Password Box

Nov 2, 2005

I'm working on a puzzle like game where you need a password to get to the next level, but I am not sure how to make a password box.

View 15 Replies

Redirect Via A Password To The Keyframe

Mar 22, 2010

I am currently using Flash CS4. Trying to do a very simple redirect via a password. What I want to do is whatever password they enter (variable defined as code) I want it to direct them to the keyframe. The below works if they enter hi (sometimes it seems to work sometimes not). The password "no" does not seem to work. I have attached simple fla based on the logic I am using.

[Code]...

View 6 Replies

ActionScript 3.0 :: Store Password In AIR App?

Jul 11, 2010

I'm developing an AIR application and I need to store password there so user don't have to write it everytime when he launch the application. I want to ask you if you know some way how to store the password in no plain string. I can store it in the file but everybody can read it there... Is there any way how to encrypt and then decrypt saved password?

View 2 Replies

Flex :: AIR App Signing Without Password?

Mar 26, 2011

I have a build server that generates our signed packages for deployment. However, I would prefer not to embed our passwords for signing the package in our ant file. Is there a way to get around this? It would be nice if I could setup something like how password-less ssh works or even use the keychain.<rant>Why do Adobe products seem so unfriendly in terms of working in a team environment or when it comes to trying to automate them as part of a tool chain/regression suite?! Don't get me started on the Adobe updater either.</rant>

View 2 Replies

AS2 :: Hide Text In Password Field?

Apr 30, 2009

This is probably very simple but here goes...How do I hide text in a password field? You know, the dots in place of text?

View 2 Replies

Make A Password Route To A New Page?

Aug 2, 2011

I have an FLV file that I want to be able to make a text box that acts as a password field.When the user enters the correct password, I want it to route the internet explorer page to a different website.

View 21 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

Media Server :: Set A Password To Publishing?

Oct 28, 2009

I use the Windows MEdia Server, but i“d like to migration to FMS.  I set a login and passwrod on WMS to Encoder to use. Using FMS, how can i do to set a login and/or password for use by Flash Media Encoder?

View 9 Replies

Flash 6 :: Create Password Field In It?

Dec 13, 2009

After trying many methods in Flash 6 I have not been able to create a working password field. If anybody has code that works with FLASH 6 please post it. I just want to have two frames a frame to enter the password, and a frame to say that the password was wrong and go back. Then if the password is correct I would like It to go to a different flash document.

View 1 Replies

Professional :: How To Open SWF Which Requires Password

Jan 19, 2010

I have a swf file-A which requires to key in a password. Can I open this swf file-A with another swf with the password already set in, or open with another software?

View 2 Replies

ActionScript 1/2 :: Password For Client Downloaded Swf / Exe

Jun 19, 2010

I would like to develop a package made in Flash, if I put it on the internet as such and have downloads etc, is there a way to generate a password (or activation key and a password) that can then be embedded with the download so it can be used offline. If I can automate the process so I do not need to make individual packages but can control their use... this would be good. I don't have a problem if they also have internet connection, but the package needs to function off line. I guess I could use a batch passwords then selectively send out passwords in that batch, but this seems heavy.

View 7 Replies

ActionScript 1/2 :: Full Screen With Password?

Feb 16, 2011

I need to automatically make a series of .swf go into full screen mode and only be able to come out via a password.They are for kids and i need to be able to keep them inside these. i have been on a commercial kids site Zoodles which does this , what code would I have to use? in AS2 using Flash 8 pro...

View 3 Replies

ActionScript 3.0 :: Password Authentication For Php Upload?

Sep 4, 2011

I'm making an Air file that uploads and overwrites an XML file.

So far, the php is very simple:
 
$everything = $_POST['saveThisXML']; 
$everything = stripslashes($everything); $toSave = $everything; 
$fp = fopen("settings.xml", "w");  if(fwrite($fp, $toSave)) echo "writing=Ok";  else echo "writing=Error"; fclose($fp);

I'd like to set up a user name and passowrd that the user enters in the Air app.  Is it then just a matter of sending POST data to the php file, and have it check the user and pass variables?  Is that a reasonably safe way to do it?  If not, can someone please point me in th edirection of a good tutorial that they're used on this topic?

View 9 Replies

ActionScript 3.0 :: Encrypt Password For Login?

Dec 11, 2011

How do you encrypt the password and username for a login form in as3?

View 5 Replies







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