Question

Saving Screen shot to server as image file

Asked by: micamedia

I have a flash application the lets the user create their own image. At the end of this application the image is displayed on the screen. It is dyanmically generated based on multiple variables.

What i want to do is have flash take a screen shot of this dynamic generated image, and then save the image as a .jpg file to the server.

How can i do this?

We can use php on the server if needed (if it's something that flash cannot do alone).

If you need more information please ask me whatever you need to know.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-01-30 at 11:32:54ID20489892
Tags

jpg

Topic

Adobe Flash

Participating Experts
7
Points
0
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Screen shots
    Hi, I'm trying to paste a screen shot into an AppleWorks document, I've figured out to usge COmmand-Shift-4 to take the shot I want, but how do I paste that shot into my AppleWorks document? Thank you.
  2. Screen shot
    How do i make a screen shot in XP? Has Word installed.
  3. screen shot
    How do I make a screen shot of my opened terminal? I know that both KDE and GNOME have utilities to take screen shots of whole screen, however I need just screen shot of my terminal or certain predefined area of my screen. I do not want to make screen shot of whole desktop a...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: rascalpantsPosted on 2003-01-30 at 12:30:39ID: 7848499

I hate to be the person to say this too you, but there is no way to output a JPEG from a server...  You can only use the Flash application to turn a .fla into a .jpg....

I could help you out with trying to dynamically create a PDF from Flash using PHP and FPDF...


It would involve the sending of variables from the Flash application to a PHP page that will output to the server and/or to the screen...


let me know if you have any question...


rp

 

by: micamediaPosted on 2003-01-30 at 12:37:04ID: 7848546

the flash page is running on the server. Why can't it someout write an image to the server? There HAS to be a way to do this. There are flash application out there that let users send "ecards", which save the resulting image on the server.

So.. we have the html file running the flash page.. there has to be a way to get the image from the flash application to a .jpg on the server. We can use php.

So.. how do we do this?. There is always a way to do anything.

 

by: rootdirPosted on 2003-01-30 at 14:02:44ID: 7849117

Try with MMSave function. I han't tried on server but it works when I run localy

Check these URLs for more info.

http://www.flashguru.co.uk/000041.php
http://chattyfig.figleaf.com/flashcoders-wiki/index.php?MMSave

RootDir

 

by: PeterWithamPosted on 2003-01-31 at 05:10:17ID: 7852700

Hi,

   I think you'll find a lot of those ecard sites use things like Flash Generator on the server to handle many of the personal aspects of the card. I'm not saying they all do, but many do. I'm gonna go with rascalpants on this one, I don't see how you can output a file to the server without some kind of third party intervention other than just a swf file.

Regards,
Peter Witham

 

by: rascalpantsPosted on 2003-01-31 at 07:17:10ID: 7853645

those email card companies are not sending out jpegs to people they are sending out dynamic copies of shockwave files.  

and the links above that rootdir provided only save a .swf to the hard drive of a local machine(have not tested on server myself either).

To answer your question, you CANNOT create/save/export a jpeg from a .swf on a server or even on a local machine.

If you can use a swf instead, then you might be able to use the MMSave function mentioned above, but you cannot do what you asked for in your above question.

Is using a SWF instead an option?

rp

 

by: micamediaPosted on 2003-01-31 at 08:34:39ID: 7854287

i don't see why I can't use an .swf file... that would work just fine.

I'll have to try this out.

 

by: rootdirPosted on 2003-01-31 at 09:57:41ID: 7854833

This may not be final solution, but at least it will guide you in that direction. Let us know is that workout for you? meanwhile I will try to find more on this.

RootDir

 

by: rootdirPosted on 2003-02-01 at 15:39:07ID: 7860886

any success?

Rootdir
God bless Columbia crew members

 

by: micamediaPosted on 2003-02-01 at 20:46:40ID: 7861670

i'm still looking into it.. i will be sure to post more when i find out what works.

 

by: micamediaPosted on 2003-02-01 at 20:46:40ID: 7861671

i'm still looking into it.. i will be sure to post more when i find out what works.

 

by: kilo9Posted on 2003-02-02 at 21:50:55ID: 7865892

To create an image via flash, the best way is to use generator.

 

by: PeterWithamPosted on 2003-02-03 at 09:41:38ID: 7869146

One way you could do it that I thought of is to switch to Shockwave and use Director. That has some very nice imaging lingo that allows you to do all sorts of things with images. And you can screen grab with it too although I don't know if you can do that online.

Regards,
Peter Witham

 

by: burtdavPosted on 2003-04-05 at 23:23:04ID: 8277873

You should at least be able to pass the variables that are needed to generate the image to the server, and have another Flash program running on the server generate the image and save the picture using rootdir's MMSave or something like that.

 

by: Computer101Posted on 2003-04-06 at 08:08:12ID: 8278834

A request for deletion has been made.  If no response or you feel this is in error, comment.  If no objection, I will delete in three days.

Computer101
E-E Admin

 

by: MindphaserPosted on 2003-04-10 at 08:55:52ID: 8307194

Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **

 

by: rascalpantsPosted on 2003-04-10 at 11:07:54ID: 8308159

I wish the email notification was working properly, I would have objected to having this one deleted...

I think the question was ansered.

just because the answer was not a favorable one, does not mean that the answer was incorrect.


I have only received a few emails in the past week.  Please fix your system, so I don't have to go back and check every single one just to see if someone made a comment!


this was a huge way of time!


rp

 

by: micamediaPosted on 2003-04-10 at 11:13:35ID: 8308205

your probably right.. you did say there was no way of doing it.. and there really isn't.. sorry about that..

as for the system not working.. i get all my emails.. there must be a problem with your account..

however.. when there is no way of doing something i don't think it deserves the same amount of points for an answer that says how to do it.. i do feel it deserves some points.. there should a 3rd options to give someone point who says there is no way of doing what's asked when that is in fact the truth..

hopefully they can fix your accounts, because i find experts exchange to be of great help..

anyways it shouldn't be about getting the points.. just about helping people out.. points don't mean to much to me.

 

by: PeterWithamPosted on 2003-04-10 at 11:24:46ID: 8308283

I agree with Rascalpants on this and micamedia.

    I have to agree with Rascalpants, just because an answer is not the expected/wanted answer it does not make it wrong. Having just finished helping on a thread that has taking an awful lot of my time and effort to get to the end off, I'd hate to think that it was all for nothing. And I don't mean the points, they really are secondary to everyone around here I think. But time and effort to know whether something helped someone or not is important to know. It's not anyone's fault if an app or method does not do as wanted, if they all did there would be a lot less questions around here lol.

   Also I have to agree with micamedia, a 3rd option on the points seems like a good idea. Kinda of a 50/50 option or something for results that did not work due to technical issues beyond anyone's control maybe?

Regards to all,
Peter Witham

 

by: micamediaPosted on 2003-04-10 at 11:34:27ID: 8308357

by the way. just so everyone knows what i did end up doing. was this..

- i didn't export a screen shot..
- flash exported the variables needed to recreate the drawing on the screen (it was vector art produce by the user)..
- i saved the vars in a database.
- when the user came back.. i loaded up these vars, and the flash application drew the image back.

it worked, but would have been easier if flash let you export a screenshot of itself.. but it doesn't i guess.

 

by: rascalpantsPosted on 2003-04-10 at 11:46:17ID: 8308463

I don't agree about the points issue at all!  

Here is an analogy for you:

The brakes on my car are not working properly.  I know it will cost me $50 to get them looked at and fixed.  So I take the car in and after a few hours of work the mechanic tells me that he can't fix my car because the parts are no longer available.  I get mad and leave without paying.

Then next day I get a letter telling me that that mechanic is suing me for the $50, because he did the work and was not paid. Even though I did not like hearing my problem could not be fixed, I should still pay him the $50.  And I can't tell everyone in town that he is a bad mechanic, because even though I did not like the solution, his work was done in the best way humanly possible.


Now we have our little situation here.  I tell micamedia that you can't do what he wanted(and other solutions were provided as well), and he goes off and deleted the question.  Now I feel that I or someone else on this board deserves the points for this question, and an A grade for having the knowledge to know that the problem can't be solved that way.  You can't go around asking questions on these boards and deleting them just because you don't like that a solution cannot be found.


I could have gone to a cheaper mechanic(offered less points) but I would still have to pay the price for the service.


The points are a way of paying for or even thanking the experts on these boards for the Charitable time they spend helping solve problems.


This question should not have been deleted, and I think that the points should be awarded.


I gave you the first correct answer to your question, so I think I deserve the points.  Even if you would have given the points to someone else, at lease you would be paying for the service.


great!  now I'm mad!  better go get a milk shake to cool off!


RASCALPANTS

 

by: rascalpantsPosted on 2003-04-10 at 11:50:34ID: 8308508

yeah, sounds like you went a bought a new car!

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...