or, or we could get the ast from a flex spark skin and take the ast and reverse the process to produce the SVG.
in flex your states are usually a one to one ratio with html pseudo states, normal, over, down, active. On Apr 29, 2016 7:11 PM, "jude" <[email protected]> wrote: > hmm if it's a simple mapping we may be able to use some of the classes out > there like as blocks or claus whalers swf utils to parse the SVG xml into > swf tags then create that class at runtime? this is probably overkill but > if we are trying to have Flex JS swf and js look the same it may be worth > looking into. > > Was considering making SVG skins for each of the Flex components. Om made > the first one for button a few years back. In my tests it worked well. > On Apr 29, 2016 4:54 PM, "Alex Harui" <[email protected]> wrote: > >> >> >> On 4/29/16, 2:01 PM, "jude" <[email protected]> wrote: >> >> >Isn't SVG markup? it should load as plain text. You may need to try >> >different content types for it to load correctly. There are a few SVG to >> >AS3 importer classes online. >> >> Embedded SVG is transcoded to a Sprite. >> >> > >> >What's being used in three MXML compiler that's used to convert embedded >> >SVG to a Sprite? >> >> AIUI, it is a simple mapping of SVG tags to SWF tags. Not all SVG tags >> are supported. >> >> >Can we convert that code into an AS3 class we can use at >> >runtime? >> >> The result of any embed is a class. >> >> -Alex >> >>
