Thanks Kevin, I guess what I meant was a more object orientated approach,
which I have enjoyed learning and using in AS3. I'll look into those
libraries you mentioned.

David

On 26 October 2012 16:11, tom rhodes <tom.rho...@gmail.com> wrote:

> how depressing that a simple AS3 question has turned into a thread about
> how everyone is now coding JS!!
>
> whilst we're on that subject though...
>
> http://haxe.org/doc/targets/js
> http://www.haxejs.org/
>
> is about as close as you are going to get to AS3 in terms of JS. i can't
> recommend haxe enough for a million reasons but the JS target has just
> improved massively in the code it generates and haxe 3 is a few months away
> which should have the complete html5 spec covered as standard, including
> webgl.
>
> On 26 October 2012 16:40, Ross Sclafani <ross.sclaf...@gmail.com> wrote:
>
> > my framework lets you code like this:
> >
> >
> > _package('com.neuromantic.display.shapes',
> >
> >         _import( 'com.neuromantic.display.shapes.Oval'),
> >
> >         _class( 'Circle' )._extends( 'Oval',{
> >                 Circle: function ( size ) {
> >                         this._super( size, size );
> >                 }
> >
> >         })
> > );
> >
> >
> >
> > Ross P. Sclafani
> > design / technology / creative
> >
> > http://ross.sclafani.net
> > http://www.twitter.com/rosssclafani
> > http://www.linkedin.com/in/rosssclafani
> > [347] 204.5714
> >
> >
> >
> > let go of even your longest held beliefs,
> > the only truth is in observation.
> >
> > On Oct 26, 2012, at 10:25 AM, Kevin Newman <capta...@unfocus.com> wrote:
> >
> > > JS doesn't have classes, and emulating them is somewhat tricky using
> the
> > prototype chain (it can be done though).
> > >
> > > The easiest way to emulate classes though is to use a framework like
> > underscore.js (which Backbone.js is built on).
> > >
> > > Kevin N.
> > >
> > >
> > > On 10/26/12 9:21 AM, David Hunter wrote:
> > >> I'd
> > >> really like to learn to approach javascript from a class-based
> approach,
> > >
> > > _______________________________________________
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > _______________________________________________
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
David Hunter

www.davidhunterdesign.com
+44 (0) 7869 104 906
@DHDPIC
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to