Re: Demo of Button skinning: FXG vs. SVG

2013-04-02 Thread Om
On Mon, Apr 1, 2013 at 10:24 PM, Alex Harui wrote: > > > > On 4/1/13 3:44 PM, "Om" wrote: > > > On Mon, Apr 1, 2013 at 1:33 PM, Alex Harui wrote: > > > >> Good progress! > >> > >> You may have seen that Peter checked in an HTML5 control set. Now we > have > >> to figure out how to wire your st

Re: Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread Alex Harui
On 4/1/13 3:44 PM, "Om" wrote: > On Mon, Apr 1, 2013 at 1:33 PM, Alex Harui wrote: > >> Good progress! >> >> You may have seen that Peter checked in an HTML5 control set. Now we have >> to figure out how to wire your stuff into that. >> > > I see that the AS side is pretty bare for the h

Re: Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread Alex Harui
On 4/1/13 5:16 PM, "jude" wrote: > Thinking out loud > here but if a compiled FXG is basically raw FP drawing commands then could > the same thing be happening with SVG inside the browser? Not quite sure I follow you, but the wide variance in SVG rendering across browsers makes me think that e

Re: Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread jude
On Mon, Apr 1, 2013 at 3:33 PM, Alex Harui wrote: > Good progress! > > You may have seen that Peter checked in an HTML5 control set. Now we have > to figure out how to wire your stuff into that. > > Some comments: > 1) How should an svg button skin handle the button states in html? It > isn't >

Re: Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread Om
On Mon, Apr 1, 2013 at 3:48 PM, jude wrote: > Well done! This looks viable! Comments inline, > > > On Mon, Apr 1, 2013 at 2:59 PM, Om wrote: > > > I was able to add quite a bit of functionality to my XSLT transform. > Just > > about enough to be able to port the standard Spark Button > > (spark

Re: Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread jude
Well done! This looks viable! Comments inline, On Mon, Apr 1, 2013 at 2:59 PM, Om wrote: > I was able to add quite a bit of functionality to my XSLT transform. Just > about enough to be able to port the standard Spark Button > (spark.skins.spark.skins.ButtonSkin.mxml) to HTML5/SVG. > > Here is

Re: Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread Om
On Mon, Apr 1, 2013 at 1:33 PM, Alex Harui wrote: > Good progress! > > You may have seen that Peter checked in an HTML5 control set. Now we have > to figure out how to wire your stuff into that. > I see that the AS side is pretty bare for the html5 controls. Do you or Peter have any thoughts o

Re: Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread Alex Harui
Good progress! You may have seen that Peter checked in an HTML5 control set. Now we have to figure out how to wire your stuff into that. Some comments: 1) How should an svg button skin handle the button states in html? It isn't done with separate svg files? 2) I would think we would want to us

Demo of Button skinning: FXG vs. SVG

2013-04-01 Thread Om
I was able to add quite a bit of functionality to my XSLT transform. Just about enough to be able to port the standard Spark Button (spark.skins.spark.skins.ButtonSkin.mxml) to HTML5/SVG. Here is a demo showing them side by side: http://people.apache.org/~bigosmallm/fxg2svg/buttonskin/flexVhtml5