Export as EPS (vector drawing) from a Flash movieclip

  • (2 Pages)
  • +
  • 1
  • 2

23 Replies - 41303 Views - Last Post: 08 August 2009 - 12:43 PM

#1 muso  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 51
  • Joined: 06-July 07

Export as EPS (vector drawing) from a Flash movieclip

Posted 21 August 2007 - 06:44 AM

I'd like to check the feasibility of taking user generated output from a Flash movieclip (text and basic shapes to begin with), and output the content either directly to an EPS compatible file, or to a format that can be converted to EPS.

I know how to output data from Flash to make a bitmap file (reading the data pixel by pixel) and send the data to PHP to process it, but this is for signwriting so the output needs to be either a very high resolution (probably causing bandwidth problems) or scalable.

Does anyone here know of any options that I could check out?

Thanks in advance.

This post has been edited by muso: 22 August 2007 - 12:41 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Export as EPS (vector drawing) from a Flash movieclip

#2 muso  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 51
  • Joined: 06-July 07

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 22 August 2007 - 12:44 AM

Another line of thought that I've just had is whether it's possible to export to a FLA, or if it's possible to save data from the movieclip so that it can be recreated in Flash so I can use the export image to EPS option there.

Does anyone have any ideas?
Was This Post Helpful? 0
  • +
  • -

#3 CyanBlue  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 6
  • View blog
  • Posts: 156
  • Joined: 01-September 06

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 24 August 2007 - 12:16 PM

I'd love to be proven wrong, but I don't think any of those are possible yet...
Was This Post Helpful? 0
  • +
  • -

#4 muso  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 51
  • Joined: 06-July 07

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 24 August 2007 - 01:48 PM

View PostCyanBlue, on 24 Aug, 2007 - 12:16 PM, said:

I'd love to be proven wrong, but I don't think any of those are possible yet...


Exporting to a bitmap certainly is possible with getPixel, and that could be batch traced with an application, but this has technical limitations (although perhaps not prohibitively so...).

My feeling is that the only other way to do it with Flash is to only use the SWF to preview the drawing to the user when they design it, and to send back information on all of the text and shapes used and attributes like size, rotation, position and colour, and from that recreate the vector image from those attributes either: by hacking the information somehow into a SWF or FLA (SWFs can be created on the fly, but I don't know much about this process), and then export as an EMF; or to use another drawing package or other application and somehow automate using the information exported from Flash.
Was This Post Helpful? 0
  • +
  • -

#5 DilutedImage  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 14
  • View blog
  • Posts: 646
  • Joined: 20-November 06

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 26 August 2007 - 01:09 AM

Well, you've certainly created quite a challenge! I think the key to executing this challenge is an understanding of the file-type you wish to write to. Without knowing how the file-type describes a shape, you can't know what data to send to the server.

However, I think what you've stated in your last post is the way to approach this problem. It would be very easy to save the object parameters out to a text file or database, and then read them back in to another Flash program that utilizes Flash's printing capabilities.
Was This Post Helpful? 0
  • +
  • -

#6 muso  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 51
  • Joined: 06-July 07

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 26 August 2007 - 03:41 AM

View PostDilutedImage, on 26 Aug, 2007 - 01:09 AM, said:

Well, you've certainly created quite a challenge!


Thanks :) The challenge is what I love about programming; it makes the accomplishment that much more satisfying.

View PostDilutedImage, on 26 Aug, 2007 - 01:09 AM, said:

...and then read them back in to another Flash program that utilizes Flash's printing capabilities.


Now, that wasn't an option that I'd actually considered! I think it's worth investigating if that's a viable option, thanks. :D

I'll post back later in the week, and update on how I'm getting on. In the meantime, any other suggestions would be most welcome.
Was This Post Helpful? 1

#7 pioSko  Icon User is offline

  • still.dreaming
  • member icon

Reputation: 23
  • View blog
  • Posts: 1,888
  • Joined: 06-June 03

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 28 August 2007 - 03:59 AM

Noting is impossible.. you just need the right tools I guess.

My train of thought on this topic goes like this:

1. All content inside the SWF can be tracked (ie. co-ordinates, size, colour)... Therefore that info can be output(ed?).
2. If info needs to be output then it's better to create it dynamically (AS) and all data stored automatically in a variable ready for output.
3. Will most probably need to send to PHP or similar.
4. External code (PHP, ASP etc) converts to EPS. We know that PHP can do PDF without a hiccup, so why not EPS??
5. PDF's save vector information... EPS similar to PDF... Export of Flash vectors POSSIBLE to EPS IF external software allows.
Was This Post Helpful? 0
  • +
  • -

