Can anybody explain why I can't get the SWF output extension working or even it to show in saving dialog.
You can find a link to this extension from: http://wiki.inkscape.org/wiki/index.php/ExtensionsRepository
I extracted the .inx file to extensions folder, but I can't see SWF file saving option when saving a file.
I compared the syntax of the swf_output.inx file to pdf_output.inx.txt file that I found from the same folder. I noticed that <name>, <filetypename> and <filetypetooltip> tags had an underscore in the pdf_output file. I tried to add underscores to swf_output with no success.
I also removed txt extension from pdf_output.inx file. After that corresponding saving option appeared to Inkscape. I also started to change pdf_output file to correspond to swf_output file. I could change name and id tags to
<_name>SWF Output</_name> <id>org.inkscape.output.swf</id>
in pdf_output.inx and it still shows up in save dialog. If I change anything else "Adobe PDF via postscript (*.pdf)" saving option won't show up. Any ideas?
-Juho-
swf_output.inx ------------------------------------------------- <inkscape-extension> <name>SWF Output</name> <id>org.inkscape.output.swf</id> <dependency type="extension">org.inkscape.output.pdf</dependency> <dependency type="executable" location="extensions">pdf2swf.sh</dependency> <dependency type="executable">pdf2swf</dependency> <output> <extension>.swf</extension> <mimetype>application/x-shockwave-flash</mimetype> <filetypename>Flash SWF (*.swf)</filetypename> <filetypetooltip>Flash movie shape</filetypetooltip> </output> <script> <command reldir="extensions">pdf2swf.sh</command> <helper_extension>org.inkscape.output.pdf</helper_extension> </script> </inkscape-extension>
pdf_output.inx.txt ------------------------------------------------- <inkscape-extension> <_name>PDF Output</_name> <id>org.inkscape.output.pdf.via_gs</id> <dependency type="extension">org.inkscape.output.ps</dependency> <dependency type="executable" location="extensions">ps2pdf.sh</dependency> <dependency type="executable">ps2pdf</dependency> <output> <extension>.pdf</extension> <mimetype>image/x-portable-document-format</mimetype> <_filetypename>Adobe PDF via postscript (*.pdf)</_filetypename> <_filetypetooltip>Adobe Portable Document Format</_filetypetooltip> </output> <script> <command reldir="extensions">ps2pdf.sh</command> <helper_extension>org.inkscape.output.ps</helper_extension> </script> </inkscape-extension>