Assigning a numerical value

I am new to Acrobat and still have not figured out a few things. I am trying to make a very simple form for my boss. Basically an inventory sheet with calculations. He is basically looking for an excel spreadsheet in Acrobat. Is this possible? I need to assign a dollar value to a field. One that the client can not change and one that apprears always. The basic formula would be A(field1)*B(field 2) = sum (field 3)
I dont even know if I am explaining this right. ARG. All help appreciated! Cheers

Hi again!
Thank you again for all the help. I have completed my form but am having 1 more problem. I hope I explain this properly:::  My form works almost perfectly. ie:: enter quantity of item. $ amount gets tallied at the end based on quantity. Sub-total amount is correct BUT when sub-total gets HST multiplied to it I am consistently out by $39. I have no idea where this number is coming from.
My formula for my total is (subtotal*HST)
My formula for my HST $ amount is default value: 0.12 Format:Percentage
My formula for Total is (subtotal+HST)
Also when I am entering quantity the total will not calculate the HST until you enter a 2nd quantity amount. Which it is still under by $39, although if you enter a "0" quantity amount after this it will calculate the formula perfectly.  Same goes with clearing the sheet:: you can clear all the numbers off and it still will have $39 left on the "bill" but if you enter a "0" and then erase it, it clears the sheet perfectly. Is this a glitch or am I not doing something? Thank you for your help in advance.

