2 Replies Latest reply on Oct 16, 2012 10:49 PM by Vamitul

    Getting a reference to a placed object

    Vamitul Level 4

      my code:


      var myApplicationEventListener = app.eventListeners.add("afterImport", myEventInfo);
      function myEventInfo(myEvent){
      var myImportedObj=????????? ///HELP!!! 
      if (myImportedObj.constructor.name=="Story")
      function processStory(myStory){
      //blah blah blah blah
      //blah blah blah blah



      how cand i get that myImportedObj?? the parent and the target of the event is "Document".