About Creating a Simple Calculator with Macromedia Flex

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default About Creating a Simple Calculator with Macromedia Flex

    Hi,

    In Creating a Simple Calculator with Macromedia Flex Article, I have seen that
    the author assign the (currentRegister variable) with (reg1 variable), what did
    we call this method -> currentRegister = "reg1" ?

    I think that when the value of currentRegister change the reg1 value will
    change too, is that right ?

    Digital Hand Guest

  2. Similar Questions and Discussions

    1. Is Dialogue Anywhere based on Macromedia Flex ?
      Hi, I'm just curious if Exstream Software's DIALOGUE ANYWHERE has anything to do with Macromedia Flex ? Thanx, Petr
    2. Simple question for macromedia staff
      I have already posted this question, but have had no response. Seems like there are LOTS of posts here that do not receive a response. Anyway, I...
    3. Creating Macromedia exchange files
      Can anyone help me out in creating simple macromedia exchange file... Santhosh
    4. Making a simple Calculator?
      Anyone know any links to tutorials that will help me make a simple calcualtor? IE item cost 5 how many do you want? User enters 2 movie...
    5. Making a simple calculator with perl
      Hello, I'm a total newbie with only a few programs under my belt. Anyway, I would like to create a command line calculator. Like the one...
  3. #2

    Default Re: About Creating a Simple Calculator with MacromediaFlex

    uhm, I haven't seen that tutorial for a while, but if your point of confusion
    is about reference vs assignment, just remember that primative values get
    assigned using "=" but Objects (and by extension all classes, including Arrays)
    get referenced using "="


    jpwrunyan Guest

  4. #3

    Default Re: About Creating a Simple Calculator with MacromediaFlex

    The Stange thing here, he decleared currentRegister and reg1 variables as
    String Type.
    He assigned reg1 = "" and currentRegister = "reg1"

    And by just doing this+=1
    the value of reg1 changed according to that.

    So, I want to know what do you call this method.
    But, really that amazing, I have not seen something like this in Java.

    Digital Hand Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139