Importing SWF as sprite to gamemaker - game-maker

with the new gamemaker version we are able to import swf with vector images that allow us to scale to any screen. But i am having problem importing the files from Illustrator and Flash. I have tried all the configuration and it wont work....
have any 1 tried this yet? What configurations did you use?
thank you

Download the swf to gif converter here.
And then import the gif image.
So, you can use it as an animation too.

Export as jpeg in flash then import that image to gamemaker.

Related

How to export assets from Adobe XD to PNG, SVG, etc?

I am familiar with Figma, but new to Adobe XD.
I got a link for Adobe XD design from designer and I am able to inspect the style(css properties).
But, not sure how to export assets like icons, images.
I use chrome browser, not XD app to see the design.

Is it possible to get the css properties from a given file?

I was given an .ai file (Illustrator) with 2 styled words.
Is it possible for Photoshop or any image software to read the file and provide me with certain properties, such as font, size, decoration?
Adobe Fireworks has a Mobile Extension package for CS5, that includes a feature "CSS Properties". http://www.adobe.com/devnet/fireworks/articles/css3-mobile-pack-extracting.html
Most designers I work with use Photoshop. Fireworks can import those psd files, but the file is usually not suitble to extract css properties from. Haven't tried it with .ia files yet. For web design, everyone should use Fireworks, as that's the software that's designed to be used for the web. IA is for print, Ps is for image manipulation, Fw is for the web. There, I said it :).
Nope.............................
Try Adobe Dreamweaver or write your own HTML/CSS code, or a mixture of both. You can import things from Illustrator or Photoshop into Dreamweaver and create HTML pages.

Creating FXG for flex

I need to create flash content dynamically- towards that need to build images. I need help on two points
a) are vector graphics always better than raster graphics on size/ do vector graphics take longer to render
b) do we have open-source tools to create fxg files to import into flex builder
rg
for your b) point: just use Inkscape SVG editor.
It will allows you to convert svg to fxg starting version 0.49 thanks to the svg2fxg plug-in.
In the mean time (version 0.48) you can install the svg2fxg plug-in manually:
Install Inkscape http://inkscape.org/download/
Get the 2 svg2fxg plug-in files from here:
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/extensions/svg2fxg.inx
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/share/extensions/svg2fxg.xsl
and copy them in Inkscape extension folder (C:\Program Files (x86)\Inkscape\share\extensions on Windows 7)
You can now start Inkscape and will get a new "File -> Save As -> Flash XML graphics (*.svg)" entry.
I successfully tested it and used the fxg generated assets in on IPhone: it works fine :-)
WRT b)
I don't know an OpenSource tool, however FXG is not hard to create by hand. Just look at the button skin for example and copy the FXG definitions and play around. FXG is pretty intuitive.
Found this handy FXG editor, the only one that ive found so far:
http://fxgeditor.7jigen.net/edit/id/309
Also downloadable as an AIR app:
http://labs.7jigen.net/2010/05/15/fxg-editor-air-app/
Another solution - use a good SVG editor such as SVG Edit or yEd, then convert SVG to FXG using S2F Converter.

Can I import vector graphics file, such as illustrator generated(*.ai files), into flex3?

Can I import vector graphics file, such as illustrator generated(*.ai files), into flex3?
As far as I know the answer is no. But illustrator can export vector as a swf or svg file that you can import into flex.
Basically what you need to do is create skings that can be imported into Flex. To export the graphics as swf files you will need the Flex Component Kit for Flash CS3. This article gives a good overview of the process - http://www.adobe.com/devnet/flex/articles/skins_styles_04.html

Is there a SVG to MXML Converter?

I'm trying to use an SVG file in my Flex app - but it seems the best way to do that is to convert it to MXML. However, I cannot find an SVG to MXML converter. There seem to be a number of SVG to XAML converters (for Silverlight/C#), but I can't find anything analogous for Flash/Flex.
Any help would be appreciated.
Thanks,
Karthik
You should be able to Embed the SVG directly, without a converter.
yes, there are few libraries but i haven't come across any mature one-
- http://code.google.com/p/as3svgrendererlib/
- http://www.degrafa.org/
- http://code.google.com/p/svg-viewer/
- http://labs.zavoo.com/?p=65
Well, the SVG is an XML file, basically. So if you want to import it at runtime, you could read it as an XML file and then use the AS3 drawing API to render it. Check out this ActionScript 3 SVG renderer on Google Code!

Resources