A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Printing one frame only?

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    24

    Printing one frame only?

    Hi

    Is it possible to target just one frame of a movie clip using:

    on (release) {
    print("print_mc", "bmovie");
    }

    print_mc is a movie clip containing many frames all labeled #p, so that they will be printed. What if I only wanted to target one frame to be printed, is that possible?

    Thanks in advance

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    I beleive you can set frame labels dynamically if using as3, but I still haven't gotten into that yet... here's a similar post
    http://board.flashkit.com/board/showthread.php?t=405230

    There may be other workarounds though, can you explain what this is for? For example you could have one movieclip offstage then copy your frames into it in a long list as called upon, then just print that mc
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Junior Member
    Join Date
    Apr 2006
    Posts
    24
    Thanks for the reply.

    A client has asked me to make an online, flash version of his brochure.
    On the top of each page, there are 2 buttons. 'Print all' and 'Print this page'.

    The way it's working so far is that there is one mc that contains each page of the brochure on a separate frame, I will print them like this:

    on (release) {
    print("printAll_mc", "bmovie");
    }

    As for printing individual pages, I've started creating each page as a separate mc, so they can be targeted separately, for example:

    on (release) {
    print("printPage2_mc", "bmovie");
    }

    This is working fine, but as there are 100's of pages it's gonna be a long boring task, also each instance of the 'Print this page' button will have to have an edited actionscript to point to the correct page. Was hoping there was a better way?

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