1 Reply Latest reply on Dec 12, 2006 3:38 PM by Newsgroup_User

    How to address an Input Text element in another Scene

    flashgruven
      My initialize code in Scene1:Frame 1 needs to set the values in Input Text elements in Scene2...

      How is that done?

      TIA,
      G
        • 1. Re: How to address an Input Text element in another Scene
          Level 7


          flashgruven wrote:
          > My initialize code in Scene1:Frame 1 needs to set the values in Input Text elements in Scene2...
          >
          > How is that done?

          You can't set something that does not exists on timeline at the moment the
          action is executed. What you can do is dump the variable on the root and keep
          it there. Say the INPUT has variable name "something", you will than do:
          _root.something="string"; and upon entering the second scene, the text field
          will pick it up automatically. Now, if the Input text field is in some movie
          clip, you will need to help it find that string by giving it variable name
          "_root.something" instead of "something" because once in movie clip, it will
          see the string within that clip timeline. _root directs it to the right spot.



          --
          Best Regards

          Urami


          --


          <urami>
          If you want to mail me - DO NOT LAUGH AT MY ADDRESS
          </urami>