Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 28th, 2007, 09:21 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default Scientific calculator

Hallo everyone,

I am flash newbie. I actually have to say that I began to learn flash this week.

What I have to design is a scientific calculator. It would be ok if I should calculate only sin, cos etc. formulas but what it is required is a bit trivial.

For example I give 15 as number and press on minute button. It takes it as minute and after that when I press on seconds button then it will convert it from minute to seconds. How can I build such a logic in Flash? Can anyone help me?

Your attitude determines your altitude
__________________
Your attitude determines your altitude
 
Old November 28th, 2007, 10:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is just the logic of how I would make it work. I would capture your numbers, then for the minute button I would pass the number to a function that did nothing but calculate the number of seconds in a minute and write it the to display box.
 
Old November 28th, 2007, 10:59 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks very much. Could you make this clear to me by writing a bit of ActiveScript 3.0 chunk. I am still a newbie in this area. I am a java developer that's why I can understand the most of this ActionScript

Your attitude determines your altitude





Similar Threads
Thread Thread Starter Forum Replies Last Post
calculator mojtaba rashidi Visual Studio 2005 0 March 17th, 2008 07:29 AM
scientific notation pcase XSLT 1 January 9th, 2008 04:29 PM
Calculator DweeLer Other Programming Languages 1 November 18th, 2005 08:13 AM
calculator kale_tushar C++ Programming 1 January 28th, 2004 01:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.