TRUE or FALSE if cell contains number value

I'm looking for the equivalent of the NUMBERVALUE function in Excel.
My equation in excel is:
=IF(AND(NUMBERVALUE($I8),NOT(NUMBERVALUE($C8)),NOT(NUMBERVALUE($D8)),NOT(NUMBERV ALUE($E8)),NOT(NUMBERVALUE($F8)),NOT(NUMBERVALUE($G8))),"ERROR","")
Reworking it to use ISBLANK, or a combination of EVEN and ODD doesn't work because it interprets blank cells as even (blank = 0) and spaces as not being blank (makes sense as it does have a length the the string instead of it just being length=0).
So I want to find a function that will tell me whether or not there is actual numerical data (integer between 0-1000) in a cell.

Tan-Tan wrote:
I'm now using checkboxes in a True or False 10-item test. I once used buttons, but I gave up and went to checkboxes. I managed to display them using this:I'm confused. So does your code use JRadioButtons (like your code says), or JCheckBoxes (like this sentence says)?
I intentionally just have 2 groups of radio button displayed to test if I could tally the right answer. No luck.How did you attempt to tally the right answer? How do you have the right answers stored? How were you getting the status of each JRadioButton?
So how do I tally the right answer upon clicking 'submit'. I know you have to have a new frame for that, but it's about tallying. Like the right answer for number 1 is false, for number 2 is true. If you click Submit, I should be able to show "You got 1 correct answer".Worry about how you display the tally later. For now just use a System.out.println. I'd use a for loop to get the status of each JRadioButton or JCheckBox, and check that against an array of correct answers.

