Re: [Flashcoders] print function in AS2
Hi Maurice, I highly recommend you to take a look on PrintJob class. It will give you much more control and make your life easier. I'm not sure, but I remember that was an issue with the print function and layer-masks (and a lot of other stuff too). But I don't know how complicated will be for you debug and test this. A simple and fast solution would be generate a Bitmap of the screen (like a print-screen) before printing. And then you just dispose the object. I hope this helps you to figure out an solution. On Feb 15, 2008 6:34 PM, maurice sallave [EMAIL PROTECTED] wrote: Hi, I'm trying to print from Flash using the print function. I've created a print button to point to a movieClip that gets dynamically created e.g. a results page. What's weird is that it works as a standalone swf file and prints fine, but when it's in a browser I get one solid color and no images - no results. I've used bframe, bmax, and bmovie where I instantiated #p at the first frame and still no luck. Thanks for any help. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ~Gabriel Laet ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] How to obtain html attributes from instanced movieclip
Hello list, I'm loading a HTML file into a textarea. I see it and everything works just fine. I need to do something like this: img src='imgViewer' id='testmc' *file='miImageFile.jpg'*/ when mi imgViewer class is instanced I get a trace in the constructor, so the class is well instanced. But is there any way to retrieve that file attribute?? Why if I do trace(this.id) from the class I can't get it? I've tried with intervals also because of the load time, but even when it is full loaded I can't access it. any other idea?? thanks! Gab ___ 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] amf-php, AS2, mysql, and multilanguage website
Hi all, can someone put a step by step guide about what are the correct steps to have a front(in flash) that connects to a MySql with AMFPHP, so this front would be multilanguage, meaning english, spanish, german, russian and , maybe, a lot (occidental) more... thanks to all GaB ___ 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] euro symbol fight
I agree, but the question is how? Ron Wheeler wrote: If you want it to work It is probably easier to do every single one than just some. Ron Gabriel wrote: I access it with AMFPHP, are you saying I have to modify every single object returned from AMF? thanks Ron Wheeler wrote: Who controls my_flash_service.php. That is the spot where the escaping should be done. Ron Gabriel wrote: Is a good idea, but I cannot do that because, most of the data I get, I retrieve it from the database directly trough the ORM (pear), so I can't touch the data. the way it comes is: DB-ORM-my_flash_service.php-AMFPHP gateway-myApp.swf any idea? thanks! GaB David Rorex wrote: How about 'escaping' the text before you send to amfphp, and 'unescaping' the text after you recieve it back? escaping = turning all non-standard characters into things like %12%34%56 unescaping = reverse of above process -David R On 7/4/06, Gabriel [EMAIL PROTECTED] wrote: thanks Serge yes, it has the symbol. And is not the embed problem... thanks GaB Serge Jespers wrote: Does that font have the euro symbol? I think what you're describing could mean it doesn't have the font symbol... Serge thanks Bernard, but this is not the problem. I have a table in a database, where I write this text this will cost you 50€. when I retrieve this info from AMFPHP I receive the whole text except for € which cames as a square. thanks, GaB ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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] euro symbol fight
I access it with AMFPHP, are you saying I have to modify every single object returned from AMF? thanks Ron Wheeler wrote: Who controls my_flash_service.php. That is the spot where the escaping should be done. Ron Gabriel wrote: Is a good idea, but I cannot do that because, most of the data I get, I retrieve it from the database directly trough the ORM (pear), so I can't touch the data. the way it comes is: DB-ORM-my_flash_service.php-AMFPHP gateway-myApp.swf any idea? thanks! GaB David Rorex wrote: How about 'escaping' the text before you send to amfphp, and 'unescaping' the text after you recieve it back? escaping = turning all non-standard characters into things like %12%34%56 unescaping = reverse of above process -David R On 7/4/06, Gabriel [EMAIL PROTECTED] wrote: thanks Serge yes, it has the symbol. And is not the embed problem... thanks GaB Serge Jespers wrote: Does that font have the euro symbol? I think what you're describing could mean it doesn't have the font symbol... Serge thanks Bernard, but this is not the problem. I have a table in a database, where I write this text this will cost you 50€. when I retrieve this info from AMFPHP I receive the whole text except for € which cames as a square. thanks, GaB ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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] euro symbol fight
Is a good idea, but I cannot do that because, most of the data I get, I retrieve it from the database directly trough the ORM (pear), so I can't touch the data. the way it comes is: DB-ORM-my_flash_service.php-AMFPHP gateway-myApp.swf any idea? thanks! GaB David Rorex wrote: How about 'escaping' the text before you send to amfphp, and 'unescaping' the text after you recieve it back? escaping = turning all non-standard characters into things like %12%34%56 unescaping = reverse of above process -David R On 7/4/06, Gabriel [EMAIL PROTECTED] wrote: thanks Serge yes, it has the symbol. And is not the embed problem... thanks GaB Serge Jespers wrote: Does that font have the euro symbol? I think what you're describing could mean it doesn't have the font symbol... Serge thanks Bernard, but this is not the problem. I have a table in a database, where I write this text this will cost you 50€. when I retrieve this info from AMFPHP I receive the whole text except for € which cames as a square. thanks, GaB ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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] euro symbol fight
thanks Bernard, but this is not the problem. I have a table in a database, where I write this text this will cost you 50€. when I retrieve this info from AMFPHP I receive the whole text except for € which cames as a square. thanks, GaB Bernard Visscher wrote: The escaped HTML Euro sign is %E2%82%AC So you could use something like: my_txt.htmlText = unescape(%E2%82%AC); Greetz, Bernard -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Gabriel Verzonden: dinsdag 4 juli 2006 9:10 Aan: Flashcoders mailing list Onderwerp: [Flashcoders] euro symbol fight Hi all!... Does anybody knows the correct path to fight against the €uro symbol to be shown in a swf and retrieved from a database through AMFPHP??? thanks in advance! GaB ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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] euro symbol fight
thanks Serge yes, it has the symbol. And is not the embed problem... thanks GaB Serge Jespers wrote: Does that font have the euro symbol? I think what you're describing could mean it doesn't have the font symbol... Serge thanks Bernard, but this is not the problem. I have a table in a database, where I write this text this will cost you 50€. when I retrieve this info from AMFPHP I receive the whole text except for € which cames as a square. thanks, GaB ___ 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 -- Gabriel Belvedere www.antares.es http://www.antares.es ___ 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] Printing without print dialog box in an exe
Rishi, you can do that with SWF Studio (Northcode http://www.northcode.com/). It's really easy. GaB rishi wrote: Hi I need to give a print command from flash without opening the print dialog box. I have my application embedded in VB. I want to know the proposed solutions. I know this can be done and can see this working in flash jester jprintor. But I’ld like to know some more tools. Also ,if somebody has worked with Jprintor. Please advise. I need to discuss, this, Rishi ___ 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] converting/printing swf to eps
I am actually writing the eps in windows with the adobe's driver, and it works fine...I would like to do the same in linux, any idea?, do you know if ghostscript could be use as a printer to do the output to an eps?... GaB Ron Wheeler wrote: Ghostscript. Adobe's postscript printer You can write the eps manually (define some useful macros and the actual generation becomes easy) Probably XSLT would do the job as well. It really depends on what you want to do with the eps files and whether it is important to use eps at every step. If you have some control over the client side it gets easier. Otherwise you need to send data to the server and let the server create a new eps. Where do the eps files get used? ROn Gabriel wrote: I've already said what I need to do, pick a premade draw, and allow the user to change the blanks to color, like in a paint app for kids, and then export this to an eps, that simple is the idea. The queries must be received by a server ( a custom app?), or I'm missing something... You said, a lot of tools to create outputs, to eps? can you name one? thanks GaB Ron Wheeler wrote: Who is receiving the queries? This sounds like a server side issue. There are lots of tools to create output on a server. Why are people changing the colors. Does this get done for each print or is the color changed once and requested from a server. It might save a lot of time if you actually described what you want to do in enough detail so we can get to the right solution in the next 4 or 5 weeks. Ron Gabriel wrote: hi Ron, I already have it done this way. A postscript printer in the server, and it works like a charm. But the problem is how to receive a lot of queries for printing with an automated app...any idea? thanks GaB Ron Wheeler wrote: Can you not just use a postscript printer under windows to create the file? If you download the Adobe generic PostScript driver, set the output to file and to be eps rather than PostScript and you should be able to print your Flash to eps. Ron Gabriel wrote: Ok, I'll try to put it simple. I have researched about the eps, I opened it, changed it, and I see where are the paremeters I need with a few problems(like identify each shape to apply different color), but if you want, forget the eps input. The point is: 1 - I Have a swf with a drawing inside and 2,3,4 colors divided in movieclips by color. 2 - I need to open this swf with my app, let the user change the color of each mc (at this point, everything is fine) 3 - give the user an eps with the result. end of workflow. simple uh? :P GaB. Ron Wheeler wrote: I am having trouble figuring out the flow. What does the Flash application actually do? If the drawings already exist on the server and have to end up on the server,... What does Flash do with the EPS file? Why EPS at all? How do the EPS files get created. What do you want to do with the resulting files? Have you edited an eps file with a text editor to see how they are constructed? They can include vectors and raster images. Depending on the program used to create the EPS, it can be full of crap and unused macros which make them hard to pick apart if that is what you want to do. You can certainly create eps files by tracking the user inputs and writing the PostScript to a file. It is a bit like SVG without the XML. You can create your own macros to make the process easier - which is where all of the crap comes from in an EPS file created by MS-Word (to pick on one vendor unfairly). Make a Hello World document and save it. It will be a lot longer than 11 characters but you will find Hello World in there somewhere. In the early days of DOS, I wrote a little short PostScript file that created fractal images if you sent it to a Postscript Printer and let it run all night. Looking back I must not have had a life then, I guess - the kids were small and we were to tired to go out. Ron Gabriel wrote: Ok, sounds good, but I don't see clearly how to convert my already drawn eps/whatever into commands so can rewrite a svg an then save it. I can make instructions for writing the svg, but I have the drawings pre made. GaB Ron Wheeler wrote: You can send an XML file of drawing instructions to the server and use XSLT to do anything that you want. a) You can convert it to SVG or EPS. b) You can convert it to your own vector format c) You can hold onto it as an XML and redraw it in your Flash program later d) You can convert it to a raster image e) You can do all of the above and more. SVG is the most flexible format since it is both an XML file that can be transformed using XSLT and a recognized vector drawing format that can be edited using drawing programs. It is also relatively easy to construct by tracking the user activity on the Flash side(move, draw, draw, draw,move, draw...) Check the Batik site and open an SVG file in a text editor to see what is inside
Re: [Flashcoders] converting/printing swf to eps
I've already said what I need to do, pick a premade draw, and allow the user to change the blanks to color, like in a paint app for kids, and then export this to an eps, that simple is the idea. The queries must be received by a server ( a custom app?), or I'm missing something... You said, a lot of tools to create outputs, to eps? can you name one? thanks GaB Ron Wheeler wrote: Who is receiving the queries? This sounds like a server side issue. There are lots of tools to create output on a server. Why are people changing the colors. Does this get done for each print or is the color changed once and requested from a server. It might save a lot of time if you actually described what you want to do in enough detail so we can get to the right solution in the next 4 or 5 weeks. Ron Gabriel wrote: hi Ron, I already have it done this way. A postscript printer in the server, and it works like a charm. But the problem is how to receive a lot of queries for printing with an automated app...any idea? thanks GaB Ron Wheeler wrote: Can you not just use a postscript printer under windows to create the file? If you download the Adobe generic PostScript driver, set the output to file and to be eps rather than PostScript and you should be able to print your Flash to eps. Ron Gabriel wrote: Ok, I'll try to put it simple. I have researched about the eps, I opened it, changed it, and I see where are the paremeters I need with a few problems(like identify each shape to apply different color), but if you want, forget the eps input. The point is: 1 - I Have a swf with a drawing inside and 2,3,4 colors divided in movieclips by color. 2 - I need to open this swf with my app, let the user change the color of each mc (at this point, everything is fine) 3 - give the user an eps with the result. end of workflow. simple uh? :P GaB. Ron Wheeler wrote: I am having trouble figuring out the flow. What does the Flash application actually do? If the drawings already exist on the server and have to end up on the server,... What does Flash do with the EPS file? Why EPS at all? How do the EPS files get created. What do you want to do with the resulting files? Have you edited an eps file with a text editor to see how they are constructed? They can include vectors and raster images. Depending on the program used to create the EPS, it can be full of crap and unused macros which make them hard to pick apart if that is what you want to do. You can certainly create eps files by tracking the user inputs and writing the PostScript to a file. It is a bit like SVG without the XML. You can create your own macros to make the process easier - which is where all of the crap comes from in an EPS file created by MS-Word (to pick on one vendor unfairly). Make a Hello World document and save it. It will be a lot longer than 11 characters but you will find Hello World in there somewhere. In the early days of DOS, I wrote a little short PostScript file that created fractal images if you sent it to a Postscript Printer and let it run all night. Looking back I must not have had a life then, I guess - the kids were small and we were to tired to go out. Ron Gabriel wrote: Ok, sounds good, but I don't see clearly how to convert my already drawn eps/whatever into commands so can rewrite a svg an then save it. I can make instructions for writing the svg, but I have the drawings pre made. GaB Ron Wheeler wrote: You can send an XML file of drawing instructions to the server and use XSLT to do anything that you want. a) You can convert it to SVG or EPS. b) You can convert it to your own vector format c) You can hold onto it as an XML and redraw it in your Flash program later d) You can convert it to a raster image e) You can do all of the above and more. SVG is the most flexible format since it is both an XML file that can be transformed using XSLT and a recognized vector drawing format that can be edited using drawing programs. It is also relatively easy to construct by tracking the user activity on the Flash side(move, draw, draw, draw,move, draw...) Check the Batik site and open an SVG file in a text editor to see what is inside. Ron Gabriel wrote: What I need is to import the drawing, that's why I choose eps (but the only real need is that it must be vectorial), Not really to export the image created by the user, but recreate it on the server side, based on a few parameters. I can live without the drawing part. PDF would be a possibility, but can I export from swf 2 pdf?? about FOP, It could be useful but how I load the eps/whatever icon and apply some changes (color, scale or so)? thanks GaB Ron Wheeler wrote: Have you looked at SVG as an alternative? You may be able generate this on the client without the server. What about PDF. Have a look at Apache's FOP as a server tool for converting input to various output formats. Let me know what you think
Re: [Flashcoders] converting/printing swf to eps
hi Ron, I already have it done this way. A postscript printer in the server, and it works like a charm. But the problem is how to receive a lot of queries for printing with an automated app...any idea? thanks GaB Ron Wheeler wrote: Can you not just use a postscript printer under windows to create the file? If you download the Adobe generic PostScript driver, set the output to file and to be eps rather than PostScript and you should be able to print your Flash to eps. Ron Gabriel wrote: Ok, I'll try to put it simple. I have researched about the eps, I opened it, changed it, and I see where are the paremeters I need with a few problems(like identify each shape to apply different color), but if you want, forget the eps input. The point is: 1 - I Have a swf with a drawing inside and 2,3,4 colors divided in movieclips by color. 2 - I need to open this swf with my app, let the user change the color of each mc (at this point, everything is fine) 3 - give the user an eps with the result. end of workflow. simple uh? :P GaB. Ron Wheeler wrote: I am having trouble figuring out the flow. What does the Flash application actually do? If the drawings already exist on the server and have to end up on the server,... What does Flash do with the EPS file? Why EPS at all? How do the EPS files get created. What do you want to do with the resulting files? Have you edited an eps file with a text editor to see how they are constructed? They can include vectors and raster images. Depending on the program used to create the EPS, it can be full of crap and unused macros which make them hard to pick apart if that is what you want to do. You can certainly create eps files by tracking the user inputs and writing the PostScript to a file. It is a bit like SVG without the XML. You can create your own macros to make the process easier - which is where all of the crap comes from in an EPS file created by MS-Word (to pick on one vendor unfairly). Make a Hello World document and save it. It will be a lot longer than 11 characters but you will find Hello World in there somewhere. In the early days of DOS, I wrote a little short PostScript file that created fractal images if you sent it to a Postscript Printer and let it run all night. Looking back I must not have had a life then, I guess - the kids were small and we were to tired to go out. Ron Gabriel wrote: Ok, sounds good, but I don't see clearly how to convert my already drawn eps/whatever into commands so can rewrite a svg an then save it. I can make instructions for writing the svg, but I have the drawings pre made. GaB Ron Wheeler wrote: You can send an XML file of drawing instructions to the server and use XSLT to do anything that you want. a) You can convert it to SVG or EPS. b) You can convert it to your own vector format c) You can hold onto it as an XML and redraw it in your Flash program later d) You can convert it to a raster image e) You can do all of the above and more. SVG is the most flexible format since it is both an XML file that can be transformed using XSLT and a recognized vector drawing format that can be edited using drawing programs. It is also relatively easy to construct by tracking the user activity on the Flash side(move, draw, draw, draw,move, draw...) Check the Batik site and open an SVG file in a text editor to see what is inside. Ron Gabriel wrote: What I need is to import the drawing, that's why I choose eps (but the only real need is that it must be vectorial), Not really to export the image created by the user, but recreate it on the server side, based on a few parameters. I can live without the drawing part. PDF would be a possibility, but can I export from swf 2 pdf?? about FOP, It could be useful but how I load the eps/whatever icon and apply some changes (color, scale or so)? thanks GaB Ron Wheeler wrote: Have you looked at SVG as an alternative? You may be able generate this on the client without the server. What about PDF. Have a look at Apache's FOP as a server tool for converting input to various output formats. Let me know what you think of these. There may be more ways to skin this cat. How are the drawings made? If you are capturing the user's interactions, SVG might be pretty easy since it sort of mimics the steps that the user does (start here, draw to here, draw to this point, draw to next point, etc. finish here; move to here, draw to here, etc.) so you may be able to create the SVG by just transforming what you are already doing on the screen. The Batik package or Adobe SVG lets you work with SVG drawings. What do you want to do with the output- what is magical about EPS for you? Ron Gabriel wrote: I generate the content of the swf on the client app, let's say a free drawing, then I want to print it to the *server printer* (?). The point is...I need an eps from a generated content with origin in the client machine. You
Re: [Flashcoders] converting/printing swf to eps
Ok, I'll try to put it simple. I have researched about the eps, I opened it, changed it, and I see where are the paremeters I need with a few problems(like identify each shape to apply different color), but if you want, forget the eps input. The point is: 1 - I Have a swf with a drawing inside and 2,3,4 colors divided in movieclips by color. 2 - I need to open this swf with my app, let the user change the color of each mc (at this point, everything is fine) 3 - give the user an eps with the result. end of workflow. simple uh? :P GaB. Ron Wheeler wrote: I am having trouble figuring out the flow. What does the Flash application actually do? If the drawings already exist on the server and have to end up on the server,... What does Flash do with the EPS file? Why EPS at all? How do the EPS files get created. What do you want to do with the resulting files? Have you edited an eps file with a text editor to see how they are constructed? They can include vectors and raster images. Depending on the program used to create the EPS, it can be full of crap and unused macros which make them hard to pick apart if that is what you want to do. You can certainly create eps files by tracking the user inputs and writing the PostScript to a file. It is a bit like SVG without the XML. You can create your own macros to make the process easier - which is where all of the crap comes from in an EPS file created by MS-Word (to pick on one vendor unfairly). Make a Hello World document and save it. It will be a lot longer than 11 characters but you will find Hello World in there somewhere. In the early days of DOS, I wrote a little short PostScript file that created fractal images if you sent it to a Postscript Printer and let it run all night. Looking back I must not have had a life then, I guess - the kids were small and we were to tired to go out. Ron Gabriel wrote: Ok, sounds good, but I don't see clearly how to convert my already drawn eps/whatever into commands so can rewrite a svg an then save it. I can make instructions for writing the svg, but I have the drawings pre made. GaB Ron Wheeler wrote: You can send an XML file of drawing instructions to the server and use XSLT to do anything that you want. a) You can convert it to SVG or EPS. b) You can convert it to your own vector format c) You can hold onto it as an XML and redraw it in your Flash program later d) You can convert it to a raster image e) You can do all of the above and more. SVG is the most flexible format since it is both an XML file that can be transformed using XSLT and a recognized vector drawing format that can be edited using drawing programs. It is also relatively easy to construct by tracking the user activity on the Flash side(move, draw, draw, draw,move, draw...) Check the Batik site and open an SVG file in a text editor to see what is inside. Ron Gabriel wrote: What I need is to import the drawing, that's why I choose eps (but the only real need is that it must be vectorial), Not really to export the image created by the user, but recreate it on the server side, based on a few parameters. I can live without the drawing part. PDF would be a possibility, but can I export from swf 2 pdf?? about FOP, It could be useful but how I load the eps/whatever icon and apply some changes (color, scale or so)? thanks GaB Ron Wheeler wrote: Have you looked at SVG as an alternative? You may be able generate this on the client without the server. What about PDF. Have a look at Apache's FOP as a server tool for converting input to various output formats. Let me know what you think of these. There may be more ways to skin this cat. How are the drawings made? If you are capturing the user's interactions, SVG might be pretty easy since it sort of mimics the steps that the user does (start here, draw to here, draw to this point, draw to next point, etc. finish here; move to here, draw to here, etc.) so you may be able to create the SVG by just transforming what you are already doing on the screen. The Batik package or Adobe SVG lets you work with SVG drawings. What do you want to do with the output- what is magical about EPS for you? Ron Gabriel wrote: I generate the content of the swf on the client app, let's say a free drawing, then I want to print it to the *server printer* (?). The point is...I need an eps from a generated content with origin in the client machine. You was talking about many free printer drivers, can you point me to some of them? thanks GaB. David Rorex wrote: How are the swf's generated in the first place? Instead of doing something-swf-eps you can do: something-swf something-eps -David R On 3/30/06, Gabriel [EMAIL PROTECTED] wrote: I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert
Re: [Flashcoders] converting/printing swf to eps
Ok, sounds good, but I don't see clearly how to convert my already drawn eps/whatever into commands so can rewrite a svg an then save it. I can make instructions for writing the svg, but I have the drawings pre made. GaB Ron Wheeler wrote: You can send an XML file of drawing instructions to the server and use XSLT to do anything that you want. a) You can convert it to SVG or EPS. b) You can convert it to your own vector format c) You can hold onto it as an XML and redraw it in your Flash program later d) You can convert it to a raster image e) You can do all of the above and more. SVG is the most flexible format since it is both an XML file that can be transformed using XSLT and a recognized vector drawing format that can be edited using drawing programs. It is also relatively easy to construct by tracking the user activity on the Flash side(move, draw, draw, draw,move, draw...) Check the Batik site and open an SVG file in a text editor to see what is inside. Ron Gabriel wrote: What I need is to import the drawing, that's why I choose eps (but the only real need is that it must be vectorial), Not really to export the image created by the user, but recreate it on the server side, based on a few parameters. I can live without the drawing part. PDF would be a possibility, but can I export from swf 2 pdf?? about FOP, It could be useful but how I load the eps/whatever icon and apply some changes (color, scale or so)? thanks GaB Ron Wheeler wrote: Have you looked at SVG as an alternative? You may be able generate this on the client without the server. What about PDF. Have a look at Apache's FOP as a server tool for converting input to various output formats. Let me know what you think of these. There may be more ways to skin this cat. How are the drawings made? If you are capturing the user's interactions, SVG might be pretty easy since it sort of mimics the steps that the user does (start here, draw to here, draw to this point, draw to next point, etc. finish here; move to here, draw to here, etc.) so you may be able to create the SVG by just transforming what you are already doing on the screen. The Batik package or Adobe SVG lets you work with SVG drawings. What do you want to do with the output- what is magical about EPS for you? Ron Gabriel wrote: I generate the content of the swf on the client app, let's say a free drawing, then I want to print it to the *server printer* (?). The point is...I need an eps from a generated content with origin in the client machine. You was talking about many free printer drivers, can you point me to some of them? thanks GaB. David Rorex wrote: How are the swf's generated in the first place? Instead of doing something-swf-eps you can do: something-swf something-eps -David R On 3/30/06, Gabriel [EMAIL PROTECTED] wrote: I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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 ___ 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
Re: [Flashcoders] converting/printing swf to eps
Hey Ron...what I want to do is generate content in client side flash, pass it to the server (php or whatever) print this content to an eps, and return the eps to the client. thanks Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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] converting/printing swf to eps
I generate the content of the swf on the client app, let's say a free drawing, then I want to print it to the *server printer* (?). The point is...I need an eps from a generated content with origin in the client machine. You was talking about many free printer drivers, can you point me to some of them? thanks GaB. David Rorex wrote: How are the swf's generated in the first place? Instead of doing something-swf-eps you can do: something-swf something-eps -David R On 3/30/06, Gabriel [EMAIL PROTECTED] wrote: I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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 ___ 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] converting/printing swf to eps
What I need is to import the drawing, that's why I choose eps (but the only real need is that it must be vectorial), Not really to export the image created by the user, but recreate it on the server side, based on a few parameters. I can live without the drawing part. PDF would be a possibility, but can I export from swf 2 pdf?? about FOP, It could be useful but how I load the eps/whatever icon and apply some changes (color, scale or so)? thanks GaB Ron Wheeler wrote: Have you looked at SVG as an alternative? You may be able generate this on the client without the server. What about PDF. Have a look at Apache's FOP as a server tool for converting input to various output formats. Let me know what you think of these. There may be more ways to skin this cat. How are the drawings made? If you are capturing the user's interactions, SVG might be pretty easy since it sort of mimics the steps that the user does (start here, draw to here, draw to this point, draw to next point, etc. finish here; move to here, draw to here, etc.) so you may be able to create the SVG by just transforming what you are already doing on the screen. The Batik package or Adobe SVG lets you work with SVG drawings. What do you want to do with the output- what is magical about EPS for you? Ron Gabriel wrote: I generate the content of the swf on the client app, let's say a free drawing, then I want to print it to the *server printer* (?). The point is...I need an eps from a generated content with origin in the client machine. You was talking about many free printer drivers, can you point me to some of them? thanks GaB. David Rorex wrote: How are the swf's generated in the first place? Instead of doing something-swf-eps you can do: something-swf something-eps -David R On 3/30/06, Gabriel [EMAIL PROTECTED] wrote: I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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 ___ 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] converting/printing swf to eps
I save a swf to the server, and I need to retrieve an eps from it...any idea? Ron Wheeler wrote: What exactly do you want to do? Ron Gabriel wrote: Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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] converting/printing swf to eps
Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ 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] wait or sleep
you don't need a wait, the way you are doing its correct, except for the order mclip.onLoad() { continue(); } mclip.loadMovie(); if you end your code right after the loadmovie it will continue on the onLoad. cheers GaB. ___ 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] Encrypting data
Are you trying to do this with getURL?? this is what do you mean or I'm missing something? I did it for my game at inbyted.com and I did it with amfphp and in the live HTTP headers you just see the connection to the gateway. I think it's pretty transparent... regards... GaB www.inbyted.com On 3/15/06, Dave Mennenoh [EMAIL PROTECTED] wrote: MD5 isn't going to help encrypting a high score is it? It's a one way hash... Dave - Adobe Community Expert www.blurredistinction.com www.macromedia.com/support/forums/team_macromedia/ ___ 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] standalone+amfphp doesn't work
thanks Cosmin, I have F8. The problem you could be, BUT, all the time it refers to loading movies between movies. My main movie loads the internal movies, but I can't connect with amfphp. In another post Michael, mentions AMF protocol uses HHTP headers that are available only on browser I think, this could be more accurate, but what is the solution what do you think? Gabriel Cosmin Cimpoi wrote: If you have flash player 8 then check this out about local swf security: http://cosmincimpoi.blogspot.com/2005/12/security-changes-in-flash-player-8.html You'll probably need to export with access network only. cosmin - Original Message - From: Gabriel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, January 09, 2006 9:28 AM Subject: Re: [Flashcoders] standalone+amfphp doesn't work nope...windows JesterXL wrote: Is it a Mac projector? - Original Message - From: Gabriel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 2:37 AM Subject: Re: [Flashcoders] standalone+amfphp doesn't work What do you mean by full path? I have http://...etc../gateway.php; and its working in the browser in the same computer Anthony Covert wrote: Do you have a full path to your gateway in the Service Browser? You should be able to view the working service directly in flash. On Wed, 04 Jan 2006 17:34:54 +0100 Gabriel [EMAIL PROTECTED] wrote: Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? thanks a lot... Gab ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] standalone+amfphp doesn't work
nope...windows JesterXL wrote: Is it a Mac projector? - Original Message - From: Gabriel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, January 05, 2006 2:37 AM Subject: Re: [Flashcoders] standalone+amfphp doesn't work What do you mean by full path? I have http://...etc../gateway.php; and its working in the browser in the same computer Anthony Covert wrote: Do you have a full path to your gateway in the Service Browser? You should be able to view the working service directly in flash. On Wed, 04 Jan 2006 17:34:54 +0100 Gabriel [EMAIL PROTECTED] wrote: Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? thanks a lot... Gab ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] standalone+amfphp doesn't work
Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? thanks a lot... Gab ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] standalone+amfphp doesn't work
What do you mean by full path? I have http://...etc../gateway.php; and its working in the browser in the same computer Anthony Covert wrote: Do you have a full path to your gateway in the Service Browser? You should be able to view the working service directly in flash. On Wed, 04 Jan 2006 17:34:54 +0100 Gabriel [EMAIL PROTECTED] wrote: Hi all, I have a standalone movie connecting to amfphp. It doesn't connect or have response from it, but it does if I open the swf with the browser... any idea? thanks a lot... Gab ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders