0 Replies Latest reply on Mar 12, 2013 6:51 AM by Bill joy

    Movie posterFile is not set

    Bill joy

      Hi Experts

      I want to set Movie posterFile but it not set, It take default from Movie.

      How set posterFile ?

      my script is :

       

      var myDocument = app.documents.add();

      var myDocument = app.documents.item(0);

      var myPage = myDocument.pages.item(0);

      var myFrame = myPage.rectangles.add({geometricBounds:[72, 72, 288, 288]});   

      var myMovie = myFrame.place(File("/c/movie.avi"))[0];

      myMovie.moviePosterType=1299216505;//For PROXY_IMAGE

      // myMovie.moviePosterType=1298558310;//For Movie

      myMovie.posterFile = File("/c/movie poster.jpg");

       

       

      Thanks.