flash on 2011-7-26

by Nek
♥0 | Line 11 | Modified 2011-07-26 18:47:26 | MIT License
play

ActionScript3 source code

/**
 * Copyright Nek ( http://wonderfl.net/user/Nek )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/uA52
 */

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var tf:TextField = new TextField();
            addChild(tf);
            tf.text = "<p>Using numbers is a great way to be <strong>sure </strong>if your answer is right or wrong.</p>\n<p>Just substitute the variables from the third problem with the numbers you chose.</p>\n<p>z-(x&middot;y)= 5-(3&middot;50)= a negative number?!!!</p>\n<p>It is impossible to get negative change. In other words z-(x&middot;y) is NOT the right answer.</p>\n&nbsp;\n<table style=\"height: 119px;\" border=\"1\" width=\"407\">\n<tbody>\n<tr>\n<th align=\"center\" scope=\"col\">Soda</th><th align=\"center\" scope=\"col\">Each</th><th align=\"center\" scope=\"col\">Pay</th><th align=\"center\" scope=\"col\">Change</th>\n</tr>\n<tr>\n<td align=\"center\">2</td>\n<td align=\"center\">25&cent;</td>\n<td align=\"center\">$1</td>\n<td align=\"center\">$0.50</td>\n</tr>\n<tr>\n<td align=\"center\">3</td>\n<td align=\"center\">50&cent;</td>\n<td align=\"center\">$5</td>\n<td align=\"center\">$3.50<br /></td>\n</tr>\n<tr>\n<td align=\"center\">x</td>\n<td align=\"center\">y&cent;</td>\n<td align=\"center\">$z</td>\n<td align=\"center\">z-(x&middot;y)=5-(3&middot;50)=-145</td>\n</tr>\n</tbody>\n</table>\n<p>[[continue]]</p>\n<p>Since Z is in $ and y is in cents, the final \nalgebraic answer for this question will be z - xy/100 -&nbsp; an answer which\n will give you a result of $3.5 when plugging in z=5, and x=3.</p>\n<p>This\n may look obvious when you see it on its own and focus on the change in \nunits, but bear in mind that a real GMAT question will include this \nanswer choice, as well as the following trap answer choices:</p>\n<p>z - (xy)</p>\n<p>z/100 - (xy)</p>\n<p>z - (100/xy)</p>\n<p>z - (100xy)</p>\n<p>etc... and you will see the need to plug in numbers so as not to \nget confused and fall for a wrong answer choice that looks right.</p>"
        }
    }
}