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
Similar Posts:
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
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
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
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
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
Sep 3, 2009
just playing around with stuff and i was wondering if i were to make a small internal site... how i'd go about making it so when you enter your password that it came up with those black dots instead of the letters?
View 4 Replies
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
Nov 21, 2011
How can i make a Password Input Box for a Game, I am creating? I'm using Flash CS3.
View 3 Replies
Jan 31, 2012
I have created a projector/swf for a friend. He wanted it password-protected, which I did, but he wants to be able to change it - without using Flash (which he doesn't have). I thought about writing to an XML file, but that would be way too easy to crack, wouldn't it?Is there any way to write to the .exe file's shell?
View 4 Replies
Mar 29, 2005
How to make a random password generator using only action script??
View 2 Replies
Mar 29, 2005
how to make a random password generator using only action script??
View 2 Replies
Nov 27, 2011
Normally, I declare a variable at the very top of all my code like, var myObj: Myobj = new Myobj();...
but for some reason the the new variable being declared is necessary to present within the function, like displaying same objects in the library using for loop.
I notice that variable declare within a function will not be accessible outside the function or from another event handler or from another function....
I have seen code that make it possible my declaring a new variable?
View 4 Replies
Sep 21, 2009
I have planned to create an educational application / movie in Flash 8 (contains exercises and final tests etc.). I want to protect my application with username and password. The script inside movie should generate the password for given key say in my case username it will output the hex key which can be your password and no need to store it. cause you put same logic in your app which will generate the same hex key for same key i.e. is your username
View 1 Replies
Oct 30, 2010
I have done this many times but can't remember the syntax for the life of me and am obviously asking Google the wrong questions.
[Code]...
I can't give the TitleWindow an id as it's the top level component. How do I access the TitleWindow component from inside the script tag, the 'this' keyword will give me type Object, which one of its properties will give me the title window?
View 1 Replies
Sep 5, 2011
I used this call: "dataXML.APARTADO.APARTADO1.text()[j]" to acces the second level items in a XML loaded file in a for loop.Is there a way to substitute the APARTADO1 level for a variable?What I want is to access APARTADO1, APARTADO2... in the XML file with a variable. I have tried to substitute it by a variable string but it returns "null". I don't know why. If you need more information I can attach my code.
View 9 Replies
Aug 9, 2010
I would need to acces to routines that can draw text, I don't wish it to have anything to do with TextField. I aim to draw text to BitmapData objects, is there any way how to do that, except importing font in bitmap file and painting it as an image?
View 1 Replies
Jan 23, 2009
I have a child that I added during run time. I would like it to access a variable that was defined on the stage. npFurn:Number.[code]...
View 9 Replies
Apr 18, 2004
Is it possible to access a global variable from an swf on a different level than another (outside of movies)? Or are they only global in the sense that they can be accessed from different scenes in the same movie? I want to check whether or not a certain movie (called by loadMovie) is on a certain frame (if else statement), and then act accordingly (tell it to play a certain frame in that movie [shut itself down, figuratively], or nothing).
View 5 Replies
Dec 19, 2005
How to access the method of an extenally loaded SWF a number of levels.
For example I've loaded a SWF file to _level1 I want to access a method inside the SWF from another SWF file in a different level .
View 1 Replies
Jan 18, 2012
Here's the scenario: We have a creative team that operates in Flash CS5.5 and produces SWF assets which have both graphics elements and actionscript code in them, and an engineering team which authors .as files and builds "code SWFs". The code SWF files must load or embed the creative assets and interact with the code therein for our apps to function.
For iOS mobile development, there is another consideration - it is not possible to load runtime code in an AIR app packages for iOS because of Apple TOS (see related question). Hence, it is not possible to use a Loader to load SWFs in an iOS environment and retain their code.
Embedding a SWF into an ActionScript file the standard way results in a Loader that loads the embedded SWF directly as bytes. This results in access to the top-level, main timeline as follows:
[Code]...
View 1 Replies
Aug 13, 2010
I tried all zooms, placing objects outside there to gain scroll access, but it won't, and seem to be outside of some lighter gray plate... is it simply the limit? how the hell can I design the rest of my level?
View 3 Replies
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
Feb 3, 2010
I've got to (quickly!) add an intro to an existing flash masthead on a site that I've inherited. I don't have access to the source .fla's, so I approached the problem by putting the intro in a wrapper swf and loading the current masthead and adding it to the display list on Event.INIT. So far, so good. (Incidentally, the swfs are built for flash player 9 and use AS3.)
The problem I'm having is that although the intro plays fine and loads / displays the beginning of the masthead swf, which is a loading animation, the masthead itself never actually plays. Essentially, my question is: what would cause an actionscript 3-based swf to behave differently when it's the child of another swf as opposed to at the top level of the embedded swf?
Potentially important details: Embedding is being handled with swfobject, and no flashvars are being passed in. There are two params, which are base: "/flash/" and wmode: "opaque". All the swfs and flash data live in /flash/. The flash elements (minus the intro I built) were constructed using the Inky flash framework, with which I'm not familiar.
UPDATE: I've reconsidered my approach to the problem and gotten it working by using ExternalInterface; I'm having the intro swf call a js function when it finishes playing, which swaps out the intro swf and replaces it with the current masthead (the approach is outlined here). I'd still like to know why I was witnessing the behavior I was seeing earlier, though, so any ideas and suggestions would be welcome.
View 1 Replies
Mar 14, 2011
The string representing the function name will be read from xml @ run time.
var combo:ComboBox = new ComboBox();
combo.labelFunction = "functionName";
So the first name, which is to be displayed in the combo box, can be only retrieved by accessing another DTO, called person and then its first name.
[Code]...
View 2 Replies
Jul 31, 2011
how would i make a level that follows the character? would it be a on enter frame event?
View 13 Replies
Apr 15, 2007
I am doing a website in which I load a bunch of movies with an empty first frame to different levels in the first frame of the main movie. When I want to see each movie I have a button which tells a specific level to gotoandplay (2). Every time I "play" a loaded movie, I also tell all the others to gotoandstop (1) - so I wont see them anymore.Is it possible to make a loaded swf to "jump" to a much higher level - and all the other movies go back to a lower level? this way I wont have to make my movies go back to frame 1 all the time.
View 3 Replies
Mar 30, 2009
i've got that when you click a button it takes you to the next frame/level of the game, but i want to make the next level harder, meaning you have to kill all the enemies to goto the next frame/level, so, how do i make it so you have to click ALL 3 buttons on the stage to go to the next frame? Or is there another way to do this?
View 4 Replies
Aug 31, 2008
i was just wondering if anyone can point me to a right direction or help me out. I have this game with "balls" coming from down and going towards up and i was just wondering how can i make more and more of them come depending on the current level.
I guess all of them are going to be copies of the same "mc" but can anyone me copying them.
View 1 Replies
Jun 3, 2009
Im trying to make a object only appear when you have collect enough coins. How could i do this?
View 2 Replies