A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Printing

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    9
    Hi everybody,
    I need to print something from flash can someone help me pls.
    thanks in advance

  2. #2
    Senior Member unicycle's Avatar
    Join Date
    Mar 2000
    Posts
    254
    did you try this?

    Get URL ("javascript:window.print()")

  3. #3
    Junior Member
    Join Date
    Aug 2000
    Posts
    9

    resolved print

    Hi Unicycle,
    My wish was to print content of flash but without printing background color of flash just content.

  4. #4
    Senior Member unicycle's Avatar
    Join Date
    Mar 2000
    Posts
    254

    Re: print

    I know you can do that in html by adding a parameter.
    But if you use images as background I don't think it's possible to split the layers.
    Are you using a img as background or only a color?

  5. #5
    Senior Member unicycle's Avatar
    Join Date
    Mar 2000
    Posts
    254

    transparant

    You have'nt reply but here is the final code (I hope).
    Make a movie with a black background.
    Publish your movie as transparant.
    The html will have #000000 in the body tag.

    Then in the swf the print button looks like this:
    get URL ("javascript:document.bgColor='white';javascript:w indow.print();")

    Now the background will become white before you start printing.

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