Problems with led variable removed from the database

Hello

I have problems with the following code, it draws on a database to add to a list later, player names, however outside of the statement where the name of the player are assigned they are not recognized i.e. the bits where I wrote [CODE] trace ("1these is the name of the player 1 is + player1Name"); [/ Code] etc. There are also 4 variables to do with a number of keys and as far as I can see that I am dealing with the same, declaring them upstairs, assigning them values and when I print them out later that they are beautiful, the only difference I see is the type of variable are about these things.

I initialized the variables at the top, I tried to make it global, making [CODE] var player1Name: String; [/ Code], it seems a simple problem, but I can't understand it...

Here's the relevant part of the code:

[CODE]
var stage3player1keyCount = 0;
var stage3player2keyCount = 0;
var stage3player3keyCount = 0;
var stage3player4keyCount = 0;

var player1Name ="";
var player2Name ="";
var player3Name ="";
var player4Name ="";

It reads in the current state keys players
myDataP = new LoadVars();
myDataP.load (" http://www.elementalive.net/keyDown.php");
myDataP.onLoad = function() {}
stage3player1keyCount = myDataP.info;
trace (stage3player1keyCount + "is the number of player one keys");
}

myDataQ = new LoadVars();
myDataQ.load (" http://www.elementalive.net/keyDown1.php");
myDataQ.onLoad = function() {}
stage3player2keyCount = myDataQ.info;

trace (stage3player2keyCount + 'is the number of keys of Player 2');
}
myDataR = new LoadVars();
myDataR.load (" http://www.elementalive.net/keyDown2.php");
myDataR.onLoad = function() {}
stage3player3keyCount = myDataR.info;
trace (stage3player3keyCount + 'is the number of keys of player 3');
}
myDataS = new LoadVars();
myDataS.load (" http://www.elementalive.net/keyDown3.php");
myDataS.onLoad = function() {}
stage3player4keyCount = myDataS.info;
trace (stage3player4keyCount + 'is the number of keys of player 4');
}
This.stage3transferKeyList.SetStyle ("fontSize", "20");

myDataT = new LoadVars();
myDataT.load (" http://www.elementalive.net/wait1a.php");
myDataT.onLoad = function() {}
player1Name = myDataT.info;
trace ("is the name of the player 1 s" + player1Name);
printName (player1Name1, 1);
}
myDataU = new LoadVars();
myDataU.load (" http://www.elementalive.net/wait1b.php");
myDataU.onLoad = function() {}
player2Name = myDataU.info;
trace ("is the name of the Player 2 s" + player2Name);
printName (player2Name, 2);
}
myDataV = new LoadVars();
myDataV.load (" http://www.elementalive.net/wait1c.php");
myDataV.onLoad = function() {}
player3Name = myDataV.info;
trace ("this is the name of the player 3 s" + player3Name);
printName (player3Name, 3);
}
myDataW = new LoadVars();
myDataW.load (" http://www.elementalive.net/wait1d.php");
myDataW.onLoad = function() {}
player4Name = myDataW.info;
printName (player4Name, 4);
trace ("is the name of the player 4 s" + player4Name);
}

trace ("1these is the name of the player 1 is + player1Name");
trace ("1these is the name of Player 2's + player2Name");
trace ("1these is the name of the player 3 is + player3Name");
trace ("1these is the name of the player 4 is + player4Name");
[/ CODE]

Thanks for any help in advance, it is much needed and appreciated.

Louise.

I got it working! Thank you very much! You saved his life. It will take that I remember this problem... because I think he could source a few other hiccups throughout our game. You made my day!

Thank you
Louise

Tags: Adobe Animate

