Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread Ron Wheeler
Another approach would be to create an XML file that contains the data 
that you want formatted, send it to a server, process it into a PDF 
using FOP from Apache.org. This is a very flexible solution since you 
separate the data from the formatting and the output can be PDF, HTML, 
PCL(HP Printer language) and several others. The destination can be a 
file on the server, a printer or an e-mail address/distribution list.
XML-FO is a well documented standard for describing formatted reports 
and Apache's FOP is free and a fairly complete implementation of the 
XML-FO standard.


Ron


g.wygonik wrote:

Hi Jason

I didn't take any tone from your post - I try to read them as words 
and not
infer things. If you had said that sucks!, I would have taken it 
badly ;-)


From what I've gathered from users who have contacted me to tell me 
how they
use it, there seems to be a lot of fill out this form and we'll 
assemble a

PDF of your choices-type apps. I've seen some impressive full-color
catalogs for big companies created that way. But in these cases, each 
page

is programmatically typeset.

Here's some code that would illustrate how text is added:

mypage = myPDF.setDrawingPage(1);
mypage.setNumberFormat(inches);
mypage.drawString(1,1,myFont1,24,0xff,This is red, 24point text 
at 1

inch over and 1 inch down from the top left);

You can kind-of setup templates by using a Flash movie that is the 
size of

your document (in inches) x 72 (for dpi), and then lay out text areas and
take their locations and use those in your drawString() methods being 
sure

to set the drawing mode to pixels or points.

I hope that helps. I don't want to do too much support or up-front 
info on
Flashcoders, but I figured I'd follow-up this one since others may 
want to

know. I'd prefer to do support and other questions off-list. :-)

g.


On 10/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:


I realized after I sent that my tone didn't appear to good - it looks
like a great product Greg - just trying to figure out how I can use it
for a project. How do most people handle text with it?

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, October 20, 2006 8:41 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Exporting from flash to vector format

So to get text into the PDF you would need to re-draw it somehow?
Hmmm,
might be a showstopper for me, but thanks anyway.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Thursday, October 19, 2006 9:11 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hey Jason (and all)


 Do you know how many PDF pages it can generate (is there a max)?


There is no programmatic limit to the number of pages. While I have
had
users create 20-40 page documents, I haven't had anyone try, say,
9,000
pages. :-)

Will it render out dynamic textfields in the positions they are in?


No. Not exactly. Basically all text is created in the document by
using a
drawString() method. So, you would need to re-draw things into the
PDF. Or,
you could use the component as your main display and only do it
once.
But
it's not take this textfield and pop it into the PDF.

What about HTML text?


Nope.

Can you generate a hardcopy PDF Document or does it just sent the
PDF
 data to a browser window?


It generates a full PDF document into a variable in Flash. So it's
left up
to the developer to either save it to the server, push it to the
client via
the server, or save it locally via Zinc or other projector.

Thanks


No problem. Hope that helps. :-)

g.


--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http

Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread Alain Rousseau
Have you looked at Adobe EPS File  language specification ? You can find 
it  here : http://partners.adobe.com/public/developer/ps/index_specs.html


*Encapsulated PostScript (EPS) File Format Specification Version 3.0* 
#5002 http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf


You should be able to do something with that ...


HTH



Eric Lee wrote:

Howdy list,

I'm looking for a way to export vector data from flash to some sort of a
format that Illustrator can use-svg, ai, eps, etc. Does anyone know how to
do this?

 


Thanks!

-eric

++

 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread Josh Santangelo
Josh Davis demonstrated how to do this at an old Flash Forward  
conference. I don't remember the exact details, but it involved  
printing the SWF as it was running to a Postscript printer driver,  
but having the output save to a PS file rather than actually  
printing. I'm sure the exact process is described on the web someplace.


-josh

On Oct 19, 2006, at 1:51p, Eric Lee wrote:


Sorry, should've been a bit more specific --

I have a swf that is dynamically generating vector data (placing movie
clips, drawing lines, etc. according to predefined algorithms). I'm  
looking
to export data generated from that swf to a vector format, and I  
don't think

