1 Reply Latest reply on Dec 19, 2007 4:57 PM by Twinbird24


    Rajesh Kaki Level 1


      How can i send data and load data continuosly without using any event in between.

      Thanks in advance
        • 1. Re: Loadvars
          Twinbird24 Level 1
          To do this you can use an action called enterFrame
          for example, you can add this action to a frame:

          onEnterFrame = function() {
          loadVariables(myVar.txt, _root.myDynamicTextField);

          //all the actions within the enterFrame function will be executed once every frame (if FPS = 12, the actions will occur ever 12 times a second). This example loads the variables in the text file myVat.txt into a dynamic text field on the stage with will display my variable.