View unanswered posts | View active topics



Reply to topic  [ 3 posts ] 
FXG or SVG ? 
Author Message
Member

Joined: Sat Jan 05, 2013 4:14 pm
Posts: 3
Reply with quote
Hi,

I'm working on a Flash game with Flash Develop. My problem, what should be graphics ?
PNG or SVG or FXG... Which is give the best quality ? While I was using PNG and I expanded graphics, graphics are looking badly.

I'm using Adobe Illustrator CS5.

When I imported SVG file, this is writing in Output panel :

Code:

Code:
[Embed(source="../lib/Menu/backGround.svg")]
public var backGroundClass:Class;

public var BackGround:Sprite;

public function Main():void
{
BackGround=new backGroundClass();
addChild(BackGround);
}


Output :

Code:
Warning: The use of SVG has been deprecated since Flex 4. Please use FXG.


And while I was testing, my drawings in the svg file are looking badly and colours are looking badly,too.

How can I use FXG and SVG drawings in Flash Develop without problems ?

Sorry for my bad English. :)


Mon Jan 07, 2013 5:32 pm
Profile
Member

Joined: Sun Aug 19, 2007 4:56 pm
Posts: 210
Location: Germany (TEMP)
Reply with quote
I used FXG couple of times and found it very convenient... sadly FD ignores it is a class file.

Check this mvcExpress example : https://github.com/MindScriptAct/mvcExp ... -ticTacToe


Tue Jan 08, 2013 12:52 pm
Profile WWW
Member

Joined: Wed Jan 14, 2015 3:56 pm
Posts: 5
Reply with quote
Very convenient... except for the fact that FXG uses the Spark library which adds 250KB to the SWF (or you can opt for a runtime RSL dependency which is even worse).

Embedding an SVG adds no overhead.


Wed Feb 25, 2015 1:09 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.