copy and paste works for this type of thing. Any recommendations?

Thanks!
-Eric
++

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Glen Pike

Sent: Thursday, October 19, 2006 1:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Copy and paste seems to work if you are using both Flash  Illustrator
at home.  If you have to share with others, Flash will export to a
sensible medium - ai / eps are both available in the Export Image
dialogues, but watch out, I think it exports from the clip you are
editing rather than the main timeline.

Eric Lee wrote:

Howdy list,

I'm looking for a way to export vector data from flash to some  
sort of a
format that Illustrator can use-svg, ai, eps, etc. Does anyone  
know how to

do this?



Thanks!

-eric

++



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Exporting from flash to vector format

2006-10-22 Thread g . wygonik

I always forget that I posted my original EPS drawing experiments to my
lab site (i always forget that i have a lab site). You can check
http://lab.artificialcolors.com/index.php?id=2,0,0,1,0,0 for the Flash2EPS
experiment.

There's a sample SWF and a ZIP file with source. It's a little scattered but
there are some comments in there that should get you going if you want to go
this route. It does work and has been used in that awesome create a
snowflake app from years back, so it might work for you too. :-)

enjoy
g.

On 10/22/06, Josh Santangelo [EMAIL PROTECTED] wrote:


Josh Davis demonstrated how to do this at an old Flash Forward
conference. I don't remember the exact details, but it involved
printing the SWF as it was running to a Postscript printer driver,
but having the output save to a PS file rather than actually
printing. I'm sure the exact process is described on the web someplace.

-josh

On Oct 19, 2006, at 1:51p, Eric Lee wrote:

 Sorry, should've been a bit more specific --

 I have a swf that is dynamically generating vector data (placing movie
 clips, drawing lines, etc. according to predefined algorithms). I'm
 looking
 to export data generated from that swf to a vector format, and I
 don't think
 copy and paste works for this type of thing. Any recommendations?

 Thanks!
 -Eric
 ++




--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Exporting from flash to vector format

2006-10-20 Thread Merrill, Jason
So to get text into the PDF you would need to re-draw it somehow?  Hmmm,
might be a showstopper for me, but thanks anyway.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Thursday, October 19, 2006 9:11 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hey Jason (and all)


 Do you know how many PDF pages it can generate (is there a max)?


There is no programmatic limit to the number of pages. While I have
had
users create 20-40 page documents, I haven't had anyone try, say,
9,000
pages. :-)

Will it render out dynamic textfields in the positions they are in?


No. Not exactly. Basically all text is created in the document by
using a
drawString() method. So, you would need to re-draw things into the
PDF. Or,
you could use the component as your main display and only do it once.
But
it's not take this textfield and pop it into the PDF.

What about HTML text?


Nope.

Can you generate a hardcopy PDF Document or does it just sent the PDF
 data to a browser window?


It generates a full PDF document into a variable in Flash. So it's
left up
to the developer to either save it to the server, push it to the
client via
the server, or save it locally via Zinc or other projector.

Thanks


No problem. Hope that helps. :-)

g.


--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Exporting from flash to vector format

2006-10-20 Thread Merrill, Jason
I realized after I sent that my tone didn't appear to good - it looks
like a great product Greg - just trying to figure out how I can use it
for a project. How do most people handle text with it?  

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, October 20, 2006 8:41 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Exporting from flash to vector format

So to get text into the PDF you would need to re-draw it somehow?
Hmmm,
might be a showstopper for me, but thanks anyway.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Thursday, October 19, 2006 9:11 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hey Jason (and all)


 Do you know how many PDF pages it can generate (is there a max)?


There is no programmatic limit to the number of pages. While I have
had
users create 20-40 page documents, I haven't had anyone try, say,
9,000
pages. :-)

Will it render out dynamic textfields in the positions they are in?


No. Not exactly. Basically all text is created in the document by
using a
drawString() method. So, you would need to re-draw things into the
PDF. Or,
you could use the component as your main display and only do it
once.
But
it's not take this textfield and pop it into the PDF.

