2 Replies Latest reply on Jun 12, 2006 12:47 PM by sbryner

    Learning Variables

    sbryner Level 1
      Hello,

      Is there a place on the WWW. that explains flash variables well?
      I need clarification on it. It seems like it so simple everybody gets it but me....
      Here's what I think I understand to be true:




        • 1. Re: Learning Variables
          Level 7
          A lot depends on your programming experience level.

          If you are new to programming then you need a basic course for
          non-programmers. However reviewing the "Learning Actionscript 2.0 in Flash"
          in the online help might be a good resource:
          http://livedocs.macromedia.com/flash/8/main/00001172.html.

          If you have some understanding of programming and are trying to see how
          variables are implemented in Flash try
          http://livedocs.macromedia.com/flash/8/main/00001192.html.

          --
          Lon Hosford
          www.lonhosford.com
          Flash, Actionscript and Flash Media Server examples:
          http://flashexamples.hosfordusa.com
          May many happy bits flow your way!
          "sbryner" <webforumsuser@macromedia.com> wrote in message
          news:e6k0a6$6m7$1@forums.macromedia.com...
          Hello,

          Is there a place on the WWW. that explains flash variables well?
          I need clarification on it. It seems like it so simple everybody gets it
          but
          me....
          Here's what I think I understand to be true:






          var varName; // creates a container named "varName"
          (also)
          Var varName:NewVar = New Var // I've seen this through some video
          tutorials but don't understand what
          this line is
          creating?
          what is :NewVar= New Var doing? What would this be
          used for I guess...?

          myButton_mc.onRelease = function () { //creates a
          function
          varName = "Bruiser"; //
          fills
          the container with a variable..."Bruiser"
          textBox = varName; //
          would
          this fill a dynamic text box with "Bruiser"?
          myClip_mc = varName; // would
          this
          change the _mc from myClip to a clip

          called "Bruiser"
          };

          is varName now a global variable?
          any clarification or a great place to help learn variable basics would be
          great.

          Thanks,

          Sky


          • 2. Re: Learning Variables
            sbryner Level 1
            thank you