A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Print button in exe projector...

  1. #1

    Print button in exe projector...

    Hi All,

    Is it possible to create a print function/button in an exe projector file?

    I have used the javascript which works fine in the swf of my project, but if I create my project as an exe file it does not work.

    I have also downloaded the SWiSHstudio, but that doesnt have printing from the menu selection maybe its not possible ???

    Many thanks,
    Dean

  2. #2
    Senior Member Lys12's Avatar
    Join Date
    Feb 2001
    Location
    Munich, Germany
    Posts
    5,237
    hi,

    try:

    on (release) {
    print();
    }

  3. #3
    Hi Lys12,

    just tried, does not work when I export exe projector but is ok as an swf

  4. #4
    Senior Member Lys12's Avatar
    Join Date
    Feb 2001
    Location
    Munich, Germany
    Posts
    5,237
    hmmm. what happens when you launch the swf and create a projector in flash player?

  5. #5
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    print won't happen it projectors...

    Because it's javascript as projectors don't run from
    the browser they don't have the ability to access
    javascript commands.

    Most of the major 3rd pary apps have fs commands
    that will allow for print.

    (SWF Studio, Swish Studio etc)

    There might be an alternative with flash projector
    I'm not aware of that allows for a print screen.

    Ergo I'll split this and send it to S & A
    See what they come up with.

    Frets

  6. #6
    Senior Member Lys12's Avatar
    Join Date
    Feb 2001
    Location
    Munich, Germany
    Posts
    5,237
    happens perfectly in my sample.exe

    anyone want to look at the file?

  7. #7
    ok

    Is your sample.exe from the SWiSHmax export or made with SWiSHstudio?
    Can I have a looky please

  8. #8
    Senior Member Lys12's Avatar
    Join Date
    Feb 2001
    Location
    Munich, Germany
    Posts
    5,237
    since it's too big to attach (as usually with swfs converted to exe), i've uploaded it:

    http://www.msnrd.de/print.zip

    i've used the "export to exe" feature in swishmax. let me know if it works for you.

  9. #9
    I have tried

    on (release) {
    print();
    }

    again as per your file, only this time I removed another script from my button I had on rollover and it works fine. I shall have to re-think the other functions that the button does.

    Many thanks for your kind help.
    Dean

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