4 Replies Latest reply on Jul 21, 2013 2:33 PM by Sean_Wilson

    How i can send variable value from one movie to other movies

    200x200

      Hi

      i have

       

      main.dcr

      movA.dcr

      movB.dcr

       

      how i can send for exam a=500 to movA and movB and use it

       

      I put this code in frame 1 of  main.dcr

       

      global a

      on enterFrame me

        a = 201

      end

       

       

      and put this cod in frame 1 of movA.dcr

       

      on enterFrame me

        if a = 200 then

          go to next

        else

          halt

          end if

      end

       

      but these cods do not work!

       

      i think it must go halt and exit from movA.dcr but it continiue working.

       

      I want movA and movB catch a from main.dcr and if a = x (x evry we want) then movA and movB work and else exit from director movie.

       

      Message was edited by: 200x200