Help needed in making a login screen

hi all,
i need to make a login screen in flash in which a user enters
a password and username and both are checked from an xml file. i
need your help in making it. could anyone redirect me to some
tutorial or if anyone can post the code here, i would really be
grateful to you. thanks,
gaurav

First you need to load the xml file that contains the list of
user names and passwords into variables using actionscript.
Use this tutorial.
http://www.actionscript.org/tutorials/intermediate/XML/index.shtml
Then compare the value entered by the user with the list of
usernames and passwords.
But be aware:
1>All the processing happens on the client machine
2>Extremely insecure if you are after a secure login.
3>and when you update the XML file it won't necessarily
take effect immediately on all the user's machines as they may be
using a cached version of it.
Ideal method is to use server side validation script using
asp, asp.net, jsp or php.

Similar Messages

  • Help needed in making a Recursive loop( loops into loops)

    Hi i have a situation, i need to make loop into loop into loop....undecided loop.
    i have a object list which are parent.........eg.
    i query to get my 1st list is A, B and C....i loop it to display in table
    while looping i query A to get its child AA, AB, and AC, i loop it in table..
    while looping i query AA to get its child AAA, AAB and AAC...
    i have to check for the child till it has child level donw level...but i dont know how can i make a dynamic loop...i cant write a loop it for 15 to 20 .
    Is there any way to make a recursive loop so tht it checks for child into child.
    thanks

    my code is such......
    Corres[] objCorresBean = correspondence.getCorrespondence(objectId);
    for (int i = 0; i < objCorresBean.length; i++) {
    CorrespondenceBean corresBean = objCorresBean;
    String parent_object_id = corresBean.getObjectId();
    childCorresBean = correspondence.getChildCorrespondence
    (parent_object_id);
    for (int j = 0; j < childCorresBean.length; j++) {
    CorrespondenceBean childBean = childCorresBean[j];
    String child_object_id = childBean.getChildObjectId();
    may be child_object_id have some childrens.......i want to make it recursive

  • Help needed in making table name and column name dynamic

    please check the below query? in the below message
    Message was edited by:
    460425
    Message was edited by:
    460425

    thanks Dmytro,
    below is the script i was looking for it got it..any way thanks.
    just need to replace dbms_output.put_line with utl_file.put_line
    to put the code on server directory.
    and execute as and when required.
    Reg.
    AAK
    CREATE OR REPLACE PROCEDURE p_ad_log
    IS
         CURSOR tbl_cursor IS
              SELECT table_name FROM user_tables WHERE table_name IN('EMP','EMP1') ;
         CURSOR col_cursor( cp_table_name varchar2) IS
              SELECT column_name FROM user_tab_columns WHERE table_name=cp_table_name;
         --v_file_handle      utl_file.file_type;
         --v_file_dir          varchar2(30)      :=     'DIRECTORY PATH'     ';
         --v_file_name     varchar2(30)       :=       'AD_TRIGGER_TEXT.TXT';
         tbl_cursor_value     tbl_cursor%ROWTYPE;
         col_cursor_value     col_cursor%ROWTYPE;
         v_string          varchar2(4000);
         v_string_val     varchar2(4000);
    BEGIN
         DELETE audit_triggers_status;
         COMMIT;
         --v_file_handle := utl_file.fopen(v_file_dir,v_file_name,'W',32000);
         OPEN tbl_cursor;
         LOOP
              FETCH tbl_cursor into tbl_cursor_value;
              EXIT WHEN tbl_cursor%NOTFOUND;
              OPEN col_cursor(tbl_cursor_value.table_name);
              DBMS_OUTPUT.PUT_LINE( 'CREATE OR REPLACE TRIGGER' ||' ad_'||tbl_cursor_value.table_name); -- short name for audit trigger coz table name will be appended to it and result should not exceed 30 char
              DBMS_OUTPUT.PUT_LINE( 'BEFORE INSERT OR UPDATE OR DELETE ON '||tbl_cursor_value.table_name);
              DBMS_OUTPUT.PUT_LINE( 'FOR EACH ROW');
              DBMS_OUTPUT.PUT_LINE( 'BEGIN');
              v_string:='INSERT INTO'||' ad_'||tbl_cursor_value.table_name||'(';
              v_string_val:='values(';
              INSERT INTO audit_triggers_status( table_name,trigger_name,audit_flag) VALUES (tbl_cursor_value.table_name,' ad_'||tbl_cursor_value.table_name,'Y');
                   LOOP
                        FETCH col_cursor into col_cursor_value;
                        EXIT WHEN col_cursor%NOTFOUND;
                        v_string:=v_string||col_cursor_value.column_name||',';
                        v_string_val:=v_string_val||':new.'||col_cursor_value.column_name||',';
                   END LOOP;
                   CLOSE COL_CURSOR;
              v_string:=substr(v_string,1,length(v_string)-1);
              v_string_val:=substr(v_string_val,1,length(v_string_val)-1);
              v_string:=v_string||') ';
              v_string_val:=v_string_val||');';
              --DBMS_OUTPUT.PUT_LINE(v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('IF INSERTING THEN');
              DBMS_OUTPUT.PUT_LINE('     '||v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('END IF;');
              DBMS_OUTPUT.PUT_LINE('IF UPDATING THEN');
              DBMS_OUTPUT.PUT_LINE('     '||v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('END IF;');
              DBMS_OUTPUT.PUT_LINE('IF DELETING THEN');
              --DBMS_OUTPUT.PUT_LINE('     '||v_string||REPLACE(v_string_val,':new.',':old.');
              V_STRING_VAL:=REPLACE(v_string_val,':new.',':old.');
              DBMS_OUTPUT.PUT_LINE('     '||v_string||v_string_val);
              DBMS_OUTPUT.PUT_LINE('END IF;');
              DBMS_OUTPUT.PUT_LINE('END '||' ad_'||tbl_cursor_value.table_name||';');
              DBMS_OUTPUT.PUT_LINE(' ');
         END LOOP;
         CLOSE TBL_CURSOR;
         COMMIT;
    END;

  • Help needed on making Bex version settings for RRMX

    Hi BW Gurus,
    When i make RRMX , BW 3.5 BEx is opening as default.
    But I need BI 7.0 Bex to open as default when i make RRMX,because I need to open my workbook through a portal link.I created my workbook in BI 7.0 Bex and so in BW 3.5 Bex my workbook is not opening.
    Where i should make the settings.
    I tried setting in SPRO and also in the global settings of the BI 7.0 Bex by opening it from the start menu.
    Still nothing works out.
    Can someone throw light on my problem.
    Thanks in advance
    Regards
    Sam

    Hi Sam,
    Check this out:
    /message/2274270#2274270 [original link is broken]
    /people/prakash.darji/blog/2006/07/26/troubleshoot-the-sap-netweaver-2004s-bi-frontend-installation
    R,
    Adwin

  • Help needed for making a copy of a table .

    Hi ,
    I have a table , which is consisting for nearly 20 columns .
    I want to make a Copy of that table with data or without data anything will be fine .
    Please tell me how can i make that ??
    Is there any option available for that ??
    Thank you .

    CREATE TABLE MY_COPY AS SELECT * FROM ORIG_TABLE WHERE 1=2;will create a copy of ORIG_TABLE without rows,indexes,constraints.
    CREATE TABLE MY_COPY AS SELECT * FROM ORIG_TABLE ;will create a copy of ORIG_TABLE with rows but without indexes and constraints. This would be acceptable if the table is small. Else, create an empty table (as above) and then use
    ALTER TABLE MY_COPY NOLOGGING;
    INSERT /*+ APPEND */ INTO MY_COPY SELECT * FROM ORIG_TABLE ;(Optionally, add PARALLEL Hints to the INSERT and SELECT.
    You can use Export and Import utilities to create a copy of table with options to include or exclude rows, constraints, indexes.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Why changes are not made in login screen after changes in logon.css in OBIE

    Hi,
    I need to change the login screen with my own logo.and i referred the below links.I have made all the cahanges as mentioned in this link.
    The heading is changing but the backgroundimage and colours are not changing.I have made all the changes as mentioned in this link.
    can anyone help what is wrong and why i'm not getting the backgroung image and colour changed..Is there any other changes in logon.css or instanceconfig.xml
    other than mentioned in this link.
    http://santoshbidw.wordpress.com/2011/08/16/obiee-logon-screen-customization/
    http://santoshbidw.wordpress.com/category/obiee-10g/obiee-10g-answers/customize-obiee-logon-image/
    Thanks in advance

    You have customised the skins/themes folder
    $OBI_HOME/web/app/res/*
    Depending on what webserver you are using you will also need to customise the skins/themes for the web application that is already deployed.
    These are where you can find them:
    OC4J: $OBI_HOME/oc4j_bi/j2ee/home/applications/analytics/analytics/res/*
    WebLogic: $OBI_HOME/web/analytics/res/*
    You will need to restart the presentation services to see the changes.
    If you are manually deploying the application to the web server you will need to make your changes to the original app folder '$OBI_HOME/web/app/res/*' and then follow the below guide to create the web archive to deploy to the presentation server i.e. oc4j or WebLogic.
    http://download.oracle.com/docs/cd/E12096_01/books/AnyInConfig/AnyInConfigSAW4.html#wp1119340

  • How to edit the custom message in login screen

    I did this and forgot how I done it, And having remembered I hope this will help any one who needs to customise their login screen message.
    1     Callup system preferencies pane and click on Security & Privacy
    2     Unlock the padlock in the lower left corner
    3     In the General tab edit the box under "Show a message when screen is locked" then close the padlock to make changes.
    There are many times this has been asked with various answers ranging from "download ......" to "find... and edit file...." all seems too much work there when its already catered for in osx.

    Try resetting your device.
    Hold down the Home and Sleep/Power Buttons until the Apple Logo shows up.
    Ignore the red slider if it appears.
    This will reboot the phone, no data should be lost.

  • How to create  a  login screen

    i need to create a login screen ,only if user enter valid
    username & password it should move to next canvas.
    could any one help me out

    there are many ways.
    if you want the users to be backend users i.e. schema users u candesign a fform with on logon triggers.
    instaed you can have front end users by storing user aname and password in a table , and check for valid user name and passowrd using a form.

  • Skipping login screen when clicking a  BW Web Template link in a BSP

    Hi,
       I need to display a BW Web template on a BSP application. This page needs to skip the login screen. I use trxn SICF to do that, however, a login screen still pop up for the embedded Web template. To solve that, i put in the userid and password into url.
       My question is can we not put the userid and password in the URL but still achieve the same results? The reason being the login information is in the source code of the web template when displayed on the web browser.
    Thanks,
    CK

    i am making an assumption that the BSP application is running from BW system.
    As eddy had pointed out , it looks like that the SSO is not configured .
    executed the following url
    http://<server>.company.com:<port>/sap/bc/bsp/sap/system/sso2test.htm?sap-user=<user sap user id>&sap-password=<your sap password>
    This will tell you whether the SSO is configured in your system or not. if not you have to configure the same.
    Regards
    Raja

  • When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    When i type in my correct password on the login screen and press enter it just goes to a blue screen for a few seconds then goes back to the same login screen again, please i need help?

    You can take some of the steps here, #4, #5 or even trying a #18
    Step by Step to fix your Mac
    but I suspect your going to first have to create a data recovery drive
    Create a data recovery, undelete boot drive
    to get your data off the machine,
    then do a #20 to eliminate the bad sectors as that's why your getting the "pinwheel" it's getting a delay reading from the drive, right when your trying to log in too, what a bad spot for it to happen.
    Step by Step to fix your Mac

  • Hi, I need someone to help me change the login screen. The computer I have is a macbook, its second hand and probably around 3-4 years old. The previous owner had the login screen has a lego or something. Could someone please help me change this??

    Hi, I need someone to help me change the login screen. The computer I have is a macbook, its second hand and probably around 3-4 years old. The previous owner had the login screen has a lego or something. Could someone please help me change this??

    computerilliterate52 wrote:
    hi all, i hope someone is very computer litterate about java that is i have a dell 2400 pc windows xp 2, well since msn isnt downloading anymore java updates we all have to download a compatible one to our computer i use explorer and i can play www.iwin.com online games, yet when i go on to the msn browswer it wont load the games all i see is it just trying to load and load nothing said and nothing done. what could be wrong it works on ie and not msn browser? i have zone alarm, i have avg spyware tester and spyblaster, but i thought it may of kept me from downloading all this yet it worked on IE please help and i dont have flash player either it wont seem to work any and i mean any help is welcome.i tried to change the browser settings and did all that stuff i am on broadband DSL and they dont seem to know they say that isnt there job its msn's so i asked them and they said no it is quest broadband since i am with them i just get the run around i have IE 6.0 ihave java plug in 1.4.2. o3 yet it says not verified, i have java 1.6.o o1 i have java plugin 1.6.0 01 i have that twice ? dont know why. and java envirinmemet i have the right stuff cuz like i said it plays or works on explorer not msn browserer bar. i see no picture's in center of the page as it tries to load it is a blank page any help thank you i have been trying going on 3 weeks now thanksI agree with the other posters; try Firefox. It sounds like a bit of a mess and what you may need is an onsite PC tech to do some maintenance on your PC.
    Also, learning to properly use punctuation (particularly periods) might not be a bad idea. As it is, your post was very hard to read.
    Good luck!

  • Need help with adding a login screen

    Hello I have a program with a JFram and tabbedpane.
    The tabbedpane has 2 tabs but I want them to become visible after entering a correct
    username and password.
    So I want to have a login screen in my JFrame and when the username and password are correct the user can see the tabs and there content.
    This is what I have for the tabs What is the best way to add a log in screen?
    I thought about a panel with 2 txtfields and a button and when it is correct than open the tabs.
    public BelTableau() {
        super("Standalone BelTableau & E-Entree Receiver");
        Container c = getContentPane();
        c.setLayout(null);
        JTabbedPane tabbedPane = new JTabbedPane();
        JComponent panel1 = BelTab();
        tabbedPane.addTab("BelTableau",panel1);
        JComponent panel2 = KeyTab();
        tabbedPane.addTab("E-Entree",panel2); 
        tabbedPane.setBounds(10,10,820,550);
        c.add(tabbedPane);
        setBounds(100,100,850,600);
        setVisible(true);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Close program when exit
    protected JComponent KeyTab()
        JPanel keypanel = new JPanel(false);
        keypanel.setLayout(null);
        return keypanel;
    protected JComponent BelTab()
            JPanel belt = new JPanel(false);
                belt.setLayout(null);
         belt.add(aantalhuizen);

    This is what I have for the tabs What is the best way
    to add a log in screen?
    I thought about a panel with 2 txtfields and a buttonA panel, 1 JTextField, 1 JPasswordField, 2 Buttons (Ok/Cancel).
    and when it is correct than open the tabs.Either that or use a modal JDialog.

  • Keys broken, need to enter Password? How to open onscreen keyboard from login screen?

    I have a macbook (just the original white one...I want to say it's a 2008). I haven't used it in a while because my keyboard is broken. I had to have some work done on it (other than replacing the ketboard which I will do later), and when I got it back and cut it on, it came to the login screen where I need to enter my password. My password contains some of the letters on my keyboard that are broken. How do you open the on screen keyboard (where I can use my mouse to type it in) from the login screen? There's no options or anything that I can click on other than where I enter my password. Thanks in advance for any help!!!

    I do not have an external keyboard...well I do, but I can't find it at the moment. So if there's any other way around it, that would be helpful

  • Install failed due to loss of power and Yosemite will now not go past login screen. Help!

    I recently tried to install OS X Yosemite.  unfortunately during the install my laptop was unplugged and the installation failed mid way through.  Each time I start my mac I get to login screen and after logging in get an error message and told to restart and try again - which does not resolve the issue.  Guest login do work to the safari screen.  Any help hugely appreciated. 
    The error message reads:
    You need to restart your computer.  Hold down the power button until it turns off, then Press the power button again.
    Behind system code, including:
    panic(CPU 2 caller 0xffffff 80005418bf):
    "process 1 exec of /sbin/launchd failed, errno 45"@/sourcecache/xnu/xnu-1699.32.7/bsd/kern/kern_exec.c:3546
    Debugger called: <panic>
    Backtrace (CPU 2), Frame: Return Address
    0Xffffff80e8423e00 : 0xffffff8000220792
    7 more lInes like the one above
    BSD process name corresponding to current thread: init
    MAc OS version:
    not yet set
    THen kernel version data. 

    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - About
    Safe Mode - Yosemite

  • Windows 8.1 crashing before login. Help needed.

    I just installed Boot Camp from a Windows 8.1 .iso on a USB drive. I ran all Windows updates, installed AVG free and Google Chrome. Nothing else. Everything was running smoothly during all the restarts and updates. Now, when I reboot from OS X and hold option, I select Windows. The Windows spinning dots start happening, and then it crashes, restarting the machine. Sometimes, it will get all the way to the login screen. If, however, I'm in OS X and shut down the computer, wait a few seconds, hold option, and select Windows, Windows boots up fine. It's a workaround, but before I install everything else (Steam library, Minecraft files, etc.) and use Winclone to back it up, I want rather have it working as it should. 
    Things I've tried:
    1) Starting from scratch: removing the Boot Camp partition and doing a fresh install of everything.
    2) Running CHKDSK from within Windows; everything seems okay.
    3) Reinstalling Boot Camp Utility from within Windows. No change. 
    4) Frowning, grunting, and swearing. 
    It's a mid-2014 MBPr, 2.8 Ghz Intel Core i7 with 16 GB of Ram, a 1 TB hd, and the NVIDIA GeForce GT 750M (2 GB of video RAM), if that helps. 
    I've read more forums and articles than I can count, and the only thing I found was the suggestion to shut it down and reboot that way. Any ideas from folks who know more than I do? Thanks in advance!

    We do need the actual DMP file as it contains the only record of the sequence of events leading up to the crash, what drivers were loaded, and what was responsible.  
    We prefer at least 2 DMP files to spot trends and confirm the cause.
    Please follow our instructions for finding and uploading the files we need to help you fix your computer. They can be found here
    If you have any questions about the procedure please ask
    Wanikiya and Dyami--Team Zigzag

Maybe you are looking for

  • WSo2 BDC to delete line item in table control

    Hi all, My requirement is to delete material from wso2 table control. The only way to delete a line item in this table control is to select the line in table control and delete it. The recording doesnt captures any selection of row. Any input on how

  • Getdocument function (Loading an xml document from sql plus)

    Hello, I quote from the XML Database Developer's Guide. It appears to be possible to specify an xml file in the query using the following syntax: INSERT INTO XMLTABLE VALUES(XMLTYPE(getDocument(purchaseorder.xml))); Where purchaseorder.xml is a docum

  • Call webservice from abap

    Hello, I use the following code to call web service from abap, but in the method "http_client->receive"  i see "http_communication_failure = 1" . this is the code: DATA: SMS_TEXT       TYPE STRING,        SMS_TEXT_UTF   TYPE STRING,        SEND_STRIN

  • Mouse Events at the icon in systray.

    My program call library function to add, modify or delete icon into systray. Additionaly I'd like to get back information when any mouse event had happen under icon in systray like move mouse, right/left button click etc. to display popup menu (as an

  • Sky App on X6

    I've got the Sky App on my X6 (downloaded vis Sky page) and it has been working fine - now though when I try to connect to the Sky App I get the following message: Failed to connect to network Please check that you have selected the correct access po