Help me

subrat's Avatar

subrat

03 Dec, 2013 09:14 AM

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.

  1. Support Staff 1 Posted by Ondina D.F. on 03 Dec, 2013 10:00 AM

    Ondina D.F.'s Avatar

    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. 2 Posted by subrat on 04 Dec, 2013 08:32 AM

    subrat's Avatar

    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.

  3. Support Staff 3 Posted by Ondina D.F. on 04 Dec, 2013 10:24 AM

    Ondina D.F.'s Avatar

    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. 4 Posted by Subrat Sarangi on 04 Dec, 2013 10:26 AM

    Subrat Sarangi's Avatar

    thank u so much.if i need further helps i will mail u my problems.have good
    day.

  5. Support Staff 5 Posted by Ondina D.F. on 05 Dec, 2013 12:47 PM

    Ondina D.F.'s Avatar

    You're welcome and I wish you a nice day as well:)

  6. Ondina D.F. closed this discussion on 05 Dec, 2013 12:47 PM.

  7. Subrat Sarangi re-opened this discussion on 16 Dec, 2013 09:09 AM

  8. 6 Posted by Subrat Sarangi on 16 Dec, 2013 09:09 AM

    Subrat Sarangi's Avatar

    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

  9. Support Staff 7 Posted by Ondina D.F. on 16 Dec, 2013 03:23 PM

    Ondina D.F.'s Avatar

    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

  10. Ondina D.F. closed this discussion on 23 Dec, 2013 09:21 AM.

  11. Subrat Sarangi re-opened this discussion on 24 Dec, 2013 06:34 AM

  12. 8 Posted by Subrat Sarangi on 24 Dec, 2013 06:34 AM

    Subrat Sarangi's Avatar

    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.

  13. Support Staff 9 Posted by Ondina D.F. on 24 Dec, 2013 11:04 AM

    Ondina D.F.'s Avatar
  14. 10 Posted by Subrat Sarangi on 24 Dec, 2013 12:12 PM

    Subrat Sarangi's Avatar

    thank you...its usefull

  15. Support Staff 11 Posted by Ondina D.F. on 27 Dec, 2013 09:01 AM

    Ondina D.F.'s Avatar

    Glad to hear that!

  16. Ondina D.F. closed this discussion on 27 Dec, 2013 09:01 AM.

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