12 Replies Latest reply on Sep 28, 2006 7:58 AM by Newsgroup_User

    Screenshot

    stiky
      I've got this Snowman building game.

      http://www.stik.biz/snowman.html

      and I think it'd be neat if I could have a button that people could click to take a screenie of the snowman they made. How would I approach this?

      Many thanks for you time
        • 1. Re: Screenshot
          Level 7
          stiky,

          > I've got this Snowman building game.
          >
          > http://www.stik.biz/snowman.html

          Cute.

          > and I think it'd be neat if I could have a button that people
          > could click to take a screenie of the snowman they made.
          > How would I approach this?

          Flash doesn't support capturing screen shots. You can tell people to
          hit their Prt Scrn (Print Screen) key on the keyboard. Other than that, you
          could use ActionScript to programmatically note the position of each dragged
          movie clip, then re-assemble that configuration again later -- but that's an
          advanced topic and would require storage of the data somewhere.


          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."


          • 2. Re: Screenshot
            Nickels55 Level 2
            Our community spammer would probably suggest:

            http://www.flashjester.com/?section=tricks_jtools_jprintor

            I have no how good it is, but the creators lurk here so maybe they'll chime in later.
            • 3. Re: Screenshot
              Level 7
              Nickels55,

              > Our community spammer would probably suggest:
              >
              > http://www.flashjester.com/?section=tricks_jtools_jprintor

              lol

              > I have no how good it is, but the creators lurk here so
              > maybe they'll chime in later.

              It's important to note that the above product works with Projectors, not
              with SWFs embedded in a web page. Seeing that reminded me, though, that
              while screenshots aren't supported by Flash natively, you can certainly
              *print* from Flash -- so maybe that's an option. See the PrintJob class in
              the ActionScript 2.0 Language Reference for details.


              David Stiller
              Adobe Community Expert
              Dev blog, http://www.quip.net/blog/
              "Luck is the residue of good design."


              • 4. Re: Screenshot
                Level 7
                ;)

                Funny guy.


                --
                Regards
                FlashJester Support Team
                e. - support@flashjester.com
                w. - http://www.flashjester.com

                There is a very fine line between "hobby" and
                "mental illness."


                • 5. Re: Screenshot
                  Level 7


                  Nickels55 wrote:
                  > Our community spammer would probably suggest:

                  That's lame thing to say. They provide tools to overcome flash limitations
                  and not just that, allow you to do thing simply impossible to achieve
                  with Flash itself. I have been using Jugglor commercially (and other their tools)
                  for 7 years and they are one of the reasons I'm in business. Being able to offer
                  things other developers can't - again, because flash simply has no way of doing
                  stuff like that. Plus, not to mention they actually answer question on forum,
                  not bluntly advertise their products.

                  I can't see how the "spam" fits in here:
                  -SPAM-
                  To post irrelevant or inappropriate messages to one or more Usenet newsgroups,
                  mailing lists, or other messaging system in deliberate or accidental violation of
                  netiquette.



                  --
                  Best Regards

                  Urami


                  --


                  <urami>
                  If you want to mail me - DO NOT LAUGH AT MY ADDRESS
                  </urami>
                  • 6. Re: Screenshot
                    Level 7


                    stiky wrote:
                    > I've got this Snowman building game.
                    >
                    > http://www.stik.biz/snowman.html
                    >
                    > and I think it'd be neat if I could have a button that people could click to
                    > take a screenie of the snowman they made. How would I approach this?

                    You can place all the draggable items within movie clip. Than use this movie
                    clip instance name to target it as print object.
                    Whatever within will print automatically.
                    You could of course created screen shot but that would be more tedious, involve
                    server side like PHP and a bit of work.

                    --
                    Best Regards

                    Urami


                    --


                    <urami>
                    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
                    </urami>
                    • 7. Re: Screenshot
                      stiky Level 1
                      Thanks for all your help. I wonder if there is a way of having a button below the flash game on the webpage that prompts the command to take a screenie. That would be html language though, so I guess I'll have to search around else where for that.

                      Thanks again.
                      • 8. Re: Screenshot
                        Level 7


                        stiky wrote:
                        > Thanks for all your help. I wonder if there is a way of having a button below
                        > the flash game on the webpage that prompts the command to take a screenie. That
                        > would be html language though, so I guess I'll have to search around else where
                        > for that.

                        Please check the ExternalInterface in your help, there also should be sample in
                        C:\Program Files\....macromedia\flash 8\ samples....

                        The ExternalInterface class is the External API, an application programming interface that
                        enables straightforward communication between ActionScript and the Flash Player container;
                        for example, an HTML page with JavaScript, or a desktop application with Flash Player embedded.






                        --
                        Best Regards

                        Urami


                        --


                        <urami>
                        If you want to mail me - DO NOT LAUGH AT MY ADDRESS
                        </urami>
                        • 9. Re: Screenshot
                          Level 7
                          mProjector adds a screenCapture function to Flash, but it only works in
                          and exe, some people get around this by using something like local
                          connection to talk between the exe and the swf in the browser

                          http://www.screentime.com/software/mprojector/docs/mApp_captureScreen.htm

                          http://www.screentime.com/software/mprojector/docs/


                          On 2006-09-26 09:02:26 -0400, "stiky" <webforumsuser@macromedia.com> said:

                          > I've got this Snowman building game.
                          >
                          > http://www.stik.biz/snowman.html
                          >
                          > and I think it'd be neat if I could have a button that people could
                          > click to take a screenie of the snowman they made. How would I approach
                          > this?
                          >
                          > Many thanks for you time


                          --
                          John Pattenden
                          Screentime Media
                          Flash Screen Saver, Application and Wallpaper tools
                          http://www.screentime.com

                          • 10. Re: Screenshot
                            stiky Level 1
                            Yeah, tis expensive for something that doesn't quite work. Thanks for your efforts though. I appreciate it. :)
                            • 11. Re: Screenshot
                              Nickels55 Level 2
                              Lighten up urami - even the ******* developer knew I was kidding.
                              • 12. Re: Screenshot
                                Level 7
                                hmm, well it works well for thousands of others, if you have a bug then
                                please let us know so we can address it


                                On 2006-09-28 10:23:20 -0400, "stiky" <webforumsuser@macromedia.com> said:

                                > Yeah, tis expensive for something that doesn't quite work. Thanks for
                                > your efforts though. I appreciate it. :)


                                --
                                John Pattenden
                                Screentime Media
                                Flash Screen Saver, Application and Wallpaper tools
                                http://www.screentime.com