Similar Messages

  • Bug Report: enum metadata containing 'true' and 'false' string values not displaying unless "goosed"

    I have metadata whose value is 'true' but the corresponding enum title is not being displayed. If I set it explicitly to 'true' it will be displayed even though the value is the same as it was.
    Likewise for 'false'.
    I do not have this problem with enums that have any other string values i.e. 'yes' and 'no' function properly, but 'true' and 'false' do not.
    Rob

    Due to better understanding on my part, and the fixes in Beta 2.2, the
    issues raised in this thread are put to rest.
    Abe White wrote:
    >
    We'll investigate further. Stay tuned...
    "David Ezzio" <[email protected]> wrote in message
    news:[email protected]..
    Abe,
    Actually, it doesn't make sense. The first iteration shows
    jdoPostLoad is called just prior to using the fields of Widget and Box.
    After the commit, the instances are not cleared. So far, so good.
    In the second iteration, we see that jdoPreClear is called, but
    jdoPostLoad is not called. Yet the values are there for use during the
    call to Widget.toString() and Box.toString() within the iteration. How
    did that happen?
    On the third iteration, now the value of name is null, but last we
    looked it was available in the second iteration. Other than that, I
    agree that the third iteration looks ok, since it is being cleared and
    loaded prior to use. But in the jdoPreClear, the values should be there
    since the values were used in the previous iteration and are not cleared
    at transaction commit due to retainValues == true.
    David
    Abe White wrote:
    David --
    I believe the behavior you are seeing to be correct. Section 5.6.1 of
    the
    JDO spec outlines the behavior of persistent-nontransactional instancesused
    with data store transactions. As you can see, persistentnon-transactional
    instances are cleared when they enter a transaction; thus the calls to
    jdoPreClear. When the default fetch group is loaded again (like whenyou
    access the name of the widget) a call to jdoPostLoad is made.
    You are seeing the name of one instance as 'null' in the third iterationof
    your loop because the instance has been cleared in the second iteration,and
    the jdoPreClear method is not modified by the enhancer (see section10.3).
    Make sense?

  • SUM function resulting WRONG values when some cell contains a string

    A very strange problem that can result in wrong financial calculations and big mistakes...
    If we have SUM function for some range of cells and one of them is treated as text string (I mean it's number in fact but Number is sure it's text string). than SUM function calulates ALL cells except this sell silently without errors and results in wrong result.
    For example we have cells and values
    A B
    =====
    1| 15 USD
    2| 0 USD
    3| 37 USD
    4| 1 USD
    5| 3 USD
    here the function SUM(B1:B5) should provide the result "56 USD"
    But if cell B5 is treated as text string (it can be still displayed as "3 USD" so we don't know it's treated as text string for some reason) than SUM(B1:B5) swill answer "53 USD".
    The problem is we DON'T know cell B5 is treated as text and we are fully sure that we have the correct sum of all 5 cells, in reality we see sum of 4 cells only....
    I think anybody working with financial or other important data can imagine how dangerous this SUM behaviour is.... I encountered several times that when importing data from Excel or by other ways numbers are imported as text strings. So if I have a lot of cells I'm not sure if all those cells are correctly styled or some of them for some unknown reason is treated as text string.
    In Microsoft Excel there is a very right solution. In MS Excel if any cell in the SUM is wrong format the SUM function simply provides error as a result. But in Numbers SUM doesn't tell us about error, it simply provides us with a wrong result!
    With formal logic the way SUM works in Numbers is total idiotism. If I ask to SUM B1:B5 than I definitely ask to sum ALL 5 cells, not 4, not 3, not 6 but 5 definite cells. If Numbers can't sum those exactly those 5 cells the only answer of the function should be ERROR.
    But Apple Numbers answers me some result of summing those cells that it's able to sum. Apple Numbers SUM function is not confused that I asked for SUM of 5 (not 4 or 3) cells and I expect to have this sum as a result.
    In fact Apple uses the right logic when we use another formula. If we use =B1B2+B3+B4B5 and any cell contains text string that we'll have error result the sam as in Microsoft Excel. So in this example Numbers behaves correctly.
    So why SUM (B1:B5) can provide totally different result as =B1B2+B3+B4B5?

    alexb2 wrote:
    So when I set format for my number as my local currency it's displayed as 123 XXX (XXX is my currency but it's not in latin). I see it's not only displayed but also stored as 123 XXX. That's different from Excel that stores only numbers in cells and shows number with prefix or suffix - Numbers storex number with prefix or suffix.
    No, you get this behavior because the original sheet is displaying values as currencies. I assumes that the import process pass it as a string because he doesn't recognize it as a currency value. As far as I know, Numbers stores the currency entries as a pure number and an indicator of the used currency.
    Here is an example.
    (a) the description of the numerical value (I underlined it: 456)
    <sf:number-cell sf:flags="4" sf:value="456" sf:col="1" sf:row="2">
    <sf:cell-style-ref sfa:IDREF="SFTCellStyle-46"/>
    <sf:content-size sfa:w="58.659881591796875" sfa:h="14"/>
    </sf:number-cell>
    (b) the description of the format (I underlined the used currency: XAM)
    <sf:cell-style sfa:ID="SFTCellStyle-46" sf:cell-style-default-line-height="12" sf:parent-ident="tabular-Basic-body-cell-style-id">
    <sf:property-map>
    <sf:SFTCellStylePropertyNumberFormat>
    <sf:number-format sfa:ID="SFTNumberFormat-23" sf:format-type="1" sf:format-string="#,##0.00 &#xA4;;-#,##0.00 &#xA4;" sf:format-decimal-places="2" sf:format-currency-code="XAM" sf:format-negative-style="0" sf:format-show-thousands-separator="true" sf:format-fraction-accuracy="-3" sf:format-use-accounting-style="false"/>
    </sf:SFTCellStylePropertyNumberFormat>
    <sf:SFTCellStylePropertyImplicitFormatType>
    <sf:number sfa:number="256" sfa:type="i"/>
    </sf:SFTCellStylePropertyImplicitFormatType>
    <sf:SFTCellStylePropertyFormatType>
    <sf:number sfa:number="257" sfa:type="i"/>
    </sf:SFTCellStylePropertyFormatType>
    </sf:property-map>
    </sf:cell-style>
    Of course, if the original currency string is not recognized, it can't be described as such a feature and the value is treated as a simple string.
    So may be at some moment my 123 XXX is treated like string value.
    Yes, find and replace is a nice tool when importing data - thanks for the tip. the last problem is with already Numbers files that were imported not today (or even createde as Numbers file) where some cell becomes string value after some editing.
    Here again, if you edit a currency string and replace it to a not recognized one, the result will be logically a string.
    There is an other way to give this result:
    copy a value from a cell formatted as XAM currency (just an example)
    paste it in a cell whose format is currency Euro (once again it's just an example).
    The result will be a string.
    The culprit is not the program, it's the user.
    I had several times this situation and last time I found error only because I have my budget in 2 programs - in Numbers and in another special budgeting program. As each program has advantages I have in fact 2 instances of the same budget.
    And when I changed some string in Numbers and another program I noticed the sum is different. I was sure it's another program somewhere buggy but noticed than Numbers simply ignores one of the budget strings and sums without it... In fact it was even not the string I changed, I remember I changed the buggy string about a week ago but I haven't compared budgets that time so my budget had a mistake for some time till I noticed it. If I used only Numbers without copy of budget in another program may be even today I won't notice the mistake.
    The same situation happened not once.
    I think that the choice made by Apple for SUM() is correct. You feel that it is wrong. It's useless to debate more, we will not change the behavior of the function.
    I try to give a workaround.
    The neater one is to add columns as I described in my first response.
    The given formula will clearly flag cells which aren't containing numerical values. If you move the SUM from the original range to the new one, the oddities will be flagged automatically.
    Here is an alternate workaround:
    The currency is XAM.
    In B4 I introduced a typo so the value is no longer a numerical one.
    Given that, the sum in the footer doesn't count the 34 (which is the normal behavior).
    In column C1 I entered =1*B
    which flagged the bad cell.
    The alternate is to use an auxiliary table like aux1
    In A1 I entered:
    =IF(ISERROR(INDIRECT(ADDRESS(ROW(),COLUMN(),,,"main"))),"",IF(ISBLANK(INDIRECT(A DDRESS(ROW(),COLUMN(),,,"main"))),"",1*INDIRECT(ADDRESS(ROW(),COLUMN(),,,"main") )))
    Exactly the same formula in B1, C1, D1, …
    So, the table will automatically grab the contents of the main table (just take care to insert more columns in aux1 than in main)
    In the footer row of aux1, insert a sum formula for columns where there is required.
    Looking at this footer will flag columns where a value may be "wrong" so, it will be necessary (but easy) to scan the column's content to find the red triangle(s).
    Yvan KOENIG (from FRANCE lundi 13 octobre 2008 13:27:40)

  • Parameter Query for True or False values

    I have what seems like a painfully simple task and it has me stopped dead.  I reviewed a similar thread, and the answers there don't seem to apply. Working in Crystal 11.5 with an MS SQL database.
    I am pulling data from vwCommmittees.  There is a field in this view called IsActive.  I want to create a committee list report that will allow the user to select only the active committees or all committees.
    A SQL select statement that says where dbo.IsActive = '1' will return only the active committees.
    In Crystal reports, if I place the IsActive field on the report, it returns with "True" or "False."
    When I create a parameter for this field, I find that 1) I can't see the parameter in the report expert -- my only choices are Is any value, Is true, Is false or Formula.
    I've made several attempts to create a formula and nothing is working. It's not clear to me wheter I should be creating a static or a dynamic parameter.  When I choose boolean as the type, that doesn't seem to help.  I tried a dynamic parameter which gave me true and false values, but don't seem to work.
    Any pointers on dealing with this kind of parameter query would be greatly appreciated.
    Sincerely,
    Ridge (in New Joisey)

    Hi..
    Create a static parameter and give the default values like
    0 and 1
    In Record Selection check like..dbo.IsActive = {?parameter}
    If the above is not working for you, then create a formula
    like..
    If dbo.IsActive = '1' then
    "Active"
    Else "In Active"
    Place this formula on your report and create a static parameter with default values Active and In Active.
    In record selection filter the above.
    Thanks,
    Sastry

  • In fact it's about mac:excel, how convert in a cell a number written in text format into a value?

    in fact it's about mac:excel8 or 11 in OSX10.7.4,
    how convert in a cell a number written in text format into its value?
    cheers francois

    Hi francois,
    If I copyone of them and do a past special/value, it does not work.
    Try just Paste instead of Paste Special > Value
    I know your question is about Excel, but this works in Numbers:
    Copy 1 234 567 (with spaces) and Paste (not Paste Special) into a Cell in a Numbers Table. The result is 1234567 and it behaves as a number. A formula will consider it to be a number:
    You asked Wayne: what do you mean by "to reference a cell" ??
    The reference is from Cell A2 to Cell A1 through a formula, such as: =A1+1
    Regards,
    Ian.

  • EvDRE protecting cells - "The cell contains a calculated value.."

    I have an evdre input template that gives me the following message "The cell contains a calculated value, or is for a non-base-level member.  Try changing the associated member to a base level member, then re-entering the value".
    Everything at the intersection is base level.  Any suggestions on how to disable this message?  What enables this message?  I have had other situations where the intersection has a calculated member and it doesn't show this prompt, but only tells of the calculated member in the send confirmation screen. (BPC 5.1sp3)
    Thanks
    Mark

    Thanks for the answer.  It is data validation.  I had used the Apshell version of  an input template as a starting point and had changed it to evdre and made changes that impacted the data validation that was baked in.  I didn't realize that this was being included in their Apshell templates. 
    Thanks again
    Mark

  • Where do I find the TRUE or FALSE boolean value?

    I'm doing a program that displays the operation of global variable. I'm suppose to put a TRUE or FALSE boolean value and I can't find it. Please help.

    You can't find an indicator for the front panel or you can't find a Boolean constant to put on your diagram? You've got Boolean palettes for both front panel and diagram. Everything you need should be on one of the palettes. If that's not it, could you explain your problem in greater detail?

  • The operator " " expects a number, but cell contains a string

    Error message: The operator "+ " expects a number, but cell contains a string. I imported data from a csv file. One column which I would like to sum has data in the following format 17:00
    How can I convert this into numerical data that can be summed?

    Hi Robert,
    What does 17:00 represent? Is it a Time of Day or a Duration, or something else entirely? Would 5:00 be represented as I wrote it, or would it be 05:00?
    Jerry

  • Cell with boolean value not rendering properly in Swing (custom renderer)

    Hello All,
    I have a problem rendenring boolean values when using a custom cell renderer inside a JTable; I managed to reproduce the issue with a dummy application. The application code follows:
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.lang.reflect.InvocationTargetException;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import java.util.logging.Logger;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.SwingUtilities;
    * Simple GUI that uses custom cell rendering
    * @author josevnz
    public final class SimpleGui extends JFrame {
         private static final long serialVersionUID = 1L;
         private Logger log = Logger.getLogger(SimpleGui.class.getName());
         private JTable simpleTable;
         public SimpleGui() {
              super("Simple GUI");
              setPreferredSize(new Dimension(500, 500));
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setLayout(new BorderLayout());
         public void constructGui() {
              simpleTable = new JTable(new SimpleTableModel());
              simpleTable.getColumnModel().getColumn(2).setCellRenderer(new HasItCellRenderer());
              SpecialCellRenderer specRen = new SpecialCellRenderer(log);
              simpleTable.setDefaultRenderer(Double.class, specRen);
              simpleTable.setDefaultRenderer(String.class, specRen);
              simpleTable.setDefaultRenderer(Date.class, specRen);
              //simpleTable.setDefaultRenderer(Boolean.class, specRen);
              add(new JScrollPane(simpleTable), BorderLayout.CENTER);          
              pack();
              setVisible(true);
         private void populate() {
              List <List<Object>>people = new ArrayList<List<Object>>();
              List <Object>people1 = new ArrayList<Object>();
              people1.add(0, "Jose");
              people1.add(1, 500.333333567);
              people1.add(2, Boolean.TRUE);
              people1.add(3, new Date());
              people.add(people1);
              List <Object>people2 = new ArrayList<Object>();
              people2.add(0, "Yes, you!");
              people2.add(1, 100.522222);
              people2.add(2, Boolean.FALSE);
              people2.add(3, new Date());
              people.add(people2);
              List <Object>people3 = new ArrayList<Object>();
              people3.add(0, "Who, me?");
              people3.add(1, 0.00001);
              people3.add(2, Boolean.TRUE);
              people3.add(3, new Date());
              people.add(people3);
              List <Object>people4 = new ArrayList<Object>();
              people4.add(0, "Peter Parker");
              people4.add(1, 11.567444444);
              people4.add(2, Boolean.FALSE);
              people4.add(3, new Date());
              people.add(people4);
              ((SimpleTableModel) simpleTable.getModel()).addAll(people);
          * @param args
          * @throws InvocationTargetException
          * @throws InterruptedException
         public static void main(String[] args) throws InterruptedException, InvocationTargetException {
              final SimpleGui instance = new SimpleGui();
              SwingUtilities.invokeAndWait(new Runnable() {
                   @Override
                   public void run() {
                        instance.constructGui();
              instance.populate();
    }I decided to write a more specific renderer just for that column:
    import java.awt.Color;
    import java.awt.Component;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.table.DefaultTableCellRenderer;
    * Cell renderer used only by the DividendElement table
    * @author josevnz
    final class HasItCellRenderer extends DefaultTableCellRenderer {
         protected static final long serialVersionUID = 2596173912618784286L;
         private Color hasIt = new Color(255, 225, 0);
         public HasItCellRenderer() {
              super();
              setOpaque(true);
         @Override
         public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
              Component comp = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
              int desCol = table.convertColumnIndexToView(1);
              if (! isSelected && value instanceof Boolean && column == desCol) {
                   if (((Boolean) value).booleanValue()) {
                        comp.setForeground(hasIt);     
                   } else {
                        comp.setForeground(UIManager.getColor("table.foreground"));
              return comp;
          * Override for performance reasons
         @Override
         public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) {
              // EMPTY
         @Override
         protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
              // EMPTY
         @Override
         public void revalidate() {
              // EMPTY
         @Override
         public void validate() {
              // EMPTY
    } // end classBut the rendering comes all wrong (a String saying true or false, not the expected checkbox from the default renderer) and also there is a weird flickring effect as this particular boolean column is editable (per table model, not show here)...
    I can post the table model and the other renderer if needed (didn't want to put too much code on the question, at least initiallty).
    Should I render a checkbox myself for this cell in the custom renderer? I'm puzzled as I expected the default renderer part of the code to do this for me instead.
    Thanks!
    Edited by: josevnz on Apr 14, 2009 12:35 PM
    Edited by: josevnz on Apr 14, 2009 12:37 PM

    camickr
    Thats because the default render is a JLabel and it just displays the text from the toString() method of the Object in the table model.What I meant to say is that I expected the JCheckbox not a String representation of the boolean value.
    Thats because a different renderer is used depending on the Class of data in the column. Look at the source code for the JTable class to see what the "default >renderer for the Boolean class" is. Then you can extend that or if its a private class then you will need to copy all the code and customize it.At the end I looked at the code and replicated the functionality I needed. I thought than maybe there was a way to avoid replicating the same logic all over again in order to implement this functionality. Good advice, though.
    see you learned nothing from your last posting. This is NOT a SSCCE. 90% of the code you posted is completely irrelevant for the described problem. There is abosutelly no need to post the custom TableModel, because there is no need to use a custom TableModel for this problem. The TableModel has nothing to do with how a column is rendererd.The custom table model returns the type of the column (giving a hint to the renderer on what to expect, right?) and for the one that had a problem it says than the class is Boolean. That's why I mentioned it:
    public Class getColumnClass(int columnIndex) {
        // Code omited....
    You also posted data for 4 columns worth of data. Again, irrelevant. Your question is about a single column containing Boolean data, so forget about the other columns.
    When creating a SSCCE you don't start with your existing code and "remove" code. You start with a brand new class and only add in what is important. That way hopefully if you made a mistake the first time you don't repeat it the second time.That's what I did, is not the real application. I copy & pasted code in a haste from this dummy program on this forum, not the best approach as it gave the wrong impression.
    Learn how to write a proper SSCCE if you want help in the future. Point taken, but there is NO need for you to be rude. Your help is appreciated.
    Regards,
    Jose.

  • 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;

  • Is that True or False ?

    I recieved a message from e-mail told me that the nokia can Detect Radar on the road
    Nokia Speed Trap Detector
    The settings for radar speed traps detector.
    Your Nokia cell phone can be programmed to pick
    up radar speed traps, when programmed your cell
    phone picks up the radar and alerts you on the
    message alert tone. ( Doesn't work with Nokia
    7110! )
    1. Enter your menu
    2. Select settings
    3. Select security settings
    4. Select closed user group
    5. Select on
    6. Enter 00000
    7. Press ok
    8. Clear back to normal, within a few seconds
    your phone will display a radar sign with five
    zero's next to it. It is now activated.
    Unfortunately only Nokia phones have this
    function. Cell info display needs to be de-
    activated. Settings -> Phone Settings -> Cell
    Info display
    Each time you turn off your phone, or even each
    time you loose contact with your carrier, you'll
    have to activate it again... It is done by steps
    1 through 5, but the number (00000) will be
    already on the field as default.
    Is that True or False ?

    It is false.closed user group is an operator based service by which your phone can be made to make phone calls only to those numbers in that group id.it is service provides dependant.contact your operator.

  • Check True or False Condition

    All,
    In my Form_Load module, I use For Loop to get data from Microsoft Access database to the texbox and that works fine.  The problem I have is that there is one column with True/False condition in the access database and I would like to know how to check
    if it is set to True or False.
    In the For Loop I use something like this for the textbox:
    Textbox1.text = row.cells("columnname").value.tostring()
    How do I check the column with the True/False condition
    VS 2008
    OS: XP
    Thanks,
    LA_Bob
    

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    If you are doing your code using visual basic, Visual Basic forum within Visual Studio Language Forums:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages may help you.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Run a formula if a cell contains particular data from various cells

    I have a formula which checks a list of domains to see what the TLD is and then returns a renewal price based on the TLD e.g. .co.uk may return with $5.99 and .com $10.00. The formula I am using is below:
    =VLOOKUP(RIGHT(A2,LEN(A2)−SEARCH(".",A2)+1),$A:$B,2,FALSE)
    I am now wanting to expand this formula to check additional criteria before running the above formula.
    I don't know what functions to use, but I know what I'm trying to achieve, so please, humour me when it comes to make believe syntax below:
    if a cell contains the data from a number of cells e.g. C$2:C$5 then run the above formula, if not return "N/A"

    Hi Ian,
    Thanks for your reply.
    I see exactly where you're going with this, but it's not exactly what I'm after.
    Perhaps I need to be a bit more clear in my explanation - my bad.
    Cell A2 has a domain name e.g. example.com, example.co.uk, example.org, example.net
    Cell B2 has a number of options to choose from e.g. Expire, Hosting, Backorder, Mapping
    Column D2:D5 have a number of TLDs e.g. co.uk, .com, .org, .net
    Column E2:E5 have the corresponding annual renewal prices for the TLDs listed in cells F2:F5
    Column F2:F5 have the options than can be chosen in column B2
    I only want to get the renewal price for the TLD where the option in Cell B2 is one of the options listed in cells F2:F5 and if it's not, I want it to return "N/A"

  • Rendered=false column is not returning value in simpleSearch Query Region.

    Hi Guru's,
    I have a simpleSearchPanel with two search columns Order Number (Rendered=true, i.e Visible to User in the form) and Order Id(Rendered=False, i.e Non visible to User in the form) which are getting values from LOV. The LOV selection Order Number and Order Id are getting values and Order Number column is rendered true(visible) query able to return the values, but Order Id is not getting values because Rendered=False/Not visible Field.
    Unfortunately i can't make OrderId filed as "formValue" because of simpleSearchPanel (autoCustoomizationCritirea) query region.
    I appreciate your help.
    Regards
    Pathi

    its not the problem with simpleSearchPanel, it is the messageComponentLayout within simpleSearchPanel which is restricting the formValue.
    just change the region style to defaultDoubleColumn and create the formValue into it.
    This should solve your problem..
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • True Or False Game

    Hi all
    A total newbie to director and need some help as i'm really
    stuck,
    For part of my college work I am trying doing a True or False
    game based on 10 questions but unsure how to script this, what game
    involves is when a question has been answered correctly the user is
    sent to a marker named "Right", showing an animation telling them
    they have answered it correctly, if they have answered the question
    incorrectly they get sent to another marker named "Wrong" again
    showing an animation telling them they have answered incorrectly.
    The way I have decided to do this is by importing the
    questions from text file that hold 10 question, the current script
    i have for Director to load the questions is.....
    on mouseUp me
    openAndReadText
    end
    but wanting to randomize them.
    I also have 2 buttons named True and False, and because 5
    questions are true and 5 are false, the only code i have so far in
    different scripts is
    on startMovie
    Answer
    end
    on Answer
    global gQuestions
    gQuestions = True
    end
    global gQuestions
    on mouseUp me
    if gQuestions = True then
    go to "Right"
    else
    go to "Wrong"
    end if
    end
    and dont know what code i needs to be added to determine
    which correct answer goes to the correct marker
    Thanks ifor any help in advance
    Chris

    Consider the low tech aproach.
    If you don't have a big library of questions that have to be
    imported
    dynamically, I would suggest going with a less programatic
    intensive
    approach, in which each question is contained in a predefined
    text
    member displayed in a separate score marker.
    Again the simplest least programatic approach would have the
    actions for
    the True False answer buttons assigned separately for each
    individual
    question, that is in question number 3 you might have the
    True button go
    to the wrong marker.
    You could avoid writing any lingo code by using the navigate
    to marker
    behavior from the library palette to access a marker from a
    series you
    already have setup in the score.
    A hard coded series of markers might look like:
    question1
    right1
    wrong1
    question2
    right2
    wrong2
    question3
    right3
    wrong3
    They would all show up in the parameter popup menu in the
    behavior.
    A score script at the start of the right wrong markers could
    increment
    the global question tally
    on exitFrame
    global rightCount, totalCount
    totalCount = totalCount + 1
    rightCount = rightCount + 1 -- this line is only in the righ
    marker
    script
    end

Maybe you are looking for

  • Need a HP Touchsmart 610z for a research study on 20th April

    Hi All!  I need a HP Touchsmart 610z for a research study to be conducted for 3 days from 20th April in San Francisco. It was too late by the time I found out that this AIO is only available on the HP online store and cannto be delivered before 20th

  • Un resolved issue in Blackberry Z10

    I an not able to configure my official mail id in Z10. In this regards I made the complain on 8th April 2013 my complaint number  is <removed>, it  now this issue was not solved. I am not happy with Blackberry service. Reg, Hari EDIT: Personal Inform

  • X220 shows display name as "Generic PnP Monitor", it's supposed to be IPS.

    I ordered an X220 with IPS long time ago. I remember seeing a while ago the name as "Wide viewing angle & High density FlexView Display 1366 x 768" but now that I see this "Generic PnP Monitor" I am not sure if it was my imagination or infact the nam

  • Adding Field in DS Planning Board

    Hi Experts, In APO DS Planning board /SAPAPO/CDPS0 for "Deallocate" subscreen i want to add a field "Planning Group". Is it possible to change the layout by Customising ? Regards, Karthi.

  • Simulating console activity in Java

    Hello, I have a small Java program that basically uses telnet to connect to another server. Currently, the program basically acts like the regular telnet client. When I run it, I get the basic login screen that I normally get in the standard command