On Sep 8, 2014 1:04 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:
>
> Om, awesome!
>
> As the developer of an alternative AS -> JS solution, I'm wondering if
your
> contribution (especially the JS side) might be implemented in a somewhat
> less FlexJS dependent manner? It would be awesome if I could hook up the
JS
> classes I'm currently auto-creating from 'playerglobal.swc' to your
drawing
> API...

The APIs are modeled more on the spark.primitives.* classes to make it look
like FXG.  So it won't have a direct mapping with the Flash APIs.  But it
should not be impossible to make it do what you want.

Particularly the Path API does a lot of work on the AS3 side to support the
string format a path data.

Do let me know how I can help.

Thanks,
Om

>
> Thanks,
>
> EdB
>
>
>
> On Mon, Sep 8, 2014 at 9:48 AM, OmPrakash Muppirala <bigosma...@gmail.com>
> wrote:
>
> > FlexJS now supports a basic drawing API (Rect, Ellipse, Circle, Path,
> > SolidColor, SolidColorStroke)  Here are the AS3 [1] and JS [2] versions
> >
> > So far, the rendering fidelity between the Flash and SVG/HTML5 version
is
> > very very close.  For sure, there are some pretty major things to be
worked
> > out, but generally so far, the results have been very encouraging.
> >
> > You can see a quick and dirty example here:
> > Flash version:
http://people.apache.org/~bigosmallm/flexjs/drawing/flash/
> > HTML5 version:
http://people.apache.org/~bigosmallm/flexjs/drawing/html5/
> >
> > HTML5 version has been tested to work fine on Chrome, Firefox, IE11,
> > Android browser and iPad Safari.
> >
> > Next up, i will be working on the following items:
> > Polygons, Linear gradients, Radial gradients, filters and drop shadows.
> > These should bring us very close to our current FXG based drawing APIs.
> >
> > After that, I plan on programmatically recreating a few FXG based skins
in
> > FlexJS and see how we can apply it skins on UI components.
> >
> > Feedback welcome!
> >
> > [1]
> >
> >
https://github.com/apache/flex-asjs/tree/develop/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/graphics
> > [2]
> >
> >
https://github.com/apache/flex-asjs/tree/develop/frameworks/js/FlexJS/src/org/apache/flex/core/graphics
> >
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl

Reply via email to