A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: IOError to catch a canceled print job

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    113

    IOError to catch a canceled print job

    I want to make some buttons invisible until the print job is done. So I have simply set the alpha to 0 when the print button is clicked. At the end of the printjob I want the exit button to be visible again. I have a 2 second timer that sets the alpha back to 100. It works fine when someone actually prints, but if someone hits the print button and then cancels without printing, the timer never fires. I was looking for a way to catch the canceled print. The following doesn't work. Any help would be appreciated. Thanks.



    PHP Code:
        myPrintJob.addEventListener(IOErrorEvent.IO_ERRORprintfail);
        function 
    printfail(e:IOErrorEvent):void {
            
    remember_exit.alpha=100;
        } 

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    113
    Any help, advice, suggestions would be greatly appreciated. Thanks.

  3. #3
    Senior Member
    Join Date
    Apr 2002
    Posts
    113
    I'm still hoping someone will point me in the right direction.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center