1 Reply Latest reply on Apr 24, 2014 4:27 AM by hemanthR

    Running functions

    justincode Level 1

      Hi All...


      If i have a function within the stage in "composition ready" and i want to call that function to execute it from a symbol outside of "composition ready" how would i go about this...


      at the moment the only way i can call functions sucessfully from anywhere in my composition is to have the function loaded into global code but this is causing problems else were in my composition....


      as usual.. many thanks!!!!

        • 1. Re: Running functions
          hemanthR Adobe Employee

          In composition ready if you have function defined as

          sym.myFunction = function(str){




          You call it from within a symbol like



          ON stage timeline you can call this as '



          Bascially you need to reference to stage timeline


          This will not work if you call from symbol's creation complete event,as a symbol's creation complete is trigerred before ,composition ready.

          1 person found this helpful