What about HTML text?


Nope.

Can you generate a hardcopy PDF Document or does it just sent the
PDF
 data to a browser window?


It generates a full PDF document into a variable in Flash. So it's
left up
to the developer to either save it to the server, push it to the
client via
the server, or save it locally via Zinc or other projector.

Thanks


No problem. Hope that helps. :-)

g.


--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Exporting from flash to vector format

2006-10-20 Thread g . wygonik

Hi Jason

I didn't take any tone from your post - I try to read them as words and not
infer things. If you had said that sucks!, I would have taken it badly ;-)


From what I've gathered from users who have contacted me to tell me how they

use it, there seems to be a lot of fill out this form and we'll assemble a
PDF of your choices-type apps. I've seen some impressive full-color
catalogs for big companies created that way. But in these cases, each page
is programmatically typeset.

Here's some code that would illustrate how text is added:

mypage = myPDF.setDrawingPage(1);
mypage.setNumberFormat(inches);
mypage.drawString(1,1,myFont1,24,0xff,This is red, 24point text at 1
inch over and 1 inch down from the top left);

You can kind-of setup templates by using a Flash movie that is the size of
your document (in inches) x 72 (for dpi), and then lay out text areas and
take their locations and use those in your drawString() methods being sure
to set the drawing mode to pixels or points.

I hope that helps. I don't want to do too much support or up-front info on
Flashcoders, but I figured I'd follow-up this one since others may want to
know. I'd prefer to do support and other questions off-list. :-)

g.


On 10/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:


I realized after I sent that my tone didn't appear to good - it looks
like a great product Greg - just trying to figure out how I can use it
for a project. How do most people handle text with it?

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, October 20, 2006 8:41 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Exporting from flash to vector format

So to get text into the PDF you would need to re-draw it somehow?
Hmmm,
might be a showstopper for me, but thanks anyway.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Thursday, October 19, 2006 9:11 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hey Jason (and all)


 Do you know how many PDF pages it can generate (is there a max)?


There is no programmatic limit to the number of pages. While I have
had
users create 20-40 page documents, I haven't had anyone try, say,
9,000
pages. :-)

Will it render out dynamic textfields in the positions they are in?


No. Not exactly. Basically all text is created in the document by
using a
drawString() method. So, you would need to re-draw things into the
PDF. Or,
you could use the component as your main display and only do it
once.
But
it's not take this textfield and pop it into the PDF.

What about HTML text?


Nope.

Can you generate a hardcopy PDF Document or does it just sent the
PDF
 data to a browser window?


It generates a full PDF document into a variable in Flash. So it's
left up
to the developer to either save it to the server, push it to the
client via
the server, or save it locally via Zinc or other projector.

Thanks


No problem. Hope that helps. :-)

g.


--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Exporting from flash to vector format

2006-10-20 Thread Merrill, Jason
Cool, thanks Greg, that looks like TextFields could be workable (other
than the HTML formatting).  I'll check out your demo for sure.  

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Friday, October 20, 2006 1:02 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hi Jason

I didn't take any tone from your post - I try to read them as words
and not
infer things. If you had said that sucks!, I would have taken it
badly ;-)

From what I've gathered from users who have contacted me to tell me
how they
use it, there seems to be a lot of fill out this form and we'll
assemble a
PDF of your choices-type apps. I've seen some impressive full-color
catalogs for big companies created that way. But in these cases, each
page
is programmatically typeset.

Here's some code that would illustrate how text is added:

mypage = myPDF.setDrawingPage(1);
mypage.setNumberFormat(inches);
mypage.drawString(1,1,myFont1,24,0xff,This is red, 24point text
at 1
inch over and 1 inch down from the top left);

You can kind-of setup templates by using a Flash movie that is the
size of
your document (in inches) x 72 (for dpi), and then lay out text areas
and
take their locations and use those in your drawString() methods being
sure
to set the drawing mode to pixels or points.

I hope that helps. I don't want to do too much support or up-front
info on
Flashcoders, but I figured I'd follow-up this one since others may
want to
know. I'd prefer to do support and other questions off-list. :-)