#8 muso  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 51
  • Joined: 06-July 07

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 28 August 2007 - 04:22 AM

Thanks again. I still need to find if Flash printing will help, but I know that they will want to output to a vector format of some kind also. At the moment I'm experimenting to see if I can get SVG output that resembles text in Flash - something not too dissimilar to one of these:

http://www.mainada.net/inputdraw
http://www.artificia.../flash2EPS.html

Incidentally, I'm trying out with SVG because it seems to be an open format, and perhaps is more flexible. At this point, I'm still unsure which is the better option to go for: EPS or SVG.
Was This Post Helpful? 0
  • +
  • -

#9 pioSko  Icon User is offline

  • still.dreaming
  • member icon

Reputation: 23
  • View blog
  • Posts: 1,888
  • Joined: 06-June 03

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 28 August 2007 - 06:48 AM

SVG is a good idea, actually.
However, what do you intend to use the EPS/SVG for?

If for print, then SVG won't cut it. I've tried open software that worked with SVG but had problems with colour and printer support.
Was This Post Helpful? 0
  • +
  • -

#10 muso  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 51
  • Joined: 06-July 07

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 28 August 2007 - 07:05 AM

View PostpioSko, on 28 Aug, 2007 - 06:48 AM, said:

SVG is a good idea, actually.
However, what do you intend to use the EPS/SVG for?

If for print, then SVG won't cut it. I've tried open software that worked with SVG but had problems with colour and printer support.


With SVG my thoughts were that it was a means to get something out - i.e. thinking that they could (batch) convert it to AI or EPS (these are formats that they know that they can work with).

To answer your other question, it isn't so much for printing as it is for cutting (masks), so any curves need to be exact, and shapes can't have an incomplete border; it's for creating signs and basic adverts for vehicles, so accuracy in the scaling is rather important. I haven't yet seen the process in action, which would probably help.

What kind of problems have you encountered printing with SVG?
Was This Post Helpful? 0
  • +
  • -

#11 pioSko  Icon User is offline

  • still.dreaming
  • member icon

Reputation: 23
  • View blog
  • Posts: 1,888
  • Joined: 06-June 03

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 29 August 2007 - 04:43 AM

Incorrect colours.
Printers not compatible. (that's what I was told at the printers).
Once I had artifacts... badly redrawn elements.
Was This Post Helpful? 0
  • +
  • -

#12 muso  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 51
  • Joined: 06-July 07

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 29 August 2007 - 05:05 AM

View PostpioSko, on 29 Aug, 2007 - 04:43 AM, said:

Incorrect colours.
Printers not compatible. (that's what I was told at the printers).
Once I had artifacts... badly redrawn elements.


Thanks for the head's up :)

Nice site, btw ;)
Was This Post Helpful? 0
  • +
  • -

#13 pioSko  Icon User is offline

  • still.dreaming
  • member icon

Reputation: 23
  • View blog
  • Posts: 1,888
  • Joined: 06-June 03

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 29 August 2007 - 05:15 AM

lol thanks.. it has too many mistakes.. I have a new idea which I will start soon ;) I'm gonna be looking for more clients soon so it's gotta be top shit.
Was This Post Helpful? 0
  • +
  • -

#14 pioSko  Icon User is offline

  • still.dreaming
  • member icon

Reputation: 23
  • View blog
  • Posts: 1,888
  • Joined: 06-June 03

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 05 September 2007 - 04:44 PM

Ive found this that might help you out.

http://deng.com.br/

It parses HTML, CSS, XML etc etc.. AND SVG. Might have a play around with it some time. Looks quite good.

This post has been edited by pioSko: 05 September 2007 - 04:45 PM

Was This Post Helpful? 0
  • +
  • -

#15 Sebarry  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 26-September 07

Re: Export as EPS (vector drawing) from a Flash movieclip

Posted 26 September 2007 - 07:11 AM

Hi,

Just wondering if any new progress had been made on this. The following URL
http://www.isimo.co.uk/tree.html
allows you to create a family tree which needs to be outputted to PDF or EPS. I have looked at Alive PDF but I'm not sure whether that can export a movieclip to PDF.

Any ideas?

Thanks,

Sean

View Postmuso, on 21 Aug, 2007 - 06:44 AM, said:

I'd like to check the feasibility of taking user generated output from a Flash movieclip (text and basic shapes to begin with), and output the content either directly to an EPS compatible file, or to a format that can be converted to EPS.

I know how to output data from Flash to make a bitmap file (reading the data pixel by pixel) and send the data to PHP to process it, but this is for signwriting so the output needs to be either a very high resolution (probably causing bandwidth problems) or scalable.

Does anyone here know of any options that I could check out?

Thanks in advance.

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2