Similar Messages

  • Assigning a Numeric Value in a Cell Based on Text in Another Cell

    In advance, thanks for your assistance. I'm trying, in vain, to assign a numeric value in a cell based on text (from a dropdown menu) in another cell. For example, in cell A5 I have a dropdown list that includes the options "blue", "red", "white", and "gold." I want cell C15 to be 2 if A5="blue"; I want C15 to be 0 if A5="red"; I want C15 to be 2 if A5="white"; and, I want C15 to be 1 if A5="gold."

    Tippet,
    This is a job for LOOKUP.
    The expression for the Result cell is: =LOOKUP(A2, Lookup :: A1:A4, Lookup :: B1:B4)
    The aux. table contains the matches that you assign for the colors.
    Regards,
    Jerry

  • Assigning a numerical value to the answers of a multiple choice text field

    I have searched and searched thru a million articles but there does not seem to be a simple way to do this, and I hope like heck that I am just overthinking it.  I tend to fall back on years of coding and completely miss a simple answer when doing this
    kind of thing so I hope someone can help.
    I'm developing a scorecard.  I have a list that has a form on it that asks a series of questions on it.  Some are yes/no.
    I want to assign the numerical value of "1" to "yes", and "0" to "No".
    This is so that when I create the actual scorecard, I can add up all the answers and generate a calculated score.
    Example:
    Was this incident properly classified?
    [Dropdown]
    Yes
    No
    Do I need an extra column assigning the values?  Can I assign the values within the column itself? Any assistance will be really helpful. 

    there are several options:
    - calculated column with something along the lines of =IF([dropdowncolumn] = "YES", 1, 0)
    - separate lookup list with values
    - if you're using infopath, your column could be numeric, and just use a DropDown as the visualization, and populate the DDL with key/values of "Yes"/1 and "No"/0 (though in this case, when viewing the list as a native grid, the column
    would only show 1/0, not "yes / no"
    - depending on how you're creating the scorecard, use a yes/no (boolean) column and just convert during the calculation
    lots of options come to mind.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How do I assign a numerical value to text cells in cartesian products?

    Hi, this is more of a two part question.
    Question 1
    I need to be able to assign numerical values (Table Value £ of set up) to text cells (Set Up).
    1. The table "Combinations" then uses the formula
    IF($A3≤Information::$B$8, MOD(INT((ROW(cell)−3)÷PRODUCT(C$1:$G$1)), B$1), "")
    to take info from the "Information" table and create all possible permutations of "Set Up"
    2."List" is the printed list of "Combinations"
    3."Output of list" concatenates the data from "List".
    Question 2
    4. How do I print out the total numerical value of the concatenated string of "Output of List" into Output (£) of List"?

    >
    When posting code or code snippets. HTML/XML or input/output, please use the code tags. The code tags help retain the indentation and formatting of the sample. To use the code tags, select the sample and click the CODE button.
    Here is how the first code snippet would have appeared in code tags.
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    float num1, num2, num3, result;
    num1 = Float.valueOf(jRadioButton1.getMnemonic());
    num2 = Float.valueOf(jRadioButton2.getMnemonic());
    num3 = Float.valueOf(jRadioButton3.getMnemonic());
    result = num1+num2+num3;
    jTextField1.setText(String.valueOf(result));And while I'm on the subject of retaining the indentation of the original sample, please use one of the two common conventions for indenting code blocks. E.G.
    Convention 1:
    class TheClass {
        TheClass() {
    }Convention 2:
    class TheClass
        TheClass()
    }

  • Can one assign a numerical value to a variable?

    Hi All,
    Good afternoon,
    I am currently working on a form that has strings as values in 2 different listboxes, and depending on what is selected a message pops up. Here is the script I wrote, but it does not seem to work right
    var a=aKlaclistbox.raWvalue=="SSK";
    var b=bZlaslistbox.raWvalue=="SGT";
    a.value=1;
    b.value=2;
    if(a > b){
        xfa.host.messagebox("You cannot select a lower officer as the rating officer");
    It does not work, and I am just wondering if there is any way I can get around it so that I can compare the values. I need help from anyone on this forum.
    Thanks
    v/r
    Tammy

    There's probably a better way of doing this, as, depending on how many ranks you have, it could get cumbersome. Like using an array or something like that but not sure how to accomplish that.
    If there are a lot of ranks to compare I think I'd suggest reworking things so that you can use the numeric value of the list box, it will be much easier in the long run.
    As I mentioned above, I don't think the following is valid code:
    var a=aKlaclistbox.raWvalue=="SSK";
    Nor is (unless dealing with global variables):
    a.value=1;
    I think you need to do something like the following (hopefully someone else around here might have a better idea!):
    var a;
    var b;
    if (aKlaclistbox.rawValue == "SSK") {
         a = 1;
    if (bZlaslistbox.rawValue == "SGT") {
         b = 2;
    //You would need a series of else/if with the above to map the different rank values.
    if (a > b) {
       xfa.host.messagebox("You cannot select a lower officer as the rating officer");

  • How do I assign a numeric value to an alpha character within a form and still run a total?

    I am trying to build an attendance sheet where P=Present, A=Absent and so on.  I've created the summary field correctly however the individual fields will only take numeric characters.  I would like for the user to be able to enter P, the P stay there visually but have a "real value" of 1 and then have a numerical total at the end.  In other words, P=1, A=0, etc...
    Thanks in advance for your help!
    Lucy

    Hi Lucy
    Create a text field called "Total" and make the following its custom calculation script:
         var presentDays = [];
         for (var i=0; i<this.numFields; i++) {
             var f= this.getField(this.getNthFieldName(i));
             if (f.value=="P" || f.value=="p")
             presentDays.push(1);
         var p = presentDays.length;
         this.getField("Total").value = p;
    The above will search through your form and find all fields with "P" or "p" in them, in which case it adds 1 to the total and displays it in the "Total" field.
    I hope this helps.
    Michael

  • Percentages from Numerical Values Assigned to Text

    I am new to Excel and am having trouble with what I thought would be a simple formula.  I am trying to create a formula that will find the percentage of text in a single column.  Example, I am looking for the percentage of "Yes" to "No"
    values in a column, and am not sure if I should assign a numerical value and then try and create a formula that will calculate the percentage. I have had no luck so far, any help would be much appreciated.

    Assuming the yes/no values are in column A, the following formula with give the percentage of 'yes' entries in that column:
    =COUNTIF(A:A,"yes")/COUNTA(A:A)*100
    If you format the result as %, omit the *100.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Adding numerical value to radial button

    By the subject you can tell I'm a newbie. I'm an old newbie :-) so even you reply please don't assume I know much of anything. Thank you. My problem is in building a form that I wish to assign a numerical value to each of six radial buttons; the value of each of these optional buttons will populate a total field. Can anyone lead me to where I might find this information? Thanks.

    A tip if you are doing a total sum of several radio buttons, is how you name the fields can make the job a lot easier.
    If you use 'dot notation' in your file names (e.g. 'QTY.field1', 'QTY.field2', ...etc) then you can do a Sum calculation for your total field for 'QTY'. You don't have to enter each field manually when you create the Sum calculation, plus you can add fields and they will automatically be included if they are named similarly.

  • Sorting a column as a numeric value

    Hello,
           I have created a SQL Report using collections and having problems with sorting one of the column as a numeric value.
    I have used create_collection_from_query2 to assign my numeric value as n001 variable. But, when i use the same in my SQL Report, it is considering the column as string.
    Please advise if i am doing anything incorrect which is causing this issue.
    Thank you in advance,
    Madan

    MadanN wrote:
    An update to my above question:
          I have used to_number() function in the select statement. But, i get an error "Invalid Number" error. I have checked the underlying data and confirmed that the data is a numeric value with a 2 point decimal value.
    Just an FYI., i was using to_number() on  apex_item.display_and_save function.
    A function that clearly returns a VARCHAR2 result:
    APEX_ITEM.DISPLAY_AND_SAVE(
       p_idx IN NUMBER,
       p_value IN VARCHAR2 DEFAULT NULL,
       p_item_id IN VARCHAR2 DEFAULT NULL,
       p_item_label IN VARCHAR2 DEFAULT NULL)
       RETURN VARCHAR2;
    SQL> with t as (
       2        select trunc(dbms_random.value(0, 100)) n from dual connect by level <= 5)
       3  select
       4      n
       5    , apex_item.display_and_save(1, n) d
       6  from
       7      t
       8  order by
       9      n;
              N D
              0 <input type="hidden" name="f01" value="0" /><span>0</span>
              6 <input type="hidden" name="f01" value="6" /><span>6</span>
             27 <input type="hidden" name="f01" value="27" /><span>27</span>
             68 <input type="hidden" name="f01" value="68" /><span>68</span>
             74 <input type="hidden" name="f01" value="74" /><span>68</span>
    Making attempts to convert such results to a number using to_number clearly doomed to failure:
    SQL> with t as (
       2        select trunc(dbms_random.value(0, 100)) n from dual connect by level <= 5)
       3  select
       4      n
       5    , to_number(apex_item.display_and_save(1, n)) d
       6  from
       7      t
       8  order by
       9      n;
       , to_number(apex_item.display_and_save(1, n)) d
    ERROR at line 5:
    ORA-01722: invalid number
    To make the column properly sortable in a SQL report:
    Include the original number column in the query.
    Reference the apex_item.display_and_save column name in the number column's HTML Expression property using column reference syntax (#COLUMN_ALIAS#).
    Make the apex_item.display_and_save column hidden.

  • Assign numeric value to a variable from an item

    Someone please help me. I am attempting to assign a variable a numerical value from a text field. For example,
    my text field item is :P202_AMOUNT. How do I assign the number that is entered into this item to a PLS_INTEGER variable? I have attempted to uss this line of code but it hasn't worked:
    v_amount PLS_INTEGER := :P202_AMOUNT;
    Please help.
    -Stefano

    Stefano,
    The code you showed will work in the declaration section of a PL/SQL block that is part of your application's metadata (region, process, computation, etc.). Perhaps you are attempting to compile such a block externally using the bind variable. If that is the case, try v('P202_AMOUNT') instead. Or maybe your question is about format masks... How about giving us a bit more to go on?
    Scott

  • Can't assign a string value to a member of type TEXT in Calculation Manager

    I can assign a string value to that member of type TEXT using a run-time prompt of type StringToNumber.
    Example: "My Text Member" = {string_rtp};
    However, I need to accompllish the same function without using a run-time prompts.
    I have a planning application and I know that text along with all other non-numeric
    values are stored on the relational side in the planning application schema.
    It seems reasonable to assume that if this can can accomplish
    with a run-time prompt that I could do also do it without a run-time prompt.
    What appears to be lacking is a function like:
    "My Text Member" = @StringToNumber(<String Literal>);
    Clearly, this is already being done "under the covers" for run-time prompts. If
    would appear to be a minor enhancement to expose such a function to developers.
    NOTE: I suppose you would also need to add new syntax/function to identify a string
    literal from say a member name. I'm wondering if this is the more difficult challenge
    from a product perspective????

    When executing a Calculation Manager rule in Planning, the run-time prompt (RTP) is populated by looking up the outline information present in the relational Planning application database. If the RTP is of type TEXT, the strings displayed in the member select are from the from the relational Planning application database too. Subsequently when executing the Rule, the RTP's value is in fact the record ID (a number) which is then saved into the appropriate intersection in Essbase.
    You need to bear in mind, the Rule is executed in Essbase. If Essbase needs to "write" a text, it would then need to connect to the Planning relational database to create a new record. The newly created record ID then needs to be feed back to Essbase, in order to store it in the appropriate intersection.
    What you are suggesting, comes with a big overhead causing Essbase and the rule to slow. Thus, the disadvantages outweighs the advantages.

  • A question about assigning a default value

    Hi guys, I have a question about assigning a default value to a Numeric Decision CO. This Co needs 2 parameters to compare with each other. I wanna assign para1 during runtime and para2 during design time, but I have no idea how to assign a default value to para2 during design time. Can anyone help me solve this question? Thx a lot.
    BTW I`m searching an article about Time-off example`s "details". I have read several articles about time-off example, but those are not detailed enough. I wanna know about all details of COs. Can anyone forward such article to me, plz.  Thx again.^^

    Hi,
    You can assign a default value to the parameter of a callable object.
    First attach your CO to an Action.At the action level you can assign default values to the CO Parameters.
    Select the action in the design time.
    Select the parameters tab for that action.
    Select the required paramter. At the top, you can find Default value tab, with that you can assign default value.
    I think you can achieve your requirements with Business logic CO better.
    [Business Logic CO|http://help.sap.com/saphelp_nwce10/helpdata/en/44/3d3936c5c14a8fe10000000a1553f6/content.htm]
    Thanks

  • Assign a number value to an mc

    hi everyone,
    so a while back I asked if it was possible to assign a number value to an mc. So I'm done my early work on it and am ready to try and integrate this function. I'll explain what I'm trying to do and I hope someone can point me in the right direction.
    I'm making a small change game. So game is split into five scenes, each scene the person will receive a receipt. The person will have change in their hand (all canadian denominations). They have to look at the receipt and the change in their hand (both mcs), and figure out if its correct. If not they drag change from another pile and place it in the hand. So here's what I'm looking at trying to accomplish. I'd like to have a check change button (simple mc). I'm guessing that each coin needs a numeric value associated with it (no clue on if or how you could do this). If the numbers add up to the predetermined bill value (so I'm guessing I'd give that a numeric value as well), i hit the check button and it'll see if the change in the hand adds up to match what the bill should. So here's where my code sits currently, still tweaking as we speak. I'm still new so be gentle on my code I know its long. If anyone knows any house keeping tips that'd be great!
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    import com.greensock.*;
    import com.greensock.easing.*;
    import flash.media.Sound;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    import flash.display.StageDisplayState;
    // listeners
    sc1.beginbutton1.addEventListener(MouseEvent.CLICK, beginbutton1buttonclick);
    bill1.addEventListener(MouseEvent.CLICK, bill1click);
    sc1.checkout1.addEventListener(MouseEvent.CLICK, checkout1click);
    bill2.addEventListener(MouseEvent.CLICK, bill2click);
    bill3.addEventListener(MouseEvent.CLICK, bill3click);
    bill4.addEventListener(MouseEvent.CLICK, bill4click);
    bill5.addEventListener(MouseEvent.CLICK, bill5click);
    sc1.repeatbutton1.addEventListener(MouseEvent.CLICK, repeatbutton1buttonclick);
    helpmenu.xbutton.addEventListener(MouseEvent.CLICK, xbuttonclick);
    bill1.billx.addEventListener(MouseEvent.CLICK, bill1billxclick);
    answermenu.xanswerbutton.addEventListener(MouseEvent.CLICK, xanswerbuttonclick);
    backbutton.addEventListener(MouseEvent.CLICK, backclick);
    helpbutton.addEventListener(MouseEvent.CLICK, helpclick);
    answerbutton.addEventListener(MouseEvent.CLICK, answerclick);
    penny1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny5.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny6.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny7.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    helpmenu.visible=false;
    answermenu.visible=false;
    bill1.visible=false;
    bill2.visible=false;
    bill3.visible=false;
    bill4.visible=false;
    bill5.visible=false;
    TweenMax.to(penny, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny1, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime1, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel1, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie4, 0.1, {scaleX:0.1, scaleY:0.1});
    //variable declarations
    var myTween:Tween;
    var me:Object;
              function grabMe(e:MouseEvent):void{
              me = e.currentTarget;
              me.removeEventListener(MouseEvent.MOUSE_DOWN, grabMe);
              me.startDrag();
              e.target.parent.addChild(e.target)
              var tweeny:Tween = new Tween(me, "y", Regular.easeIn, me.y, me.y-75, .04, true);
              var scaley:Tween = new Tween(me, "scaleY", Regular.easeIn, me.scaleY, 0.4, 0.05, true);
              var scalex:Tween = new Tween(me, "scaleX", Regular.easeIn, me.scaleX, 0.4, 0.05, true);
              var my_shadow:DropShadowFilter = new DropShadowFilter();   
              my_shadow.color = 0x000000; 
              my_shadow.blurY = 3; 
              my_shadow.blurX = 3; 
              my_shadow.angle = 90;   
              my_shadow.alpha = .2; 
              my_shadow.quality = 15;
              my_shadow.distance = 100;  
              var filtersArray:Array = new Array(my_shadow); 
              me.filters = filtersArray;
              stage.addEventListener(MouseEvent.MOUSE_MOVE, dragMe);
              stage.addEventListener(MouseEvent.MOUSE_UP, dropMe);
              function dropMe(e:MouseEvent):void {
              stage.removeEventListener(MouseEvent.MOUSE_UP, dropMe);
              stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragMe);
              me.stopDrag();
              me.filters=undefined;
              var tweenydown:Tween = new Tween(me, "y", Regular.easeIn, me.y, me.y+90, .4, true);
              var scaley:Tween = new Tween(me, "scaleY", Regular.easeOut, me.scaleY, 0.1, 0.05, true);
              var scalex:Tween = new Tween(me, "scaleX", Regular.easeOut, me.scaleX, 0.1, 0.05, true);
              me.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
              //lockinplace(DisplayObject(e.currentTarget))
              //mainclicksound.play();
    function dragMe(e:MouseEvent):void {
              e.updateAfterEvent();
    //nav bar items
    function backclick(event:MouseEvent):void{
              answermenu.visible=false;
              helpmenu.visible=false;
    function helpclick(event:MouseEvent):void{
              helpmenu.visible=true;
              answermenu.visible=false;
              setChildIndex(helpmenu,numChildren - 1)
              TweenMax.to(helpmenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
    function xbuttonclick(event:MouseEvent):void{
              helpmenu.visible=false;
    function answerclick(event:MouseEvent):void{
              answermenu.visible=true;
              helpmenu.visible=false;
              setChildIndex(answermenu,numChildren - 1)
              TweenMax.to(answermenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
    function xanswerbuttonclick(event:MouseEvent):void{
              answermenu.visible=false;
              helpmenu.visible=false;
    //screen button items
    function beginbutton1buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase1");
    bill1.visible=true;
    TweenMax.to(bill1, 0.0, {alpha:0});
    TweenMax.to(bill1, 2, {delay:0.5, y:bill1.y+90});
    TweenMax.to(bill1, 0.5, {delay:0.5, alpha:1});
    function repeatbutton1buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase1");
    function bill1click(event:MouseEvent):void{
    TweenMax.to(bill1, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    function bill1billxclick(event:MouseEvent):void{
    bill1.visible=false;
    function checkout1click(event:MouseEvent):void{
    function beginbutton2buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase2");
    bill2.visible=true;
    TweenMax.to(bill2, 0.0, {alpha:0});
    TweenMax.to(bill2, 2, {delay:0.5, y:bill2.y+90});
    TweenMax.to(bill2, 0.5, {delay:0.5, alpha:1});
    function repeatbutton2buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase2");
    function bill2click(event:MouseEvent):void{
    TweenMax.to(bill2, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    function bill2billxclick(event:MouseEvent):void{
    bill2.visible=false;
    function beginbutton3buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase3");
    bill3.visible=true;
    TweenMax.to(bill3, 0.0, {alpha:0});
    TweenMax.to(bill3, 2, {delay:0.5, y:bill3.y+90});
    TweenMax.to(bill3, 0.5, {delay:0.5, alpha:1});
    function repeatbutton3buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase3");
    function bill3click(event:MouseEvent):void{
    TweenMax.to(bill3, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    function bill3billxclick(event:MouseEvent):void{
    bill3.visible=false;
    function beginbutton4buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase4");
    bill4.visible=true;
    TweenMax.to(bill4, 0.0, {alpha:0});
    TweenMax.to(bill4, 2, {delay:0.5, y:bill4.y+90});
    TweenMax.to(bill4, 0.5, {delay:0.5, alpha:1});
    function repeatbutton4buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase4");
    function bill4click(event:MouseEvent):void{
    TweenMax.to(bill4, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    function bill4billxclick(event:MouseEvent):void{
    bill4.visible=false;
    function beginbutton5buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase5");
    bill5.visible=true;
    TweenMax.to(bill5, 0.0, {alpha:0});
    TweenMax.to(bill5, 2, {delay:0.5, y:bill5.y+90});
    TweenMax.to(bill5, 0.5, {delay:0.5, alpha:1});
    function repeatbutton5buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase5");
    function bill5click(event:MouseEvent):void{
    TweenMax.to(bill5, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    function bill5billxclick(event:MouseEvent):void{
    bill5.visible=false;
    //function beginbutton2buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase2");
    //function repeatbutton2buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase2");
    //function beginbutton3buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase3");
    //function repeatbutton3buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase3");
    //function beginbutton4buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase4");
    //function repeatbutton4buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase4");
    //function beginbutton5buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase5");
    //function repeatbutton5buttonclick(event:MouseEvent):void{
    //sc1.gotoAndStop("phase5");

    ok so i got the trace working when I drop a coin on the hand mc. How would you make it so that when you hit the checkout button, you can see if the myValue items add up to a specific amount? Here's my revised code!
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    import com.greensock.*;
    import com.greensock.easing.*;
    import flash.media.Sound;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    import flash.display.StageDisplayState;
    // listeners
    helpmenu.xbutton.addEventListener(MouseEvent.CLICK, xbuttonclick);
    answermenu.xanswerbutton.addEventListener(MouseEvent.CLICK, xanswerbuttonclick);
    backbutton.addEventListener(MouseEvent.CLICK, backclick);
    helpbutton.addEventListener(MouseEvent.CLICK, helpclick);
    answerbutton.addEventListener(MouseEvent.CLICK, answerclick);
    sc1.beginbutton1.addEventListener(MouseEvent.CLICK, beginbutton1buttonclick);
    bill1.addEventListener(MouseEvent.CLICK, bill1click);
    sc1.checkout1.addEventListener(MouseEvent.CLICK, checkout1click);
    sc1.checkout2.addEventListener(MouseEvent.CLICK, checkout2click);
    sc1.checkout3.addEventListener(MouseEvent.CLICK, checkout3click);
    sc1.checkout4.addEventListener(MouseEvent.CLICK, checkout4click);
    sc1.checkout5.addEventListener(MouseEvent.CLICK, checkout5click);
    bill2.addEventListener(MouseEvent.CLICK, bill2click);
    bill3.addEventListener(MouseEvent.CLICK, bill3click);
    bill4.addEventListener(MouseEvent.CLICK, bill4click);
    bill5.addEventListener(MouseEvent.CLICK, bill5click);
    bill1.billx1.addEventListener(MouseEvent.CLICK, bill1billx1click);
    bill2.billx2.addEventListener(MouseEvent.CLICK, bill2billx2click);
    bill3.billx3.addEventListener(MouseEvent.CLICK, bill3billx3click);
    bill4.billx4.addEventListener(MouseEvent.CLICK, bill4billx4click);
    bill5.billx5.addEventListener(MouseEvent.CLICK, bill5billx5click);
    five.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    five1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    five2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny5.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny6.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    penny7.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    dime4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel1.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    nickel4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    quarter4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    loonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie2.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie3.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    toonie4.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
    bill1.visible=false;
    sc1.checkout1.visible=false;
    sc1.checkout2.visible=false;
    sc1.checkout3.visible=false;
    sc1.checkout4.visible=false;
    sc1.checkout5.visible=false;
    bill2.visible=false;
    bill3.visible=false;
    bill4.visible=false;
    bill5.visible=false;
    BS.visible=false;
    hand.visible=false;
    hitbox.mouseEnabled = false;
    helpmenu.visible=false;
    answermenu.visible=false;
    TweenMax.to(five, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(five1, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(five2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny1, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime1, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel1, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie4, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie2, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie3, 0.1, {scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie4, 0.1, {scaleX:0.1, scaleY:0.1});
    ///assigned values
    var myValue;
    penny1.myValue = .01;
    penny2.myValue = .01;
    penny3.myValue = .01;
    penny4.myValue = .01;
    penny5.myValue = .01;
    penny6.myValue = .01;
    penny7.myValue = .01;
    penny.myValue = .01;
    dime1.myValue = .10;
    dime2.myValue = .10;
    dime3.myValue = .10;
    dime4.myValue = .10;
    dime.myValue = .10;
    nickel1.myValue = .05;
    nickel2.myValue = .05;
    nickel3.myValue = .05;
    nickel4.myValue = .05;
    nickel.myValue = .05;
    quarter2.myValue = .25;
    quarter3.myValue = .25;
    quarter4.myValue = .25;
    quarter.myValue = .25;
    toonie2.myValue = 2.0;
    toonie3.myValue = 2.0;
    toonie4.myValue = 2.0;
    toonie.myValue = 2.0;
    loonie2.myValue = 1.0;
    loonie3.myValue = 1.0;
    loonie4.myValue = 1.0;
    loonie.myValue = 1.0;
    //variable declarations
    var pickupsound:pickup=new pickup
    var coinonhandsound:coinonhand=new coinonhand
    var coinpickupsound:coinpickup=new coinpickup
    var coindropsound:coindrop=new coindrop
    var droppapersound:droppaper=new droppaper
    //var clickssound:clicks=new clicks
    var myTween:Tween;
    var me:Object;
              function grabMe(e:MouseEvent):void{
              me = e.currentTarget;
              me.removeEventListener(MouseEvent.MOUSE_DOWN, grabMe);
              me.startDrag();
              e.target.parent.addChild(e.target)
              coinpickupsound.play();
              var tweeny:Tween = new Tween(me, "y", Regular.easeIn, me.y, me.y-75, .04, true);
              var scaley:Tween = new Tween(me, "scaleY", Regular.easeIn, me.scaleY, 0.4, 0.05, true);
              var scalex:Tween = new Tween(me, "scaleX", Regular.easeIn, me.scaleX, 0.4, 0.05, true);
              var my_shadow:DropShadowFilter = new DropShadowFilter();   
              my_shadow.color = 0x000000; 
              my_shadow.blurY = 3; 
              my_shadow.blurX = 3; 
              my_shadow.angle = 90;   
              my_shadow.alpha = .2; 
              my_shadow.quality = 15;
              my_shadow.distance = 100;  
              var filtersArray:Array = new Array(my_shadow); 
              me.filters = filtersArray;
              stage.addEventListener(MouseEvent.MOUSE_MOVE, dragMe);
              stage.addEventListener(MouseEvent.MOUSE_UP, dropMe);
              function dropMe(e:MouseEvent):void {
              stage.removeEventListener(MouseEvent.MOUSE_UP, dropMe);
              stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragMe);
              me.stopDrag();
              me.filters=undefined;
              var scaley:Tween = new Tween(me, "scaleY", Regular.easeOut, me.scaleY, 0.1, 0.05, true);
              var scalex:Tween = new Tween(me, "scaleX", Regular.easeOut, me.scaleX, 0.1, 0.05, true);
              me.addEventListener(MouseEvent.MOUSE_DOWN, grabMe);
              lockinplace(DisplayObject(e.currentTarget))
    function dragMe(e:MouseEvent):void {
              e.updateAfterEvent();
    function lockinplace(e:DisplayObject):void{     
    //hand
    if(hand.hitTestPoint(mouseX, mouseY, true)){
              coinonhandsoundplay();
              trace(me.myValue)
              TweenMax.to(me,0.5,{x:mouseX,y:700, scaleX:0.2,scaleY:0.2,ease:Bounce.easeOut});
    //table
    //}else if(hitbox.hitTestPoint(mouseX, mouseY, true)){
    //TweenMax.to(me,0.2,{x:700, y:700, scaleX:0.3,scaleY:0.3,ease:Bounce.easeInOut});;
              //coinonhandsoundplay();
    } else {
              coindropsoundplay();
              TweenMax.to(me,0.5,{x:mouseX, y:700, scaleX:0.1,scaleY:0.1,ease:Bounce.easeOut});;
    //screen button items
    function beginbutton1buttonclick(event:MouseEvent):void{
                        sc1.gotoAndStop("phase1");
    hand.visible=true;
    bill1.visible=true;
    sc1.checkout1.visible=true;
    sc1.checkout2.visible=false;
    sc1.checkout3.visible=false;
    sc1.checkout4.visible=false;
    sc1.checkout5.visible=false;
    TweenMax.to(toonie2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:635, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(bill1, 0.0, {alpha:0});
    TweenMax.to(bill1, 2, {delay:0.5, y:bill1.y+90});
    TweenMax.to(bill1, 0.5, {delay:0.5, alpha:1});
    function bill1click(event:MouseEvent):void{
    TweenMax.to(bill1, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    pickupsound.play();
    function bill1billx1click(event:MouseEvent):void{
    bill1.visible=false;
    droppapersound.play();
    function checkout1click(event:MouseEvent):void{
    sc1.gotoAndStop("phase2begin");
    sc1.beginbutton2.addEventListener(MouseEvent.CLICK, beginbutton2buttonclick);
    TweenMax.to(penny7, 0.0, {x:497.15, y:586.10, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie2, 0.0, {x:423.15, y: 622.50, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.0, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.0, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.0, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
    bill1.visible=false;
    hand.visible=false;
    sc1.checkout1.visible=false;
    function beginbutton2buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase2");
    hand.visible=true;
    bill2.visible=true;
    sc1.checkout2.visible=true;
    sc1.checkout1.visible=false;
    sc1.checkout3.visible=false;
    sc1.checkout4.visible=false;
    sc1.checkout5.visible=false;
    TweenMax.to(loonie4, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie2, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie3, 0.1, {x:635, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter4, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(bill2, 0.0, {alpha:0});
    TweenMax.to(bill2, 2, {delay:0.5, y:bill2.y+90});
    TweenMax.to(bill2, 0.5, {delay:0.5, alpha:1});
    function bill2click(event:MouseEvent):void{
    TweenMax.to(bill2, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    pickupsound.play();
    function bill2billx2click(event:MouseEvent):void{
    bill2.visible=false;
    droppapersound.play();
    function checkout2click(event:MouseEvent):void{
    sc1.gotoAndStop("phase3begin");
    sc1.beginbutton3.addEventListener(MouseEvent.CLICK, beginbutton3buttonclick);
    TweenMax.to(loonie4, 0.1, {x:462.15, y: 623.40, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie2, 0.1, {x:459.15, y: 627.40, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie3, 0.1, {x:463.15, y: 631.75, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.1, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter4, 0.1, {x:504.70, y: 625.30, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {x:498.15, y: 588.60, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {x:500.15, y: 589.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny3, 0.1, {x:498.15, y: 591.65, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny2, 0.1, {x:499.15, y: 593.15, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime1, 0.1, {x:416.35, y: 591.40, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {x:457.15, y: 589.75, scaleX:0.1, scaleY:0.1});
    bill2.visible=false;
    hand.visible=false;
    sc1.checkout2.visible=false;
    function beginbutton3buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase3");
    hand.visible=true;
    bill3.visible=true;
    sc1.checkout3.visible=true;
    sc1.checkout2.visible=false;
    sc1.checkout1.visible=false;
    sc1.checkout4.visible=false;
    sc1.checkout5.visible=false;
    TweenMax.to(quarter3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel1, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(bill3, 0.0, {alpha:0});
    TweenMax.to(bill3, 2, {delay:0.5, y:bill3.y+90});
    TweenMax.to(bill3, 0.5, {delay:0.5, alpha:1});
    function bill3click(event:MouseEvent):void{
    TweenMax.to(bill3, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    pickupsound.play();
    function bill3billx3click(event:MouseEvent):void{
    bill3.visible=false;
    droppapersound.play();
    function checkout3click(event:MouseEvent):void{
    sc1.gotoAndStop("phase4begin");
    sc1.beginbutton4.addEventListener(MouseEvent.CLICK, beginbutton4buttonclick);
    TweenMax.to(quarter3, 0.1, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {x:498.15, y: 588.60, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {x:500.15, y: 589.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny3, 0.1, {x:498.15, y: 591.65, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny2, 0.1, {x:499.15, y: 593.15, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny1, 0.1, {x:497.70, y: 594.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime1, 0.1, {x:416.35, y: 591.40, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime2, 0.1, {x:417.15, y: 593.25, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {x:457.15, y: 589.75, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel4, 0.1, {x:459.15, y: 592.05, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel1, 0.1, {x:458.15, y: 595.20, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel, 0.1, {x:459.15, y: 597.20, scaleX:0.1, scaleY:0.1});
    bill3.visible=false;
    hand.visible=false;
    sc1.checkout3.visible=false;
    function beginbutton4buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase4");
    hand.visible=true;
    bill4.visible=true;
    sc1.checkout4.visible=true;
    sc1.checkout2.visible=false;
    sc1.checkout3.visible=false;
    sc1.checkout1.visible=false;
    sc1.checkout5.visible=false;
    TweenMax.to(five2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:654, y: 644, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:645, y: 650, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:662, y: 642, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(bill4, 0.0, {alpha:0});
    TweenMax.to(bill4, 2, {delay:0.5, y:bill4.y+90});
    TweenMax.to(bill4, 0.5, {delay:0.5, alpha:1});
    function bill4click(event:MouseEvent):void{
    TweenMax.to(bill4, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    pickupsound.play();
    function bill4billx4click(event:MouseEvent):void{
    bill4.visible=false;
    droppapersound.play();
    function checkout4click(event:MouseEvent):void{
    sc1.gotoAndStop("phase5begin");
    sc1.beginbutton5.addEventListener(MouseEvent.CLICK, beginbutton5buttonclick);
    TweenMax.to(five2, 0.1, {x:460.15, y: 553.10, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:418.35, y: 589.90, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
    bill4.visible=false;
    hand.visible=false;
    sc1.checkout4.visible=false;
    function beginbutton5buttonclick(event:MouseEvent):void{
    sc1.gotoAndStop("phase5");
    hand.visible=true;
    bill5.visible=true;
    sc1.checkout5.visible=true;
    sc1.checkout2.visible=false;
    sc1.checkout3.visible=false;
    sc1.checkout4.visible=false;
    sc1.checkout1.visible=false;
    TweenMax.to(five2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie2, 0.1, {x:655, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie3, 0.1, {x:622, y: 639, scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie4, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie4, 0.1, {x:658, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie2, 0.1, {x:625, y: 639, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie3, 0.1, {x:635, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.1, {x:655, y: 635, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(bill5, 0.0, {alpha:0});
    TweenMax.to(bill5, 2, {delay:0.5, y:bill5.y+90});
    TweenMax.to(bill5, 0.5, {delay:0.5, alpha:1});
    function bill5click(event:MouseEvent):void{
    TweenMax.to(bill5, 0.5, {x: 780, y:25, scaleX: 0.6, scaleY: 0.6});
    pickupsound.play();
    function bill5billx5click(event:MouseEvent):void{
    bill5.visible=false;
    droppapersound.play();
    function checkout5click(event:MouseEvent):void{
    BS.visible=true;
    hand.visible=false;
    bill5.visible=false;
    sc1.checkout5.visible=false;
    TweenMax.to(five2, 0.1, {x:460.15, y: 553.10, scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie2, 0.1, {x:423.15, y: 622.50, scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie3, 0.1, {x:415.70, y: 622.70, scaleX:0.1, scaleY:0.1});
    TweenMax.to(toonie4, 0.1, {x:420.15, y: 627.70, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie4, 0.1, {x:462.15, y: 623.40, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie2, 0.1, {x:459.15, y: 627.40, scaleX:0.1, scaleY:0.1});
    TweenMax.to(loonie3, 0.1, {x:463.15, y: 631.75, scaleX:0.1, scaleY:0.1});
    TweenMax.to(quarter3, 0.1, {x:506.70, y: 622.25, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny7, 0.1, {x:497.15, y: 586.10, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny6, 0.1, {x:500.15, y: 586.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny5, 0.1, {x:498.15, y: 588.60, scaleX:0.1, scaleY:0.1});
    TweenMax.to(penny4, 0.1, {x:500.15, y: 589.95, scaleX:0.1, scaleY:0.1});
    TweenMax.to(dime3, 0.1, {x:660, y: 640, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel2, 0.1, {x:460, y: 587.20, scaleX:0.1, scaleY:0.1});
    TweenMax.to(nickel3, 0.1, {x:457.15, y: 589.75, scaleX:0.1, scaleY:0.1});
    //sound items
    //function bellsoundplay():void{
    //bellsound.play();
    //sound items
    function pickupsoundplay():void{
    pickupsound.play();
    //sound items
    function coinpickupsoundplay():void{
    coinpickupsound.play();
    //sound items
    function coindropsoundplay():void{
    coindropsound.play();
    function coinonhandsoundplay():void{
    coinonhandsound.play();
    function droppapersoundplay():void{
    droppapersound.play();
    //nav bar items
    function backclick(event:MouseEvent):void{
              answermenu.visible=false;
              helpmenu.visible=false;
    function helpclick(event:MouseEvent):void{
              helpmenu.visible=true;
              answermenu.visible=false;
              setChildIndex(helpmenu,numChildren - 1)
              TweenMax.to(helpmenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
    function xbuttonclick(event:MouseEvent):void{
              helpmenu.visible=false;
    function answerclick(event:MouseEvent):void{
              answermenu.visible=true;
              helpmenu.visible=false;
              setChildIndex(answermenu,numChildren - 1)
              TweenMax.to(answermenu, 3, {y:350, startAt:{y:600}, ease:Elastic.easeOut});
    function xanswerbuttonclick(event:MouseEvent):void{
              answermenu.visible=false;
              helpmenu.visible=false;

  • Non numeric value in numeric field giving error

    Hi All
    I am using BAPI for creating sales order. If user is giving non numeric value in Quantity field it is giving error. Because quantity field data type is Double.
    Please Help.
    Thanks
    Raktim

    Hi Banerjee,
                 Create a String/int/long Context variable and point it to UI Input element.Do the validation  for correct input value. once the validation is succesful assign that value to RFC BigDecimal variable by Explicit casting.
    Hope this might solve your problem .
    Thanks
    Madhan

  • How do I allocate a numerical value to a 5 part likert scale question

    I have a survey questionaire and the 15 questions are all arranged on a 5 part 'Liket scale' of strongly agree to strongly disagree.
    How do I allocate numerical values to each question response? 
    I don't want the respondents to see the scoring.
    The reason I need to do this is some response lines are reverse scored. That is to say some lines would be scored 1 to 5 and other lines 5 to 1.
    I think this feature is available on survey monkey.
    Is it available in Acrobat X Pro or Formscentral?
    I'd appreciate your suggestions
    Kind regards
    spreid1

    Hi,
    You can assign numerical responses to the likert answers as follows:
    1. Go into the response table and select the "Table" toolbar button:
    2. Select the header for your Likert questions in the response table.
    3. Click the "Choices" button on the toolbar and select "Edit choice list..."
    4. Select the checkbox for "Assign data values to choices".
    5. Enter the choice data values in the right-hand column.

Maybe you are looking for

  • How can I make a fillable table that allows me to select text in bulk yet retains tab over ability?

    I'm working on a form in livecycle and am trying to make a form which is easy for my client to fill out and easy for me to extract the data from. Basically I am desiging a form that my clent fills out by entering data into 4 X 3 table (four rows, thr

  • About DBMS_Metadata.Get_DDL

    I am curios to know why Oracle still does not provide a function that would export the table creation script without tablespace name, PCT , double qoutes. It should give the table script, indexes and constraints scripts so that if anyone runs that sc

  • AddOnRegDataGen.exe in Batch File

    I'm trying to follow these instructions from Frank Moebius: please note that AddOnRegDatGen is batch capable!!! Here you go: Calling convention (cmdline parameters): AddOnRegDataGen.exe <raw xml> <InstallerVersion> <Installer> <Uninstaller> <Add-On-E

  • Ssi in OC4J applications

    Hi, I've been trying to get ssi to work in my OC4J application. But it doesn't. The ssi servlet is there and it appears to have the mapping /*.shtml Thanks for any hints you can give. /Per

  • Forms 9i settings

    Hi, my client is using forms 9i, and in their server and locally their system is working absolutely fine. I'm trying to work from my local system while running application in browser it's not showing the application completely, means some part is get