Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Using FXG inside Flex – Improving Image quality

A good way to save some space and improving your image quality inside a flex project is using *.*fxg files. So if you have an image and you can reproduce it to a fxg file (using Illustrator for example) you just have to add that file to your flex project and use it directly.

Example:

I have a bubble.fxg file in my /assets folder.

In your component/application you can use <assets:bubble /> to add that image to the stage, using it like another object, scaling it as you wish :D

That’s it

Posted on by Fábio Belga This entry was posted in Flex and tagged , . Bookmark the permalink.

Leave a Reply