g.


On 10/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 I realized after I sent that my tone didn't appear to good - it
looks
 like a great product Greg - just trying to figure out how I can use
it
 for a project. How do most people handle text with it?

 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions






 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Merrill, Jason
 Sent: Friday, October 20, 2006 8:41 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Exporting from flash to vector format
 
 So to get text into the PDF you would need to re-draw it somehow?
 Hmmm,
 might be a showstopper for me, but thanks anyway.
 
 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of g.wygonik
 Sent: Thursday, October 19, 2006 9:11 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Exporting from flash to vector format
 
 Hey Jason (and all)
 
 
  Do you know how many PDF pages it can generate (is there a
max)?
 
 
 There is no programmatic limit to the number of pages. While I
have
 had
 users create 20-40 page documents, I haven't had anyone try,
say,
 9,000
 pages. :-)
 
 Will it render out dynamic textfields in the positions they are
in?
 
 
 No. Not exactly. Basically all text is created in the document
by
 using a
 drawString() method. So, you would need to re-draw things into
the
 PDF. Or,
 you could use the component as your main display and only do it
 once.
 But
 it's not take this textfield and pop it into the PDF.
 
 What about HTML text?
 
 
 Nope.
 
 Can you generate a hardcopy PDF Document or does it just sent
the
 PDF
  data to a browser window?
 
 
 It generates a full PDF document into a variable in Flash. So
it's
 left up
 to the developer to either save it to the server, push it to the
 client via
 the server, or save it locally via Zinc or other projector.
 
 Thanks
 
 
 No problem. Hope that helps. :-)
 
 g.
 
 
 --
 weblog: broadcast.artificialcolors.com
 blazePDF: www.blazepdf.com
 band: www.cutratebox.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
weblog

RE: [Flashcoders] Exporting from flash to vector format

2006-10-20 Thread Merrill, Jason
Actually, it seems if you could parse out the tags in the TextFormat of
the text field, some HTML could be worked into text formatting in the
PDF.

inch over and 1 inch down from the top left);

Does it have to be inches or could pixel positions be designated?  I
suppose they could be converted first.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, October 20, 2006 1:09 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Exporting from flash to vector format

Cool, thanks Greg, that looks like TextFields could be workable (other
than the HTML formatting).  I'll check out your demo for sure.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Friday, October 20, 2006 1:02 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hi Jason

I didn't take any tone from your post - I try to read them as words
and not
infer things. If you had said that sucks!, I would have taken it
badly ;-)

From what I've gathered from users who have contacted me to tell me
how they
use it, there seems to be a lot of fill out this form and we'll
assemble a
PDF of your choices-type apps. I've seen some impressive full-color
catalogs for big companies created that way. But in these cases,
each
page
is programmatically typeset.

Here's some code that would illustrate how text is added:

mypage = myPDF.setDrawingPage(1);
mypage.setNumberFormat(inches);
mypage.drawString(1,1,myFont1,24,0xff,This is red, 24point
text
at 1
inch over and 1 inch down from the top left);

You can kind-of setup templates by using a Flash movie that is the
size of
your document (in inches) x 72 (for dpi), and then lay out text
areas
and
take their locations and use those in your drawString() methods
being
sure
to set the drawing mode to pixels or points.

I hope that helps. I don't want to do too much support or up-front
info on
Flashcoders, but I figured I'd follow-up this one since others may
want to
know. I'd prefer to do support and other questions off-list. :-)

g.


On 10/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 I realized after I sent that my tone didn't appear to good - it
looks
 like a great product Greg - just trying to figure out how I can
use
it
 for a project. How do most people handle text with it?

 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions






 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Merrill, Jason
 Sent: Friday, October 20, 2006 8:41 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Exporting from flash to vector format
 
 So to get text into the PDF you would need to re-draw it
somehow?
 Hmmm,
 might be a showstopper for me, but thanks anyway.
 
 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of g.wygonik
 Sent: Thursday, October 19, 2006 9:11 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Exporting from flash to vector
