<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Flex tutorial &#8211; Build a calculator</title> <atom:link href="http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/feed/" rel="self" type="application/rss+xml" /><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/</link> <description>Just a collection of random works - Mark Knol</description> <lastBuildDate>Thu, 02 Feb 2012 00:51:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: siri</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-22789</link> <dc:creator>siri</dc:creator> <pubDate>Thu, 14 Oct 2010 13:25:38 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-22789</guid> <description>Hi.............i want calculator program in flex.........could u give me some logics......</description> <content:encoded><![CDATA[<p>Hi&#8230;&#8230;&#8230;&#8230;.</p><p>i want calculator program in flex&#8230;&#8230;&#8230;could u give me some logics&#8230;&#8230;</p> ]]></content:encoded> </item> <item><title>By: freak</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-19981</link> <dc:creator>freak</dc:creator> <pubDate>Tue, 24 Aug 2010 08:54:46 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-19981</guid> <description>Hello,How can i port this to adobe air/Thanks.</description> <content:encoded><![CDATA[<p>Hello,</p><p>How can i port this to adobe air/</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: Tommy</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-12662</link> <dc:creator>Tommy</dc:creator> <pubDate>Thu, 07 Jan 2010 10:27:46 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-12662</guid> <description>This is exactly what i was looking for! I didn&#039;t know ExternalInterface has this function. i was coding my own math logics. what a PITA! this made my app a lot skinnier! Thanks for putting up this tut.</description> <content:encoded><![CDATA[<p>This is exactly what i was looking for! I didn&#8217;t know ExternalInterface has this function. i was coding my own math logics. what a PITA! this made my app a lot skinnier! Thanks for putting up this tut.</p> ]]></content:encoded> </item> <item><title>By: Mark</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-10479</link> <dc:creator>Mark</dc:creator> <pubDate>Wed, 18 Nov 2009 11:42:29 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-10479</guid> <description>You need to add this to the script tagprivate function init(e:Event):void
{
this.setFocus();
}private function onKeyDown(e:KeyboardEvent):void
{
trace(e.keyCode);
switch (e.keyCode)
{
case 49:
addText(&quot;1&quot;);
break;
case 50:
addText(&quot;2&quot;);
break;
}
}..and this should be added to the mc:Application tag:&lt;mx:Application initialize=&quot;init(event)&quot; keyDown=&quot;onKeyDown(event)&quot; ..</description> <content:encoded><![CDATA[<p>You need to add this to the script tag</p><p> private function init(e:Event):void<br /> {<br /> this.setFocus();<br /> }</p><p>private function onKeyDown(e:KeyboardEvent):void<br /> {<br /> trace(e.keyCode);<br /> switch (e.keyCode)<br /> {<br /> case 49:<br /> addText(&#8220;1&#8243;);<br /> break;<br /> case 50:<br /> addText(&#8220;2&#8243;);<br /> break;<br /> }<br /> }</p><p>..and this should be added to the mc:Application tag:</p><p>&lt;mx:Application initialize=&quot;init(event)&quot; keyDown=&quot;onKeyDown(event)&quot; ..</p> ]]></content:encoded> </item> <item><title>By: Mary Bee</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-10464</link> <dc:creator>Mary Bee</dc:creator> <pubDate>Wed, 18 Nov 2009 00:24:40 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-10464</guid> <description>OKAYY I NEED HELP!!!!!!!!!!
im making a calculator in class on flex, but its not like the calculator u have up there instead i have 6 buttons: Add, Subtract, Multiply, Divide, C (clear) and Equals (=). Then at the top I have two input boxes, my teacher wants me to be able to type in the number press a button (ex. add or sub) then type in another number into the same input box, have it store the first number and the operation. then when i press equal button to have it come up in the other input text box. I AM SOOO LOST. PLEASE SOMEONE HELP. EMAIL ME AT sugar_shoes@hotmail.com</description> <content:encoded><![CDATA[<p>OKAYY I NEED HELP!!!!!!!!!!<br /> im making a calculator in class on flex, but its not like the calculator u have up there instead i have 6 buttons: Add, Subtract, Multiply, Divide, C (clear) and Equals (=). Then at the top I have two input boxes, my teacher wants me to be able to type in the number press a button (ex. add or sub) then type in another number into the same input box, have it store the first number and the operation. then when i press equal button to have it come up in the other input text box. I AM SOOO LOST. PLEASE SOMEONE HELP. EMAIL ME AT <a href="mailto:sugar_shoes@hotmail.com">sugar_shoes@hotmail.com</a></p> ]]></content:encoded> </item> <item><title>By: Dave</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-8114</link> <dc:creator>Dave</dc:creator> <pubDate>Fri, 11 Sep 2009 18:43:56 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-8114</guid> <description>I&#039;m just starting to learn flex,  I tried this script out and it works fine as a web application but when I tried to build it as an AIR app I get the &quot;UNAVAILIBLE&quot; message.  How do I get around that?Thanks</description> <content:encoded><![CDATA[<p>I&#8217;m just starting to learn flex,  I tried this script out and it works fine as a web application but when I tried to build it as an AIR app I get the &#8220;UNAVAILIBLE&#8221; message.  How do I get around that?</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Narendar</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-4486</link> <dc:creator>Narendar</dc:creator> <pubDate>Mon, 25 May 2009 09:14:02 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-4486</guid> <description>if i evaluate and press any number, it is taking with result number (which wrong way), instead of clear and start with latest values..as normal calculator behaves.
can anyone do it for me...
...........................
thanks in advance!Narendar.</description> <content:encoded><![CDATA[<p>if i evaluate and press any number, it is taking with result number (which wrong way), instead of clear and start with latest values..as normal calculator behaves.<br /> can anyone do it for me&#8230;<br /> &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br /> thanks in advance!</p><p>Narendar.</p> ]]></content:encoded> </item> <item><title>By: smarkamyth</title><link>http://blog.stroep.nl/2008/08/flex-tutorial-build-a-calculator/#comment-1173</link> <dc:creator>smarkamyth</dc:creator> <pubDate>Tue, 06 Jan 2009 03:58:37 +0000</pubDate> <guid isPermaLink="false">http://blog.stroep.nl/?p=35#comment-1173</guid> <description>Heh . . . sorry!parseFloat is going to make a much more interesting and usable calculator.input.text = parseFloat(input.text).toString();</description> <content:encoded><![CDATA[<p>Heh . . . sorry!</p><p>parseFloat is going to make a much more interesting and usable calculator.</p><p>input.text = parseFloat(input.text).toString();</p> ]]></content:encoded> </item> </channel> </rss>