Similar Questions

  • Having problems with SQL Developer connection to the database on a LINUX machine

    Having problems with SQL Developer connection to the database on a LINUX machine
    Hello
    I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
    Status: Failed - Test has failed: the network adapter could not establish the connection


    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    and TNSPING
    tnsping 172.x.x.x
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$
    Tnsnames.ora on Linux,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )
    )
    Listner on Linux,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )
    )
    hosts/ect/Linux,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBilling
    and there is no problem to ping linux from windows

    Published by: user11309581 on April 11, 2013 15:16

    user11309581 wrote:
    as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
    tatus: failed - Test has failed: the network adapter could not establish the connection

    It's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.

    This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with

    c:\ telnet 172.x.x.x 1521
    
  • my hotmail is Arabic, not English can I talk to someone about this problem, * address email is removed from the privacy * email address < PII removed > phone number

    can you help me with this problem

    Direct number: (888) 725-1047

    1-800-936-5700

    or

    Contact Microsoft support:
    http://support.Microsoft.com/contactus/?ws=support

  • Problem with music player and from the Gallery after the ICS update

    Hello everyone, after I've updated my bow (lt15i) to ICS 4.0.4, i found a few bugs on the music player and the Gallery

    (1) if I add some photos on the SD card, it shows no not on Gallery (Gallery Xperia and ICS Gallery)

    (2) if I add music on SD card, also not shown on the music player, so I have to use Explorer to find and play, it's very annoying

    I tried to erase the music player data, but no results and I tried to use third party applications (Jetaudio or Google Play Music) but it is same

    Anyone have problem like me? What can I do to fix that?

    This could be resolved if you reformat the SD card

    Don't forget to mark the correct answers & useful answers

  • I have the problem with my language of keyboard, the fact is I can't add or remove languages from keyboard

    Hi all
    I have the problem with my language of keyboard, the fact is I can't add or remove languages from keyboard
    When I press the keyboard button change that nothing happens, but in the event viewer I get the following message
    The failing application name: Rundll32.exe_shell32.dll, version: 6.1.7600.16385, time stamp: 0x4a5bc9e0
    Name of the failed module: input.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdf4f
    Exception code: 0xc0000005
    Offset: 0 x 0000000000003756
    ID of the process failed: 0xf5c
    Start time of application vulnerabilities: 0x01cd697d57b60837
    The failing application path: C:\Windows\system32\Rundll32.exe
    Path of the failing module: C:\Windows\system32\input.dll
    Report ID: 95fbd586-d570-11e1-8bfb-c860006d193a
    Can someone help me with this? or maybe there's another way to change the keyboard languages? for example through registry?
    Thanks in advance
    I HAVE Windows 7 x 64

    Hello

    I suggest to create a new user account and check.

    Create a user account.

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    If the problem does not occur in the new user account, I suggest you to fix a corrupted user profile.

    Fix a corrupted user profile.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

  • Connect with * address email is removed from the privacy * is blocked

    There was a problem with the song in my account (* address email is removed from the privacy *) a week before. He has temporarily blocked because of some spam massages. but I had recovered the use of password reset code.
    Now, I had this massage
    Connect with * address email is removed from the privacy * is blocked

    • Someone has entered the password wrong too many times.
    • If you registered for this ID through an organization, you will not be able to use the account again

    I got the link for the reset several times and I have reset the password but whenever I try to sing in. I use to get the same massage. What can I do to recover my account. He is my school and counts deal with work. I need to return, please help me

    This forum is for posting comments on Microsoft Answers web site, not to any other technical questions.

    For me it looks like you're talking about a Windows Live ID.  Questions about who belongs in the center of Windows Live Windows Live ID Portalsolutions.

  • I'm stuck on my * address email is removed from the privacy * email account I am still getting this error code 80048823 I can help get this problem?

    I'm still stuck on my * address email is removed from the privacy * e-mail account. I get this error code 80048823. Can I get help with this problem?

    Hi Rutherford,

    Since the problem is related to Windows Live, you can also send your query to Windows Live Solution Center.

    Portal - Messaging Windows Live Solution Center

  • problem with bind variables in the SQL query view object

    Hi all

    I use JDev 11.1.2.4.0.

    I have a problem with bind variables in the SQL query view object.

    This is my original SQL

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE t.nctuser_id = '20022' 
          AND to_char(t.insertdate,'YYYYMMDD') in ('20130930','20130929')
    group by t.legertype_id
    

    In my view .xml object query tab, I am writing this

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE   t.nctuser_id = '20022'
        AND to_char(t.insertdate,'YYYYMMDD') in :dddd
    group by t.legertype_id
    

    Davis here is a variable of Type liaison: String, updatable and necessary.

    I try to deal with Davis as ('20130930 ', ' 20130929') hoping the view object, run as my original SQL.

    But failed. The view object retrieves 0 line after that I run.

    Why?

    Thank you! ('2original SQL0130930', '20130929') ('20130930 ', ' 20130929')

    A variable binding cannot be used as this is why you must use years table. Check decompilation binary ADF: using oracle.jbo.domain.Array with ViewCriteria to see a solution.

    Timo

  • Connect with * address email is removed from the privacy * is blocked for one of the following reasons:

    Hi, Im Mohamed, I sigfn I http://www.hotmail.com whith my ID show this maseg

    Connect with * address email is removed from the privacy * is blocked for one of the following reasons:

    • Someone has entered the password wrong too many times.
    • If you registered for this ID through an organization, you may not be able to use the account again.

    How to unlock my mail,

    NOTE: I tried reset my password security Question, write the correct answer, then show

    This option is temporarily unavailable because incorrect information was entered too many times. Please, try another option or try again later.

    Help me pz

    PZ send the response to this ID * address email is removed from the privacy * OR * address email is removed from the privacy * very thanks.

    Hi M-GhiathDakkak,

    Your question about Hotmail he will be better answered in forum Windows Live Hotmail . Please repost your question here.

  • "Symantec service framework stopped working" 'a problem caused blocking the program works correctly. Windows will close the program and notify you if a solution is removed from the privacy of available'Email

    "Symantec service framework stopped working" 'a problem caused blocking the program works correctly.  Windows will close the program and notify you if a solution is not available"

    Favorite

    E-mail address is removed from the privacy *.

    http://www.Symantec.com/Norton/support/kb/web_view.jsp?wv_type=public_web&docURL=20080917103626EN&LG=en&SEG=HHO&CT=us&PVID=nis_2009&selected_nav=5

    http://Service1.Symantec.com/support/Norton360.nsf/0/a5ae667bcb41502b6525729f002036b2?OpenDocument

    It's a Symantec/Norton problem; read the links above.

    Contact Norton Support:

    http://www.Symantec.com/en/AU/Norton/support/index.jsp

    See you soon.

    .

    Mick Murphy - Microsoft partner

  • Hi, I'm having a problem signing in my email. He has been blocked. What can I do? please answer me as soon as possible to * address email is removed from the privacy *.

    Hi, I'm having a problem signing in my email. He has been blocked. What can I do? please answer me as soon as possible to * address email is removed from the privacy *.

    Was - this hotmail account?

    http://social.technet.Microsoft.com/wiki/contents/articles/what-to-do-if-your-Hotmail-account-is-hacked-or-hijacked.aspx

  • I've updated to 2015.2 in September and started having problems with freezing while working on the photos. I upgraded my memory from 4 GB to 8 GB and it has disappeared (in most cases); However, I always feel a lot of questions of export of JPEGs (gel) bu

    I've updated to 2015.2 in September and started having problems with freezing while working on the photos. I upgraded my memory from 4 GB to 8 GB and it has disappeared (in most cases); However, I always feel a lot of questions of export of JPEGs (gel) but not tif files? Very frustrating. Tried to install the new updates but my creative cloud is just a blank page?

    Hello

    I think you are referring to the white empty window of CC desktop application.

    Please refer to the threads below where this issue has been addressed:

    Creative cloud is empty window why?

    Cloud Desktop App is empty?

    New application Cloud Creative unusable: it is empty!

    Re: Empty opening creative cloud app

    Kind regards

    Sheena

  • I have Windows Vista with Microsoft Works. I would like to make the computer to be bilingual in English and Hebrew. How can I do? Just reply to * address email is removed from the privacy * thank you

    I have Windows Vista and you are using Microsoft Works. I would like to make my computer b bilingual English and Hebrew. How do I dot it? Just reply to * address email is removed from the privacy * thank you

    Hello

    I suggest you follow the steps in the link below and check off the question:

    How can I get additional language files? :

    http://Windows.Microsoft.com/en-us/Windows-Vista/how-do-I-get-additional-language-files

    I hope that the information above helps you.

  • Problems with Bind Variables

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
           co.ni_num
      FROM address a, contact co
     WHERE co.ref_num = a.ref_num
       AND (:1 IS NULL OR co.forename = :2)
       AND (:3 IS NULL OR co.surname = :4)
       AND (:5 IS NULL OR a.postcode = :6)
       AND (:7 IS NULL OR a.address = :8)
       AND (:9 IS NULL OR co.dob = :10)
       AND (:11 IS NULL OR co.ni_num = :12)
    With a jdbc connection, we use a web front end for a new management system. The SQL above runs since a search screen. We meet a few serious problems with bind variable and execution plans. When the above query is sent by the database 'AND' clauses could evaluate as follows:
    AND ('Tim' IS NULL OR co.forename = 'Tim')
       AND ('Clarke' IS NULL OR co.surname = 'Clarke')
       AND ('' IS NULL OR a.postcode = '')
       AND ('' IS NULL OR a.address = '')
       AND ('25051981' IS NULL OR co.dob = '25051981')
       AND ('' IS NULL OR co.ni_num = '')
    We cannot dynamically assign 'AND' conditions so they are sent through to the database. This translates FTS 99% of the time as the execution plan never prescribed any of the available indices.

    Someone has suggestions on how to better 'control' bind variables?

    Hello

    Don't you think that 'OR' Conditions are necessary to check for Null, where the binding variable is NULL or not.

    I think that rather than running the query from the front to FB, try to convey the values of some MS and run this query in the procedure, the extraction from the point of view Design coding application. Never fire the query of the frontal part.

    To come to the problem.

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
    Co.ni_num
    ADDRESS, contact co
    WHERE co.ref_num = a.ref_num
    AND (: 1 co.forename IS NULL or =: 2)
    AND (: 3 co.surname IS NULL or =: 4)
    AND (: 5 a.postcode IS NULL or =: 6)
    AND (: 7 a.address IS NULL or =: 8)
    AND (: 9 co.dob IS NULL or =: 10)
    AND (: 11 co.ni_num IS NULL or =: 12)

    Use the procedure.

    Fact exits of the indexes on the tables and stats are updated...?
    Try to predict explain it. ??

    -Pavan Kumar N

  • Who are removed from the black list of Google, but still has 'Reported the Page attacks' in Firefox 18.0.1

    A site of mine was removed from the blacklist of Google, but he still has "Reported attack Page" even though I've updated for Firefox 18.0.1. (See the bug 820283 - https://bugzilla.mozilla.org/show_bug.cgi?id=820283)

    This looks like a problem with the sponsor.

    It occurs if the sponsor is disabled, so it seems that your server is still infected and redirects if it detects a godfather of Google.

    Forcing the godfather to Google and force a reload causes already forwarding.
    http://www.Google.com.my/URL?SA=t & RCT = j & q = % 22minda % 20jaya % 20language % 20center % 22 & source = Web & CD = 1 & CAD = AJLN & ved = 0CC0QFjAA & URL=http%3A%2F%2Fmj.edu.My

    You will need to contact the host to look into this.

    http://mj.edu.my/
    
    GET / HTTP/1.1
    Host: mj.edu.my
    User-Agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Referer: http://www.google.com.my/url?sa=t&rct=j&q=%22minda%20jaya%20language%20center%22&source=web&cd=1&cad=rja&ved=0CC0QFjAA&url=http%3A%2F%2Fmj.edu.my%2F&ei=zYkHUcn7BO-k0AXS1oCwBg&usg=AFQjCNFk9gMFEWhR1Sb6huleXTJlop0lOw
    Cookie: fff58b804557285b9ce67d60b784a3d9=fee645cf421d30ecdacd55bb0798e922; s5_qc=6346dc723395e1ee8ef57f4883be4cb4a4xn
    Connection: keep-alive
    
    HTTP/1.1 302 Moved Temporarily
    Server: Apache
    X-Powered-By: PHP/5.2.17
    P3p: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
    Location: http://0001.2waky.com
    Content-Length: 0
    Keep-Alive: timeout=3, max=10
    Connection: Keep-Alive
    Content-Type: text/html
    
    http://mj.edu.my/
    
    GET / HTTP/1.1
    Host: mj.edu.my
    User-Agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Cookie: fff58b804557285b9ce67d60b784a3d9=fee645cf421d30ecdacd55bb0798e922; s5_qc=6346dc723395e1ee8ef57f4883be4cb4a4xn
    Connection: keep-alive
    
    HTTP/1.1 200 OK
    Server: Apache
    X-Powered-By: PHP/5.2.17
    P3p: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
    Expires: Mon, 1 Jan 2001 00:00:00 GMT
    Cache-Control: post-check=0, pre-check=0
    Pragma: no-cache
    Set-Cookie: s5_qc=3416a75f4cea9109507cacd8e2f2aefca4xn
    Last-Modified: Tue, 29 Jan 2013 08:37:43 GMT
    Keep-Alive: timeout=3, max=10
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=utf-8
    