format
 
 Hey Jason (and all)
 
 
  Do you know how many PDF pages it can generate (is there a
max)?
 
 
 There is no programmatic limit to the number of pages. While I
have
 had
 users create 20-40 page documents, I haven't had anyone try,
say,
 9,000
 pages. :-)
 
 Will it render out dynamic textfields in the positions they
are
in?
 
 
 No. Not exactly. Basically all text is created in the document
by
 using a
 drawString() method. So, you would need to re-draw things into
the
 PDF. Or,
 you could use the component as your main display and only do
it
 once.
 But
 it's not take this textfield and pop it into the PDF.
 
 What about HTML text?
 
 
 Nope.
 
 Can you generate a hardcopy PDF Document or does it just sent
the
 PDF
  data to a browser window?
 
 
 It generates a full PDF document into a variable in Flash. So

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Exporting from flash to vector format

2006-10-20 Thread g . wygonik

Inches was just what i used in that example. Check out the setNumberFormat()
command. You can use all the standards - in,mm,px,pt,cm, etc. :-)
This will apply to all drawing commands (even the Flash drawing API commands
i override) until you change it again.

g.

On 10/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Actually, it seems if you could parse out the tags in the TextFormat of
the text field, some HTML could be worked into text formatting in the
PDF.

inch over and 1 inch down from the top left);

Does it have to be inches or could pixel positions be designated?  I
suppose they could be converted first.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Friday, October 20, 2006 1:09 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Exporting from flash to vector format

Cool, thanks Greg, that looks like TextFields could be workable (other
than the HTML formatting).  I'll check out your demo for sure.

Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Friday, October 20, 2006 1:02 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hi Jason

I didn't take any tone from your post - I try to read them as words
and not
infer things. If you had said that sucks!, I would have taken it
badly ;-)

From what I've gathered from users who have contacted me to tell me
how they
use it, there seems to be a lot of fill out this form and we'll
assemble a
PDF of your choices-type apps. I've seen some impressive full-color
catalogs for big companies created that way. But in these cases,
each
page
is programmatically typeset.

Here's some code that would illustrate how text is added:

mypage = myPDF.setDrawingPage(1);
mypage.setNumberFormat(inches);
mypage.drawString(1,1,myFont1,24,0xff,This is red, 24point
text
at 1
inch over and 1 inch down from the top left);

You can kind-of setup templates by using a Flash movie that is the
size of
your document (in inches) x 72 (for dpi), and then lay out text
areas
and
take their locations and use those in your drawString() methods
being
sure
to set the drawing mode to pixels or points.

I hope that helps. I don't want to do too much support or up-front
info on
Flashcoders, but I figured I'd follow-up this one since others may
want to
know. I'd prefer to do support and other questions off-list. :-)

g.


On 10/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 I realized after I sent that my tone didn't appear to good - it
looks
 like a great product Greg - just trying to figure out how I can
use
it
 for a project. How do most people handle text with it?

 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions






 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Merrill, Jason
 Sent: Friday, October 20, 2006 8:41 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Exporting from flash to vector format
 
 So to get text into the PDF you would need to re-draw it
somehow?
 Hmmm,
 might be a showstopper for me, but thanks anyway.
 
 Jason Merrill
 Bank of America
 Learning  Organization Effectiveness - Technology Solutions
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of g.wygonik
 Sent: Thursday, October 19, 2006 9:11 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Exporting from flash to vector
format
 
 Hey Jason (and all)
 
 
  Do you know how many PDF pages it can generate (is there a
max)?
 
 
 There is no programmatic limit to the number of pages. While I
have
 had
 users create 20-40 page documents, I haven't had anyone try,
say,
 9,000
 pages. :-)
 
 Will it render out dynamic textfields in the positions they
are
in?
 
 
 No. Not exactly. Basically all text is created in the document
by
 using a
 drawString() method. So, you would need to re-draw things into
the
 PDF. Or,
 you could use the component as your main display and only do
