Click to See Complete Forum and Search --> : Copying Flash/SWF movie in ASP to Word
palm16
02-03-2004, 08:39 PM
Hi everyone!
I embeded a swf movie (basically it only showed a diagram in there) into my asp page. Now I need to paste the webpage to word. In word, all of the text are displayed properly but the not the diagram; it was became a blank box. Anybody has advise to tackle this problem. Trully appreciate your help. :)
PeOfEo
02-03-2004, 08:41 PM
were you copying the html output or the vbscript into word? This might be a better question for the general section since it seems to not have much to do with asp other then it came from an asp page, it is more of a how can I get word to display this .swf question. What do you thing, would you like me to move it their for you real fast?
palm16
02-03-2004, 08:44 PM
Upppsss sorry.
And thanks for guiding me PeOfEo!
I appreciate if you can move me to the right forum.
:)
PeOfEo
02-03-2004, 08:50 PM
Alright, I just though you might get your help a little faster that way. Its not like you were breaking a rule, or anything.
Aronya1
02-04-2004, 08:27 PM
Try doing a screen print, then pasting into Word.
metallibanger
02-04-2004, 08:31 PM
Originally posted by Aronya1
Try doing a screen print, then pasting into Word.
Yip, Word can't display swf files, so you'll need to hit 'print screen' on your keyboard, paste the image into an image editing program, and crop it down to whatever you want. Then you can put the jpg in Word.
Andy Oliphant
A&M Design Studios
palm16
02-04-2004, 08:40 PM
Aronya1 & metallibanger, thank you for your advice. But actually, I need the end-user to be able to copy my swf movie to Word if they want to. So, I'm thinking of using GDI. Does anyone know how to capture this swf movie into picture in GDI? Thanks.
Aronya1
02-04-2004, 08:46 PM
What's GDI?
palm16
02-04-2004, 08:53 PM
GDI: graphics device interface. I got this description from MSDN: "GDI enables applications to use graphics and formatted text on both the video display and the printer." But this would be a very complicated step & need to be done in .NET environment itself. Or you can read about it in MSDN with this link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_5a5h.asp
Thank you
metallibanger
02-04-2004, 09:01 PM
Why does it need to go into Word? And why does it need to stay swf format if it's a static image? If your client is going to be using this as a presentation an html file would work just as well I suppose.
Andy Oliphant
A&M Design Studios
Aronya1
02-04-2004, 09:05 PM
You're still not going to be able to embed the swf file into Word (what it sounds like you want to do). Want to let us in on the whole picture?
palm16
02-04-2004, 09:28 PM
Sorry to confuse you guys, so here's the clarification: I am creating a website with asp.net & has flash movie embeded on it. On IE, the user will be able to create a diagram dynamically inside the flash movie. And when the user is done creating this diagram, I want the user to have the option to copy-paste the resulting diagram or picture shown on the screen (not the swf file) into Word. I have print button available... but I want the user to be able to copy-paste (for example to Word) and save their work from there. I appreciate any advice you can give me. Thank you.
PeOfEo
02-04-2004, 09:50 PM
If you had said that before I never would have moved this lol. If this drawing, is it more of a chart or an actual drawing, because you could just save the numbers and then use system.drawing.
Aronya1
02-04-2004, 10:01 PM
Sounds like you're assuming a certain level of computer literacy from your users. Maybe somebody can suggest some way to pass the resulting image to another page, where it would be displayed as a gif file or something, which they could copy & save. Or maybe pass it to an email?
PeOfEo
02-04-2004, 10:04 PM
Thats what I was suggesting above :p. Passing the numbers into a data base then redrawing it as a regular image.
palm16
02-04-2004, 10:05 PM
Yes!!! Aronya1 you got the idea. It's pretty chalenging task here.
I don't mind you're moving me PeOfEo ;) I've been doing research for like 2 days but still cannot find a good solution anyway :(
PeOfEo
02-04-2004, 10:19 PM
Well you still have not told us what you are having them draw. If its a chart this will be easy. If not, we have a problem on our hands.
palm16
02-04-2004, 10:27 PM
oh, actually it's more like a chart than a drawing. Thank you for your idea of system.drawing. And right now, I trying to use that GDI approach, which will capture the image & hopefully will save the chart/image (as JPEG or GIF) so that it can be displayed on another window & allow the user to copy-paste it.
PeOfEo
02-04-2004, 10:33 PM
well if you can log the values of the chart into a data base you might consider something like on this thread. http://forums.webdeveloper.com/showthread.php?s=&threadid=22182