Help me
i have designed a scientific calculator in adobe flash builder
4.6 and i almost completed the operations.But can't get any idea
how to do the operation of '( 'and ')'.
and storing the results in a text area.some body please help
me....thank u for ur help.
- scientificCalculator.fxp 84.1 KB
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Ondina D.F. on 03 Dec, 2013 10:00 AM
Hello,
Nice calculations:)
Help me understand what your question is about, so please answer these:
are you asking how to use robotlegs to communicate the results of a calculation to another class in your app (to a Model or another mediated View..)?
or are you just asking how to add multiple results to your "TareaDisplay" inside your Calculator view?
By the way, the code you're having inside the mediator belongs to the view. The Mediator is not meant to be used as code behind.
Ondina
2 Posted by subrat on 04 Dec, 2013 08:32 AM
thank you ondina D.F for your concern.
actually the problem with the TareaDisplay was solved.
i want to do the operations of algebra in BDMAS rule using the braces ().so please help me.
Support Staff 3 Posted by Ondina D.F. on 04 Dec, 2013 10:24 AM
If I understand correctly, you're looking for something like this:
http://en.wikipedia.org/wiki/Shunting-yard_algorithm
here an as3 implementation:
http://code.google.com/p/filthmunster/source/browse/fm-utils/src/ma...
BODMAS rule is definitely out of the scope of this forum, so for further questions on the matter you should try other forums, like stackoverflow , math.stackexchange, or search the web for the source code of scientific calculators written in different languages - the algorithms being the same.
Cheers,
Ondina
4 Posted by Subrat Sarangi on 04 Dec, 2013 10:26 AM
thank u so much.if i need further helps i will mail u my problems.have good
day.
Support Staff 5 Posted by Ondina D.F. on 05 Dec, 2013 12:47 PM
You're welcome and I wish you a nice day as well:)
Ondina D.F. closed this discussion on 05 Dec, 2013 12:47 PM.
Subrat Sarangi re-opened this discussion on 16 Dec, 2013 09:09 AM
6 Posted by Subrat Sarangi on 16 Dec, 2013 09:09 AM
hi Ondina D.F
i just completed my scientific calculator.but still two buttons not
working.like x√y and logx.
logx means x is the base and let y is input...exampl log5(10)=??
so plz help to solve this two.
Thank u...
have a good day..
i found this stuff from here
http://mathlearning.net/flashgizmo/parser.html
Support Staff 7 Posted by Ondina D.F. on 16 Dec, 2013 03:23 PM
Hi Subrat,
I'm sorry, but I cannot help you.
Obviously, you did not understand what I said in my first post :)
This forum is dedicated to questions related to the robotlegs-framework.
Your problem is not a robotlegs one.
You should try asking your questions on these sites:
http://stackexchange.com/sites# - here is a list of all the sites available
http://stackoverflow.com/ - here, you may want to tag your question as 'as3' and 'math'
http://mathoverflow.net/
Good luck:)
Ondina
Ondina D.F. closed this discussion on 23 Dec, 2013 09:21 AM.
Subrat Sarangi re-opened this discussion on 24 Dec, 2013 06:34 AM
8 Posted by Subrat Sarangi on 24 Dec, 2013 06:34 AM
hii Ondina D.F.
first of all thank you very much for your response.
i have completed that module.
Now i want do do a weather forecast app in flex using mvcs architecture.
i have started the work. But little bit confused in
commands-services-events.
Please help me or give me any references where i can find my answers.
In service i fetch the information from api in json format. And by trace i
can see the informations in mediator.
But i created some vos and want to store these informations in that
variables.
so give me any suggestion to overcome this situation.
Thank you...
Have a good day.
Support Staff 9 Posted by Ondina D.F. on 24 Dec, 2013 11:04 AM
Hi Subrat,
Look at Services, Models and Vos in the following examples:
Twitter Search: http://joelhooks.com/2011/03/12/an-introduction-to-robotlegs-as3-pa...
FlickrGallery: https://github.com/joelhooks/robotlegs-examples-FlickrGallery
https://github.com/joelhooks/robotlegs-examples-FlickrGallery/blob/...
https://github.com/joelhooks/robotlegs-examples-UnionPlatformChatCl...
https://github.com/probertson/robotlegs-examples-AddressBook/blob/m...
https://github.com/probertson/robotlegs-examples-AddressBook/blob/m...
I hope these will be helpful.
Cheers,
Ondina
10 Posted by Subrat Sarangi on 24 Dec, 2013 12:12 PM
thank you...its usefull
Support Staff 11 Posted by Ondina D.F. on 27 Dec, 2013 09:01 AM
Glad to hear that!
Ondina D.F. closed this discussion on 27 Dec, 2013 09:01 AM.