it
 once.
 But
 it's not take this textfield and pop it into the PDF.
 
 What about HTML text?
 
 
 Nope.
 
 Can you generate a hardcopy PDF Document or does it just sent
the
 PDF
  data to a browser window?
 
 
 It generates a full PDF document into a variable in Flash. So

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
weblog: broadcast.artificialcolors.com
blazePDF

Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Glen Pike
Copy and paste seems to work if you are using both Flash  Illustrator 
at home.  If you have to share with others, Flash will export to a 
sensible medium - ai / eps are both available in the Export Image 
dialogues, but watch out, I think it exports from the clip you are 
editing rather than the main timeline.


Eric Lee wrote:

Howdy list,

I'm looking for a way to export vector data from flash to some sort of a
format that Illustrator can use-svg, ai, eps, etc. Does anyone know how to
do this?

 


Thanks!

-eric

++

 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Eric Lee
Sorry, should've been a bit more specific --

I have a swf that is dynamically generating vector data (placing movie
clips, drawing lines, etc. according to predefined algorithms). I'm looking
to export data generated from that swf to a vector format, and I don't think
copy and paste works for this type of thing. Any recommendations?

Thanks!
-Eric 
++

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: Thursday, October 19, 2006 1:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Copy and paste seems to work if you are using both Flash  Illustrator 
at home.  If you have to share with others, Flash will export to a 
sensible medium - ai / eps are both available in the Export Image 
dialogues, but watch out, I think it exports from the clip you are 
editing rather than the main timeline.

Eric Lee wrote:
 Howdy list,

 I'm looking for a way to export vector data from flash to some sort of a
 format that Illustrator can use-svg, ai, eps, etc. Does anyone know how to
 do this?

  

 Thanks!

 -eric

 ++

  

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


   
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Robert r. Sanders
If you have access to the source (or are willing to decompile) you can 
add code to create a SVG or other description as the lines are drawn, 
then use getURL to POST the results to a server or dump them into a 
textarea.  You may also be able to hijack the original code, by wrapping 
the SWF in a custom SWF which replaces the original methods with ones 
that first save the data to your structure and then pass the arguments 
on to the replaced method.



Eric Lee wrote:

Sorry, should've been a bit more specific --

I have a swf that is dynamically generating vector data (placing movie
clips, drawing lines, etc. according to predefined algorithms). I'm looking
to export data generated from that swf to a vector format, and I don't think
copy and paste works for this type of thing. Any recommendations?

Thanks!
-Eric 
++


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: Thursday, October 19, 2006 1:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Copy and paste seems to work if you are using both Flash  Illustrator 
at home.  If you have to share with others, Flash will export to a 
sensible medium - ai / eps are both available in the Export Image 
dialogues, but watch out, I think it exports from the clip you are 
editing rather than the main timeline.


Eric Lee wrote:
  

Howdy list,

I'm looking for a way to export vector data from flash to some sort of a
format that Illustrator can use-svg, ai, eps, etc. Does anyone know how to
do this?

 


Thanks!

-eric

++

 





--
   Robert r. Sanders
   Chief Technologist
   iPOV
   (334) 821-5412
   www.ipov.net

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread g . wygonik

Hi Eric

I'm not sure if it will help your exact situation, but my blazePDF component
will allow you to create a PDF document at run-time entirely within your
Flash app (no print drivers or anything). You could, in theory, use this to
create your PDF which retains vector representations of drawing commands,
allows bitmap images or MovieClips to be rendered as bitmap, and then save
the PDF. You can then open the PDF in Illustrator, Freehand, PhotoShop, et
al.

While I did have a Flash2EPS project many years ago, it was fairly limited
in scope. And since you mentioned MovieClips, I avoid going this route as it
was just basic drawing commands.

You can find more info on blazePDF at www.blazepdf.com (neat, huh?) ;-)

Hope that helps.

Cheers
g.


On 10/19/06, Eric Lee [EMAIL PROTECTED] wrote:


Sorry, should've been a bit more specific --

