A way to put my inkscape SVG's into Flash CS3?
A way to put my inkscape SVG's into Flash CS3?
Hello, I recently got flash CS3, however, I really dislike the drawing part of it. I really would rather put in my SVG files from inkscape however for whatever reason, it does not have SVG import. Is there anyway I can import my inkscape SVGs?
Re: A way to put my inkscape SVG's into Flash CS3?
Perhaps if you save your drawing as another filetype that Flash does support. I would try PDF.
Re: A way to put my inkscape SVG's into Flash CS3?
None of the file formats inherent to each does a decent job. You can export a raster image from Inkscape, import that into Flash and select Trace bitmap from the menu, but it does not do a particularly good job, and it's inefficient. If there is a way to export Inkscape to the Adobe Illustrator format that would be best, but I don't know of a soloution.
Re: A way to put my inkscape SVG's into Flash CS3?
hello,
there's some experimentations see here : http://flash-creations.com/notes/sample_svgtoflash.php
the 'oldy' : http://robla.net/1996/svg2swf/
and this one interesting too : http://www.eprg.org/research/SVG/flash2 ... vganim.php
hope these can help, im am also interesting for this 'export' if you got some other ressources, don't hesitate ...
there's some experimentations see here : http://flash-creations.com/notes/sample_svgtoflash.php
the 'oldy' : http://robla.net/1996/svg2swf/
and this one interesting too : http://www.eprg.org/research/SVG/flash2 ... vganim.php
hope these can help, im am also interesting for this 'export' if you got some other ressources, don't hesitate ...
Re: A way to put my inkscape SVG's into Flash CS3?
These are all very interesting projects, but none of them provided the necessary functionality . What I really need is a way to translate svg into fla or swc.
Re: A way to put my inkscape SVG's into Flash CS3?
You might want to try looking for an indirect path to getting SVG to FLA. I would have thought once you had converted an SVG to SWF it would be easy to convert the SWF to FLA. Flash CS3 can't do that?
If you don't get your answer here you might want find a flash community to ask.
If you don't get your answer here you might want find a flash community to ask.
Re: A way to put my inkscape SVG's into Flash CS3?
You can save file as .emf in Inkscape and then import it to flash.
-
- Posts: 1
- Joined: Tue Apr 14, 2009 4:55 am
Re: A way to put my inkscape SVG's into Flash CS3?
I found an article that tells how to embed an svg in flash, but you have to use Flex builder or the Flex SDK (SDK is a free download from Adobe), since it requires the [embed] tag. Still, the code is actually quite simple, and it works fairly well. I tried it out, with some very slight changes, removing the textarea, as that seemed superfluous when I was working with the code, and reformatting the code a bit:
The result is that Flex's compiler transcodes (embeds) the SVG (svgImage.svg), with a Class referencing it (EmbeddedSVG). The main function then initializes a new instance of the EmbeddedSVG class in the variable svg. The variable svg is a DisplayObject, so it explicitly coerces the DisplayObject type onto the EmbeddedSVG instance, to cover all base. Finally, it adds the svg DisplayObject as a child of the svgEmbed class (hence the 'extends sprite' thing). The result is a 200x200 SWF with an embedded SVG.
This method of embedding an SVG into an SWF, as I understand from reading stuff on Adobe's livedocs pages, allows you to manipulate SVGs as Sprites or something, which is nice. Still, I noticed that there were small lines in a grid-like formation when I used it on a big SVG, probably due to Flash rendering it in blocks, which are then positioned in such a way that the edges should line up, but often don't, resulting in small gaps between blocks. On all my experiments so far, I have used SVGs which showed little or no difference in quality when I switched between High and Low qualities. Oh, and because the SVGs are just converted to vector objects in flash, they don't lose quality if you zoom in with Flash!
Source(s):
http://twelvestone.com/forum_thread/view/37584
http://livedocs.adobe.com/flex/2/docs/w ... tml#176435
Some places linked from above sites (I follow links to links to other links and get to really untraveled corners of the web that way, but I can never keep track)
Code: Select all
package {
import flash.display.DisplayObject;
import flash.display.Sprite;
[SWF(width="200", height="200")]
public class svgEmbed extends Sprite
{
public function svgEmbed()
{
var svg:DisplayObject = DisplayObject( new EmbeddedSVG() );
addChild(svg);
}
[Embed(source='svgImage.svg', mimeType='image/svg')]
protected const EmbeddedSVG:Class;
}
}
The result is that Flex's compiler transcodes (embeds) the SVG (svgImage.svg), with a Class referencing it (EmbeddedSVG). The main function then initializes a new instance of the EmbeddedSVG class in the variable svg. The variable svg is a DisplayObject, so it explicitly coerces the DisplayObject type onto the EmbeddedSVG instance, to cover all base. Finally, it adds the svg DisplayObject as a child of the svgEmbed class (hence the 'extends sprite' thing). The result is a 200x200 SWF with an embedded SVG.
This method of embedding an SVG into an SWF, as I understand from reading stuff on Adobe's livedocs pages, allows you to manipulate SVGs as Sprites or something, which is nice. Still, I noticed that there were small lines in a grid-like formation when I used it on a big SVG, probably due to Flash rendering it in blocks, which are then positioned in such a way that the edges should line up, but often don't, resulting in small gaps between blocks. On all my experiments so far, I have used SVGs which showed little or no difference in quality when I switched between High and Low qualities. Oh, and because the SVGs are just converted to vector objects in flash, they don't lose quality if you zoom in with Flash!
Source(s):
http://twelvestone.com/forum_thread/view/37584
http://livedocs.adobe.com/flex/2/docs/w ... tml#176435
Some places linked from above sites (I follow links to links to other links and get to really untraveled corners of the web that way, but I can never keep track)
Re: A way to put my inkscape SVG's into Flash CS3?
Try EPS, I have used EPS from Adobe Illustrator to flash many times, and from InkScape to Adobe Illustrator (export every layer as separate EPS file to import it to separate layer in Adobe Illustrator)
InkScapes layer effect can't other program read in any format, is my experience.
/Tommy Hjalmarsson
InkScapes layer effect can't other program read in any format, is my experience.
/Tommy Hjalmarsson
Re: A way to put my inkscape SVG's into Flash CS3?
Ctrl+C in Inkscape and Ctrl+V in Flash usualy works, but you can't copy gradient fills that way.
Re: A way to put my inkscape SVG's into Flash CS3?
the
excelent!!! it work pretty good
Juonio wrote:You can save file as .emf in Inkscape and then import it to flash.
excelent!!! it work pretty good
-
- Posts: 10
- Joined: Tue Nov 03, 2009 12:43 am
Re: A way to put my inkscape SVG's into Flash CS3?
I've found a way. Of course, this may not be completely perfect, I happen to be using CS4. But, you should try, never the less.
1. Draw your drawing. Make it pretty.
2. Save as .EMF.
I hope CS3 supports .EMF!
1. Draw your drawing. Make it pretty.
2. Save as .EMF.
I hope CS3 supports .EMF!
Inkscape doesn't work without me...and Ctrl+Z
-
- Posts: 10
- Joined: Tue Nov 03, 2009 12:43 am
Re: A way to put my inkscape SVG's into Flash CS3?
Use a program called UNI-CONVERTER. Download here: http://sk1project.org/modules.php?name= ... p=download
Inkscape doesn't work without me...and Ctrl+Z
Re: A way to put my inkscape SVG's into Flash CS3?
showboy1080 wrote:Use a program called UNI-CONVERTER. Download here: http://sk1project.org/modules.php?name= ... p=download
I am sorry, but this program doesn't works on my computer. Maby you can recommend me another one else?