2 Replies Latest reply on Jul 8, 2006 1:10 AM by flashguy3123

    print button A:S help..

      ok this has been making me very angry ive searched everywhere and only found this code
      _root.print.onRelease = function() {
      var pri = new PrintJob();
      pri.paperWidth = 800;
      pri.paperHeight = 600;
      and the other people typed up that it worked for them so why not for me?
      and i keep getting this error
      **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on handler
      _root.print.onRelease = function() {

      Total ActionScript Errors: 1 Reported Errors: 1

      how do i fix it and they also said i needed to name the instance printer and i did and yes i spelled it right.. so whats the deal? why am i getting this error? oh and i am also using flash 8 can someone please help me..