I have a swf that is dynamically generating vector data (placing movie
clips, drawing lines, etc. according to predefined algorithms). I'm
looking
to export data generated from that swf to a vector format, and I don't
think
copy and paste works for this type of thing. Any recommendations?

Thanks!
-Eric
++






--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Merrill, Jason
If I could tap in here and ask a question:  Greg, that looks really cool
- I had heard of it before, but now I might be interested Blaze PDF for
a project.  

Do you know how many PDF pages it can generate (is there a max)?  
Will it render out dynamic textfields in the positions they are in?
What about HTML text?  
Can you generate a hardcopy PDF Document or does it just sent the PDF
data to a browser window?  

Thanks

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Thursday, October 19, 2006 6:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hi Eric

I'm not sure if it will help your exact situation, but my blazePDF
component
will allow you to create a PDF document at run-time entirely within
your
Flash app (no print drivers or anything). You could, in theory, use
this to
create your PDF which retains vector representations of drawing
commands,
allows bitmap images or MovieClips to be rendered as bitmap, and then
save
the PDF. You can then open the PDF in Illustrator, Freehand,
PhotoShop, et
al.

While I did have a Flash2EPS project many years ago, it was fairly
limited
in scope. And since you mentioned MovieClips, I avoid going this route
as it
was just basic drawing commands.

You can find more info on blazePDF at www.blazepdf.com (neat, huh?)
;-)

Hope that helps.

Cheers
g.


On 10/19/06, Eric Lee [EMAIL PROTECTED] wrote:

 Sorry, should've been a bit more specific --

 I have a swf that is dynamically generating vector data (placing
movie
 clips, drawing lines, etc. according to predefined algorithms). I'm
 looking
 to export data generated from that swf to a vector format, and I
don't
 think
 copy and paste works for this type of thing. Any recommendations?

 Thanks!
 -Eric
 ++





--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread Eric Lee
Hey Greg,
This looks like a perfect solution for my project, thanks for the tip!

-Eric



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of g.wygonik
Sent: Thursday, October 19, 2006 3:53 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Exporting from flash to vector format

Hi Eric

I'm not sure if it will help your exact situation, but my blazePDF component
will allow you to create a PDF document at run-time entirely within your
Flash app (no print drivers or anything). You could, in theory, use this to
create your PDF which retains vector representations of drawing commands,
allows bitmap images or MovieClips to be rendered as bitmap, and then save
the PDF. You can then open the PDF in Illustrator, Freehand, PhotoShop, et
al.

While I did have a Flash2EPS project many years ago, it was fairly limited
in scope. And since you mentioned MovieClips, I avoid going this route as it
was just basic drawing commands.

You can find more info on blazePDF at www.blazepdf.com (neat, huh?) ;-)

Hope that helps.

Cheers
g.


On 10/19/06, Eric Lee [EMAIL PROTECTED] wrote:

 Sorry, should've been a bit more specific --

 I have a swf that is dynamically generating vector data (placing movie
 clips, drawing lines, etc. according to predefined algorithms). I'm
 looking
 to export data generated from that swf to a vector format, and I don't
 think
 copy and paste works for this type of thing. Any recommendations?

 Thanks!
 -Eric
 ++





-- 
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Exporting from flash to vector format

2006-10-19 Thread g . wygonik

Hey Jason (and all)



Do you know how many PDF pages it can generate (is there a max)?



There is no programmatic limit to the number of pages. While I have had
users create 20-40 page documents, I haven't had anyone try, say, 9,000
pages. :-)

Will it render out dynamic textfields in the positions they are in?


No. Not exactly. Basically all text is created in the document by using a
drawString() method. So, you would need to re-draw things into the PDF. Or,
you could use the component as your main display and only do it once. But
it's not take this textfield and pop it into the PDF.

What about HTML text?


Nope.

Can you generate a hardcopy PDF Document or does it just sent the PDF

data to a browser window?



It generates a full PDF document into a variable in Flash. So it's left up
to the developer to either save it to the server, push it to the client via
the server, or save it locally via Zinc or other projector.

Thanks


No problem. Hope that helps. :-)

g.


--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com