Maybe you are looking for

  • Laptop HP pavilion G7 - 2373CA

    My laptop of spouses who had not been used in months, to connect it to my router / modem was working fine, update of Norton, still worked OK then updates are down 112 and 5 optional updates in windows have been installed, after you perform a reboot I

  • KDL-W650D won 100% during the software upgrade

    Greetings, My TV was purchased new July 23, 16 (6 weeks ago) from Best Buy. At 0400 CDT today (15 SEP 16), about 1.5 hours ago, I turned on my TV and saw the notice of an upgrade of the software with installation options now or later. I chose install

  • replacement of power 4 pin din power for RN104

    Hello The power adapter that came with it recently resumed a ReadyNAS RN104 opportunity, does not remain in the ReadyNAS unless you really push. The ReadyNAS works great however, I would get another PSU. Would be a generic 4 pin din power supply with

  • Compaq fan not working, overheating and stopping.

    I've had my Compaq Presario CQ60 - 227ca for about 2 years now and after getting my favorite fan on this last time he stopped working. The laptop since I bought it was always heating to a high temperature, but the fan just always worked harder. Think

  • Headers and footers truncated in print the web page

    This problem started when I installed the HP software on a new machine of Windows 8, IE 10 running.  The printer is an Officejet 6500 E709n.  Windows print preview displays the headers and footers, but with all the margins of valeur.75 and Shrink-to-