A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Print Function from a CD-rom

Threaded View

  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    51

    Print Function from a CD-rom

    Hello,

    I'm trying to get the print function to work from a CD projector app.
    The function works fine when the swf is on its own, but when called up into the app the dialogue box appears complete but without the text on it.

    This is the scrip I'm using:
    function showPrintDialog(target,type,frames){
    var initObj = {
    _x : movieWidth/2,
    _y : movieHeight/2,
    target: target,
    bType: type,
    printFrames: frames
    };
    _root.mc_holder.attachMovie("printWindow", "printWindow", 50, initObj);
    }

    function printProceed(target,type){
    switch(type.toLowerCase()){
    case "bmovie":
    print(target,"bmovie");
    break;
    case "bmax":
    print(target,"bmax");
    break;
    case "bframe":
    print(target,"bframe");
    break;
    }
    }
    #include "getMovieSize.as"


    As I say the print function works, but the dialogue doesn't show up any text only the icons?
    Any clues?
    Last edited by tabus; 06-04-2010 at 04:25 AM.

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