fxg

FXG and flex sdk

送分小仙女□ 提交于 2019-12-12 03:23:30
问题 I have flex sdk 4.6 installed and I want to compile AS3 class that uses FXG file for simple graphics. I have and fxg file called Speaker.fxg and I tried to import it like a package import Speaker; But when compiling it returns Error: null Also tried this [Embed(source='Speaker.fxg')] private var Speaker:Class; private var sp:Sprite = new Speaker(); and this [Embed(source='Speaker.fxg')] private var Speaker:Class; private var sp:Speaker = new Speaker(); and keep getting this error Error: no

Display vector images in iOS (SVG or FXG) [closed]

空扰寡人 提交于 2019-12-10 12:38:57
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I would like to display images in Adobe FXG file format (exported from flash) or SVG format in an iOS application. Is there an Objective-C tool or library that can render vector graphics ? (I don't want to convert my images to bitmap format ! I would like to keep vector format) 回答1: maybe SVGKit could help:

Coordinates don't change dragging scaled fxg graphics

非 Y 不嫁゛ 提交于 2019-12-10 12:23:51
问题 I'm using FlashDevelop, actionscript 3 and fxg graphics build with Illustrator (exported as fxg 2.0). I import a fxg rectangle build with Illustrator, then I set it draggable when you clik on it, so its coordinates change. This works if the rectangle scale is 1 (this means: no scale). But, if I change its scale (ex. fxgRect.scaleX = fxgRect.scaleY = 0.5; ) you can drag it but its coordinates doesn't change!! And this make me crazy because the sprite changes position but if you ask its

How to import FXG to a Shape?

流过昼夜 提交于 2019-12-08 11:53:51
问题 I can import FXG files as Sprites as follows: import graphics.mypic; // graphics/mypic.fxg var mysprite:Sprite = new mypic(); I don't always need the fancy things that come with Sprites. How can I import them to Shapes? 回答1: No, you can't cast them as Shape(s) - the internal compile-time FGX is built on top of Sprite. You can find that out by running var tig:* = new tiger(); if (tig instanceof Sprite) ... What George Profenza is referring to is runtime loading of FXG's 回答2: I don't know if

FXG Editor for Flex

て烟熏妆下的殇ゞ 提交于 2019-11-29 14:10:19
问题 The only FXG editor I've seen for Flex is by 7jigen, works online or as a Flex app. Does anyone know of a different one? It can be done in Illustrator I think, but that doesn't really offer a simple export to Flex type option, just gives coordinates. 回答1: As far as I know your best bet (if you don't want to use Illustrator) is to grab Inkscape and install the "save as FXG" plug-in. Hats off to JazzyNico for writing what is basically a monster SVG to FXG "XSL Transform" (i.e. XSLT). How to