Global Score NOT FUNCTIONING

Hello:
My score does not appear at all in the score box (dynamic
text field) referenced as insert_txt.text when I press the submit
button, even if I give the correct or wrong answer.
"myScore" is referenced as the var
I performed a trace ("clik") and the button seems to be
working properly.
Please help.

did you remove the var associated with myScore_txt ?
"uxk8396" <[email protected]> wrote in
message
news:eo4ir1$rgr$[email protected]..
>I added the line (myScore_txt.text = _global.myScore;)
> with all the score values but it is still NOT working.
> What should I do now??
>
> __________________
>
> stop();
> //set the inital score
> _global.myScore = 0;
> _root.myScore_txt.text = _global.myScore;
> //
> //Making use of the submit button (1st option)
> _root.submit_btn.onRelease = function() {
> if (_root.insert_txt.text == "lascaux" ||
_root.insert_txt.text ==
> "Lascaux")
> {
> _global.myScore += 5;
> _root.myScore_txt.text = myScore;
>
> //_root.gotoAndStop("Right1")
> trace("gogot");
> } else {
> _global.myScore += 0;
> _root.myScore_txt.text = _global.myScore;
>
> //_root.gotoAndStop("Wrong1");
> }
> };
>
>
>

Similar Messages

  • Communication problems: A device attached to the system is not functioning.

    Hi all,
    I'm developing an applet and using the OMNIKEY 5321 CL reader for communication and testing. One of the requirements for our card is to read large binary data.
    For this purpose i used extented lenght APDU to read the data from card.
    When I tested it via JCOP simulation I was able to read up to 32767 bytes as described in specification. But problem occurs when I test it with reader, in this case I'm able to read max 298B in APDU response. When I send greater byte count than 298B i have got following error in JCShell plugin:
    jcshell: requestSessionKey.jcsh[1]: Error code: -6 (Card terminal error)
    jcshell: requestSessionKey.jcsh[1]: Communication problems: A device attached to the system is not functioning.
    Regarding the extend lengh APDU support it should by OK from the OMNIKEY. I'm using newest driver 1.2.9.2 for Win 7.
    Here my configuration:
    JCOP:JCOP 2.4.2r1
    JAVA CARD: jc301
    Global Platform: gp22
    Can somebody help me? Any ideas?

    If you want to use PC/SC directly, I have a simple Go program that reads an APDU file (just hex encoded APDU strings) and sends them to a smart card. You can give that a try if you like.
    The code is at: https://bitbucket.org/safarmer/go-apdus
    There is a Goclipse project as well as the source. You will need to install Go and run "go get github.com/ebfe/go.pcsclite/scard" to install the required PC/SC wrapper. Once you have done this you can run the program with -file <apth to text file>
    An example text file:
    # A comment that is ignored
    00a4040000
    80ca9f7f00- Shane

  • Global vairable in Function module

    Hello Friends,
    How to declare a global variable in function module, other than declaring in Function group/data section of function module.
    Regards
    Elini.P

    Hi Elini,
    You can declare the global data after the ENDFUNCTION statement in your function module if you wish, or you can include your own include in the TOP include.
    Actually you can declare global data just about anywhere in your function group as long as its not in between statments like FORM ENDFORM or FUNCTION ENDFUNCTION.
    I agree with Anand, though, why?
    Cheers,
    Brad

  • "ChnCFCFiltCalc" in Crash option not functioning correctly

    It appears that the "EndPoints" option for the "ChnCFCFiltCalc" command is not functioning correctly. It does not seem to be reflecting the points to pad the data at the beginning and end of the signal. This is based on the results of filtering done with and without the option activated. Not activating the option appears to reflect the data and you get the results you would expect to see with the option activated. Activating the option give you results you would expect to see without the option activated.
    I am using Version 8.0.981
    This was functioning correctly in previous versions. Can you tell me when the "EndPoints" option stopped functioning correctly? I assume it was with Version 8.0. Is it correc
    ted in Version 8.1?

    Hi,
    The parameter "CFCPREEVENTTYPE" is an enumeration variable with the selection "EndPoints" or "ZeroMagnitude" and not is optional.
    Every mathematical function in DIAdem represents their parameters in global variables - eg. "CFCPREEVENTTYPE" as one parameter of the function "ChnCFCFiltCalc".
    If you now call a function in a VBScript you have two possibilities
    a) call the function with parameters like ChnCFCFiltCalc(X, Y, E, CFCFiltType, 0,"EndPoints")
    b) call the function without parameters like ChnCFCFiltCalc
    In case b) DIAdem will use the current content of the global parameter variable.
    Maybe that this is you problem.
    Kind regards
    Walter

  • Flash Game Score not working AS3, please help?

    So Im creating a game and all I wanted to add was a counter that increments constantly until a player loses the game.
    I created my score class and it looks like this:
    package
        import flash.display.MovieClip;
        import flash.display.Stage;
        import flash.text.TextField;
        import flash.events.Event;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        public class Score extends MovieClip
            public var second:Number = 0;
            public var timer:Timer = new Timer(10);
            private var stageRef:Stage;
            public function Score(stageRef:Stage)
                x = 537.95;
                y = 31.35;
                this.stageRef = stageRef;
                timer.addEventListener(TimerEvent.TIMER, clock);
                timer.start();
            function clock(evt:TimerEvent):void
                second += 1;
                scoreDisplay.text = String("Score: " +second);
    and this is my engine class that adds it to the stage:
    package  {
    //list of our imports these are classes we need in order to
    //run our application.
    import flash.display.MovieClip;
    import flash.display.Stage;
    import flash.events.Event;
    public class Engine extends MovieClip{
        private var enemyList:Array = new Array();
        private var ourBoat:Boat;
        private var score:Score;
        public function Engine() : void{
            //create an object of our ship from the Ship class
            ourBoat = new Boat(stage);
            score = new Score(stage);
            //add it to the display list
            stage.addChild(ourBoat);
            stage.addChild(score);
    So that creates a timer on the stage and continuously increments, but when I compile, I get no errors and my timmer for some reason doesn't work, it just displays random numbers, please help! If there is a better way of doing this please enlighten me.

    When I said it continuosly increments, I meant thats the function I was looking to do. The file compiles fine with no errors, but when you look at the textbox where im displaying the timer it flickers strangely and shows random numbers as if its crashed or that its not working properly just a load of 1's and 0's. I even tried changing the miliseconds to 1000ms it still does the same thing.

  • Activate Global Funds Management Functions (PSM-FM)

    IMG Path: -
    Public Sector management – Fund Management Government – Basic settings – Activate Global Funds Management Functions (PSM-FM)
    When I am activating the Fund management function (PSM-FM) in ECC 6 version, I am getting the error " Activation of Household management not permitted)
    Moreover, when I am activating Fund management in the following IMG path
    Path: - SPRO- Public sector management – Funds management government – Actual and Commitment Update/Integration – Activate/Deactivate Funds Management
    When tried to activate Funds management the system throws the message "Read Access only". Message number SV044.
    I am not able to do any configrational changes in this customization step.
    Kindly advise.
    Regards
    V.Krishnan

    Hi All
    I am also facing the same problem. Has anyone found the solution for this? I have gone through all the relevant actions for activating FM.
    The steps i took are :
    a) Create a Funds management area
    b) Assign the FM Area to company code
    c) Activate Global FM Function
    d) Activate Global FM Budgetory control check
    e) To a FM area assign the currency,Budget profile,Fund profile ,Fiscal year variant
    f) The master data to be created
    1. Fund centre
    2. Commitment item
    Funds are not relevant at my scenario so it is not relevant.
    g) Made budget entry for a FM area at Fund centre,Fund,Commitment item level.
    h) Created derivation rules for the posting.
    i) Assign Commitment item to GL accounts
    j) After checking the postings, I tried to activate FM.
    At this point the FM is giving me the same error:- Read Access Only
    Please Help
    Points will be rewarded.
    Thanks.

  • What's the lifecycle of Global Data in Function Group?

    Hello,
    I thought the Global Data in function group will be cleaned for each call stack. While it seems not so.
    With a BSP web application, it seems the global data of the function group would persist untill the session times out.
    I didn't find exact description regarding this. Could anybody help clarify this? For web session and SAPGUI session.
    Thanks and regards,
    Said

    hi,
    based on my understanding of the global data in the funtion group, let's say, when you call a FM a in FG b,  all of the content in the FG b is loaded into the stack. so the global data is cleaned after your program or transaction is complete.  but this will not happen when the called FM is finished, coz when you call a FM , the whole FG is loaded, so if you call FM c in FG b after you callling FM a, your program will not load the whole FG again.

  • Photosmart c309a- 'The wireless radio is not functioning, contact HP support'

    My Photosmart c309a wont connect wirelessly. Upon running the wireless network test, the report states, and I quote "The wireless radio is not functioning. Contact HP support". The report then states the following:
    Wireless on                    PASS
    Wireless working         FAIL
    and everything following that stated as 'not run'.
    Ive searched for other threads on the subject, and the only sloutions I can find are unplug the printer and plug it back in to reset it (made no difference), and try the HP print and san doctor (link was dead, found it manually and didnt work as it cant connect to or even see the printer on the network).
    So the question is, is this a hardware fault, and if so what can be done about it?

    Hello,
    Yes, it is an hardware issue and indicates that the Wireless card is not functional.
    Please call HP Tech Support for further assistance.
    If you are in US , the toll free # is 1-800-474-6836 .
    If you are not in US , then log on to www.hp.com , at bottom-left corner there is a world map icon, click on it and then select the region you belong to, which would then provide support options for you for that region.
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the white star under my name.
    Click "Accept as Solution" if it solved your problem, so others can find it.
    I work for HP
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Error message saying a device attached to the system is not functioning

    i m getting an error message saying a device attached to the system is not functioning whenever i m trying to connect my pc to my smartphone. i tried all your options like uninstalling failed updates from my update history, checking if their is any flag
    in device manager option but nothing helped me.. plz solve my problem..

    Hi,
    Could you please have a share with your phone's information?
    Based on what I know, different phones may have different softwares developed by the manufacturer to make the connection through Windows operating system, we may check with the phone's manufacturer side and see if there could be some helpful information
    offered.
    Besides, please take a check with
    Event Viewer and see if any special errors logged there.
    Best regards
    Michael Shao
    TechNet Community Support

  • Bridge not functioning in PhotoShop CS3 Extended

    I deactivated Photoshop CS3 on a computer I was no longer using and installed it (CS3) another computer.  I activiated CS3 on the new computer.  However, when trying to use Bridge, I get a message that says that Adobe no longer supports Bridge Home and Bridge does not function on the new computer. Is there anything I can do to get Bridge to function as part of CS3 Extended?

    Thanks, that worked. 
    In a message dated 12/28/2011 10:13:56 P.M. Eastern Standard Time, 
    [email protected] writes:
    Re:  Bridge not functioning in PhotoShop CS3 Extended
    created by Curt Y (http://forums.adobe.com/people/Curt+Y)  in Bridge 
    Windows - View the full  discussion
    (http://forums.adobe.com/message/4107610#4107610)

  • Satellite P300D-110 integrated webcam is not functioning properly.

    Hello everyone,
    as the title says, the integrated webcam of my Toshiba Satellite P300D-110 is not functioning properly. Allow me to explain. Using the Camera Assistance Software I can take photo's and record music. If I try to record a video the preview screen turns up black and the end result tuns out black aswell, completely black.
    Whenever I try to use my camera with applications such as MSN Live Messenger, Skype or at community websites using Firefox, Internet Explorer or Safari the application in question crashes.
    *How did this happen?*
    You tell me. This is how it went;
    * Day 1: I've started up my laptop and looked at my fresh and clean install of windows vista home premium. I tried out my webcam using the webcam assistance software and it worked like a charm.
    * Day 2: Once again I boot up my laptop and try to start my webcam only to find out that it no longer functions.
    To give a quick summary of the thread;
    * Using Camera Assistance Software provided by Toshiba I can take pictures.
    * Using Camera Assistance Software provided by Toshiba I can record sound.
    * Using Camera Assistance Software provided by Toshiba I can _*NOT*_ record or preview a video.
    * I can not start my camera using any other application such as but not limited to; MSN Live Messenger, Skype, Mozilla Firefox, Internet Explorer and Safar.
    * I have downloaded and isntalled the latest drivers from the Toshiba website.
    * My laptop is about a week old.
    I'm not sure what more I can do, all I want is for the webcam to work, if anyone can help me out please do so.
    And if possible WITHOUT having to reinstall Windows Vista Home Premium.
    I haven't even used it and wouldn't want to make that a solution for all the problems that might occur in the future.
    Sincerely,
    a sad customer.

    Using Camera Assistance Software provided by Toshiba I can NOT record or preview a video.
    Can you please describe the steps how you try to do this? I must ask you this because it runs well on my notebook. When the recording is finished player opens and you can see recorded movie. It is avi format and at the top of this player you can see the path where the movie is saved.
    Most strange thing for me is that you cannot use it with Skype. Ok for MSN is not the perfect but there is absolutely no problem with Skype. Check the settings and it must work somehow.

  • My audio and cam is not functioning anymore.my laptop model is Satellite A200-130.what shall i do?

    im having a problem with my laptop.the audio and cam is not functioning.i dont know why/
    please help me what to do.do you think program files about these were deleted?

    Probably best to post in the Toshiba Support Forums Europe.
    -Jerry

  • Keyboard+trackpad not functioning at all on HP 2000 Notebook PC! please help!

    Tonight I turned on my laptop (HP 2000 Notebook PC) to find that the Keyboard and track pad was not responding, the only thing that worked was the wireless mouse.
    I can not find the product number but the name is HP 2000 Notebook PC, the operating system is Windows 8, I can't login to see if there are any error messages, the last thing I remember doing was trying to apply a new cursor image and it told me to restart and when I did I couldnt log back in or type anything at all, I could only use the mouse.
    Also the things I have tried to do are: Restart Computer, Take out batter and restart. (I cant do much because I can't type in password)
    All help will be greatly appreciated!
    UPDATE: I logged in using the On-Screen Keyboard, it seems like a hardware malfunction and not a virus because i cant find anything in my downloaded stuff that wasnt there before. So it is just a hardware malfunction.
    UPDATE #2: it says that the driver (for keyboard and touchpad) may be corrupt or missing and it says Code 39 in parenthesis.

    Hello Oceanlife,
    You state that the keyboard and touchpad are not functioning, that is correct? I will try to assist you with this issue.
    As of today are you still having this problem?
    If you have, any more questions do not hesitate to ask. .
    Thanks
    Clicking the White Kudos star on the left is a way to say Thanks!
    Clicking the 'Accept as Solution' button is a way to let others know which steps helped solve the problem!

  • Fairly certain that FileStream.writeObject() and FileStream.readObject() do not function - at all -.

    I've struggled with this since Jan 9th, 2013 (if not longer) and the only conclusion I can come to is that this simply does not function.  No matter what I try and no matter what resource (and I'm finding precious few) I follow to try to implement this within Flash Builder 4.7, Flex SDK 4.6.0 (Build 23201), AIR SDK 3.5, I only succeed in creating a file (with the correct name) that is 123 bytes in size that reads back in as NULL;
    I've tried using ByteArray.writeObject()/readObject() as an intermediary with FileStream.writeBytes()/readBytes(), with no luck.
    I've tried instantiating an object, setting properties and then using that.  I've tried instantiating my correctly formed ValueObject (including the remoteClass alias metadata tag).
    I've tried using -verbatim- the example provided in the top most suggested 'Community Help' resource http://www.switchonthecode.com/tutorials/adobe-air-and-flex-saving-serialized-objects-to-f ile It is worth noting that this solitary example of the procedure/SDK-usage is dated to Flex SDK 3.0 and at least 04/04/2009 (first comment on the article).
    My frustrating hell (one version of many methods attempted) is detailed on StackOverflow (including -all- mxml, as, and trace output), but so far, no assistance has been forthcoming, alas.  This is a severely stripped down and simplified version of what had been a far more complex attempt:
    http://stackoverflow.com/questions/14366911/flex-air-actionscript-mobile-file-writeobject- readobject-always-generates-null-w
    An earlier post* detailing a far more complex attempt interation, with, alas, just as little help (guess this isn't a hot button topic) forthcoming:
    http://stackoverflow.com/questions/14259393/flex-actionscript3-filestream-writeobject-fail s-silently-in-ios-what-am-i-doin
    * I previously suspected that it was only failing from within iOS on an iPad, but the first example (the stripped down version) made it evident that it didn't work in the AIR mobile device simulator (iPad) in the Windows environment, and indeed, didn't work in a non-mobile project in the windows environment AIR launcher.
    I'm at a loss, upset, frustrated, in major trouble with my supervisor/deadlines, etc.
    I would very much appreciate any suggestions/help/confirmation/etc.
    Just to move ahead with development I've opted for a far less preferable solution of writing out both an XML file and a JPG file.  I very much do not like this and very much want to store encapsulated serialized objects locally in the same way I assume will work for storing remotely with AMFPHP (if the project ever gets to that point *sigh*).
    Again.  Would be so grateful for any help.

    I want to add to this post as I marked it as "The Answer" though it does not indeed contain the answer directly, for those who come looking for simliar solutions.
    harUI prompted me to realize that my metadata term needed to be capitalized (RemoteClass instead of remoteClass).  As the metadata tags may be user defined, the compiler throws no errors (or warnings *grumble*)
    package vo
        import flash.display.BitmapData;
       // [remoteClass(alias="PTotmImageVO")] incorrect
       [RemoteClass(alias="PTotmImageVO")]
        public class PTotmImageVO

  • Multi-touch display is not functioning as normal

    multi-touch display is not functioning as normal on the right half of the screen....

    Hi James,
    Thx for the quick reply...
    I have already tried most of these troubleshooting steps but no go....
    Also, when you tap or use only the right half of the screen, the touch display is inconsistent and makes a wierd sound [ like a hollow tub or something ] and it's not a cosmetic issue...
    ----Apple store / Authorized Service Center is still working on this ongoing issue with no results and still not confirming for the iphone replacement...Thnx..

Maybe you are looking for

  • Game is running with low resolution and poor performance

    Hi, I have purchased dv4 entertainment laptop 2 years back. Recently, I installed Ford Collections - Car game in my laptop, but it is not running properlly which means that the resolution is little poor and it is very poor and getting slow when playi

  • VERY  VERY slow to sync!!!

    Hi I am not sure whether this is the most efficient way to summit my problem but hope you guys can find me the solution. I brought Itouch early last month but was unable to install and use the itouch probably. The sync function is so slow that eg. It

  • Streaming all sound from ipad to mac mini

    Hi I use several apps and sites on my ipad to look for and discover new music Id like to find a way to stream all the sound from the ipad to my macmini, which is connected to my sound system Is it possible and what do i need to do Thanks

  • Can't print .pdf doc

    HP TouchSmart 600 computer, Windows 7, Printer is HP OfficeJet 4500 Wireless. From an email with a .pdf document, it only gives unreadable copy. When I check on download, I get a window from MS Word, then a window that says "File conversion document.

  • 'Edit in Place' for XLSM-files (Excel Macro-Enabled)

    Hi, is it possible to activate 'Edit in Place' for xlsm-files (Excel Macro-Enabled Workbook file)? For xls(x)-files there is the link 'Edit This File', but not for files of type 'xlsm' allthough they could be dealt the same way with Excel. I know I c