Re: [Flashcoders] Is it possible to over-ride as3 code in a compiled swf with external javascript?

2011-11-30 Thread Karl DeSaulniers

Or something like this maybe?

override public function StaticWidget(param1:Number = NaN,  
param2:Number = NaN, param3:ICaptivateWidgetData = null) : void

   {
   var onStageLoad:Function;
   var propertiesDialogWidth:* = param1;
   var propertiesDialogHeight:* = param2;
   var propertiesObject:* = param3;
   onStageLoad = function (event:Event) : void
   {
   stage.scaleMode = StageScaleMode.SHOW_ALL; //Then  
change this to what you need?

   stage.align = StageAlign.TOP_LEFT;
   stage.addEventListener(Event.RESIZE,  
onResizeDispatchEnterPropertiesWindow);

   return;
   }
...

Sry, my as3 is dusty at best. You may not need to reinitialize all the  
parameters, but hopefully it will point you in the right direction.

HTH,

Best,
Karl

On Nov 30, 2011, at 2:55 PM, Karl DeSaulniers wrote:

I'm not entirely sure about AS3, but couldn't you use FlashVars to  
override the stage.scaleMode = StageScaleMode.NO_SCALE; ?
If so, then you would just wrap it in SWFObject for display and use  
flashvars in your setting with that parameter added. I think that  
would be the easiest.

I could be corrected though.

HTH,
Best,
Karl


On Nov 30, 2011, at 12:13 PM, Patricia Britt wrote:

I have some compiled captivate files I am troubleshooting.  They  
have a widget.  The widget does not allow scale.  My authors do not  
have time to re-do all the captivate sims - hundreds.


I know the widget contains code to over-ride scale
 public function StaticWidget(param1:Number = NaN, param2:Number =  
NaN, param3:ICaptivateWidgetData = null)

   {
   var onStageLoad:Function;
   var propertiesDialogWidth:* = param1;
   var propertiesDialogHeight:* = param2;
   var propertiesObject:* = param3;
   onStageLoad = function (event:Event) : void
   {
   stage.scaleMode = StageScaleMode.NO_SCALE;
   stage.align = StageAlign.TOP_LEFT;
   stage.addEventListener(Event.RESIZE,  
onResizeDispatchEnterPropertiesWindow);

   return;
   }// end function

and has some external callback functions
private function init() : void
   {
   try
   {
   if (ExternalInterface.available == true)
   {
   ExternalInterface.addCallback("isStatic",  
this.isStatic);

ExternalInterface.addCallback("getInspectorParameters",  
this.getInspectorParameters);

ExternalInterface.addCallback("setInspectorParameters",  
this.setInspectorParameters);
   ExternalInterface.addCallback("setParameters",  
this.setParameters);
   ExternalInterface.addCallback("cpSetValue",  
this.cpSetValue);

ExternalInterface.addCallback("getEditModeWidth",  
this.getEditModeWidth);

ExternalInterface.addCallback("getEditModeHeight",  
this.getEditModeHeight);

ExternalInterface.addCallback("IsReadyForSnapShot",  
this.IsReadyForSnapShot);

   }
   }
   catch (e:Error)
   {
   }
   return;
   }// end function
   function isStatic() : Boolean
   {
   return true;
   }// end function


can i use the above external calls in a js file to over-ride the no  
scale option? or will i be fighting with scale the entire length of  
the animation?

Thanks
Patty
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Ross Sclafani
So it's effectively a c++ app, yes?
Any clue about using iOS APIs like uikit, web kit, mapkit, notifications, etc 
etc with HaXe?

Ross P. Sclafani
Design | Technology | Creative
347.204.5714
http://ross.sclafani.net
http://www.twitter.com/rosssclafani

On Nov 30, 2011, at 6:14 PM, tom rhodes  wrote:

> yup check out ponon. was one of the top free ones, really nicely made
> tetris style game.
> 
> http://itunes.apple.com/app/ponon!-free/id409576993?mt=8
> 
> On 1 December 2011 00:05, Ross Sclafani  wrote:
> 
>> Can anybody point to native iApps coded from HaXe? I imagine the uikit
>> views/view controllers aren't supported by this method. Anyone with insight?
>> 
>> Ross P. Sclafani
>> Design | Technology | Creative
>> 347.204.5714
>> http://ross.sclafani.net
>> http://www.twitter.com/rosssclafani
>> 
>> On Nov 30, 2011, at 5:42 PM, tom rhodes  wrote:
>> 
>>> On windows there is flashdevelop which is a good IDE.
>>> 
>>> don't really get why you think there is no type checking Eugene? in all
>> the
>>> various plug-ins etc. for different editors/IDE's that support haxe the
>>> autocompletion is done by the haxe compiler so type checking goes on all
>>> the time.
>>> 
>>> you also concentrate on writing AS3 to publish HTML5+JS+CSS, you can use
>>> haxe for that. you can also compile to iOS and android etc. etc etc. as
>>> mentioned above.
>>> 
>>> PLUS you can use the same language on the server side, the php target
>> works
>>> very well and neko is very fast indeed. ah, for the server side there is
>>> also support for nodeJS too. so you can reuse the same objects (the very
>>> same classes) in the client and the server. this is very cool indeed.
>>> 
>>> haxe is not a toy to play with, or a swiss army knife dream. it's a very
>>> real and very usefull tool.
>>> 
>>> On 30 November 2011 20:07, Matt Perkins  wrote:
>>> 
 Yep, on Windows, FlashDevelop is much better for haXe than FDT.
 Haven't had luck with refactoring yet ... Maybe I'm doing it wrong
 since I'm used to FDT for AS3.
 
 --
 Matt Perkins
 -
 http://www.nudoru.com
 
 On Nov 30, 2011, at 2:05 PM, "Merrill, Jason"
  wrote:
 
> FlashDevelop IDE support HaXe, though I don't know how far it goes.
>> But
 FlashDevelop does have many of those features, like refactoring for
>> example.
> 
> Jason Merrill
> Instructional Technology Architect II
> Bank of America  Global Learning
> 
> 
> 
> 
> 
> ___
> 
> 
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ???
>> ?
> Sent: Wednesday, November 30, 2011 1:48 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Switching to HaXe?
> 
> Alas, HaXe still doesn't have an IDE support in a proper level to call
 it a language for real projects. It's a good toy to play with. Or maybe
>> to
 dream of a swiss-knife style language "for any purpose whatsoever".
 Nevertheless, without any IDE supporting refactoring, find usages, type
 checking and all sorts of things utilized by developers, the practical
>> use
 of this language seems not to be possible.
> 
> As a developer with a real experience in creating IDE, I can affirm
>> that
 you can expect the uprise of an editor that would provide a
>> fully-featured
 HaXe support, not earlier than in one year or two (I don't count the
 rudimentary HaXe support in FDT - basic code highlight and autocomplete
>> is
 clearly not enough).
> 
> I also think that such a biodiversity of target platforms is more
 marketing than advantage. It's enough to concentrate on platform like
>> HTML5
 (JS + HTML + CSS) and provide tools to package an application in the
>> manner
 of PhoneGap. If you need a native language solution - you can always
>> write
 a plugin - one more reference to the PhoneGap project. That is not only
 reasonable, but more realistic.
> 
> In the late December a new version of Realaxy Editor (1.1) will be
 launched. Its key feature will be JS + HTML generation from the AS3
>> code.
> 
> That means, you will be able to create HTML5 projects using the regular
 ActionScript3.
> 
> ...with a debugger (breakpoints right in AS3 code).
> ...with language extensions to deal with jquery, dom, css3, d3,
 processing.
> ...with flash-api support, sound, embed, inline xml, e4x.
> ...with functionality to port your Flash projects to HTML5.
> ...with WebGL shaders support (this is the next version, close to April
 2012).
> 
> As a bonus: when the JS generator is used instead of the flash/flex
 compiler, building process is almost instant - see
 http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1
> In addition, Realaxy allows to combine JS and Flash in the same proj

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
yup check out ponon. was one of the top free ones, really nicely made
tetris style game.

http://itunes.apple.com/app/ponon!-free/id409576993?mt=8

On 1 December 2011 00:05, Ross Sclafani  wrote:

> Can anybody point to native iApps coded from HaXe? I imagine the uikit
> views/view controllers aren't supported by this method. Anyone with insight?
>
> Ross P. Sclafani
> Design | Technology | Creative
> 347.204.5714
> http://ross.sclafani.net
> http://www.twitter.com/rosssclafani
>
> On Nov 30, 2011, at 5:42 PM, tom rhodes  wrote:
>
> > On windows there is flashdevelop which is a good IDE.
> >
> > don't really get why you think there is no type checking Eugene? in all
> the
> > various plug-ins etc. for different editors/IDE's that support haxe the
> > autocompletion is done by the haxe compiler so type checking goes on all
> > the time.
> >
> > you also concentrate on writing AS3 to publish HTML5+JS+CSS, you can use
> > haxe for that. you can also compile to iOS and android etc. etc etc. as
> > mentioned above.
> >
> > PLUS you can use the same language on the server side, the php target
> works
> > very well and neko is very fast indeed. ah, for the server side there is
> > also support for nodeJS too. so you can reuse the same objects (the very
> > same classes) in the client and the server. this is very cool indeed.
> >
> > haxe is not a toy to play with, or a swiss army knife dream. it's a very
> > real and very usefull tool.
> >
> > On 30 November 2011 20:07, Matt Perkins  wrote:
> >
> >> Yep, on Windows, FlashDevelop is much better for haXe than FDT.
> >> Haven't had luck with refactoring yet ... Maybe I'm doing it wrong
> >> since I'm used to FDT for AS3.
> >>
> >> --
> >> Matt Perkins
> >> -
> >> http://www.nudoru.com
> >>
> >> On Nov 30, 2011, at 2:05 PM, "Merrill, Jason"
> >>  wrote:
> >>
> >>> FlashDevelop IDE support HaXe, though I don't know how far it goes.
>  But
> >> FlashDevelop does have many of those features, like refactoring for
> example.
> >>>
> >>> Jason Merrill
> >>> Instructional Technology Architect II
> >>> Bank of America  Global Learning
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> ___
> >>>
> >>>
> >>> -Original Message-
> >>> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> >> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ???
> ?
> >>> Sent: Wednesday, November 30, 2011 1:48 PM
> >>> To: Flash Coders List
> >>> Subject: Re: [Flashcoders] Switching to HaXe?
> >>>
> >>> Alas, HaXe still doesn't have an IDE support in a proper level to call
> >> it a language for real projects. It's a good toy to play with. Or maybe
> to
> >> dream of a swiss-knife style language "for any purpose whatsoever".
> >> Nevertheless, without any IDE supporting refactoring, find usages, type
> >> checking and all sorts of things utilized by developers, the practical
> use
> >> of this language seems not to be possible.
> >>>
> >>> As a developer with a real experience in creating IDE, I can affirm
> that
> >> you can expect the uprise of an editor that would provide a
> fully-featured
> >> HaXe support, not earlier than in one year or two (I don't count the
> >> rudimentary HaXe support in FDT - basic code highlight and autocomplete
> is
> >> clearly not enough).
> >>>
> >>> I also think that such a biodiversity of target platforms is more
> >> marketing than advantage. It's enough to concentrate on platform like
> HTML5
> >> (JS + HTML + CSS) and provide tools to package an application in the
> manner
> >> of PhoneGap. If you need a native language solution - you can always
> write
> >> a plugin - one more reference to the PhoneGap project. That is not only
> >> reasonable, but more realistic.
> >>>
> >>> In the late December a new version of Realaxy Editor (1.1) will be
> >> launched. Its key feature will be JS + HTML generation from the AS3
> code.
> >>>
> >>> That means, you will be able to create HTML5 projects using the regular
> >> ActionScript3.
> >>>
> >>> ...with a debugger (breakpoints right in AS3 code).
> >>> ...with language extensions to deal with jquery, dom, css3, d3,
> >> processing.
> >>> ...with flash-api support, sound, embed, inline xml, e4x.
> >>> ...with functionality to port your Flash projects to HTML5.
> >>> ...with WebGL shaders support (this is the next version, close to April
> >> 2012).
> >>>
> >>> As a bonus: when the JS generator is used instead of the flash/flex
> >> compiler, building process is almost instant - see
> >> http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1
> >>> In addition, Realaxy allows to combine JS and Flash in the same project
> >> (if you want to implement some functionality that is available only in
> >> Flash - like working with microphone and camera in a browser - just
> embed
> >> small Flash insertions in your HTML5 project).
> >>>
> >>> In order not to get lost in the details, a small announcement. A
> working
> >> prototype or Realaxy 1.1 will be presented just within a few da

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Ross Sclafani
Can anybody point to native iApps coded from HaXe? I imagine the uikit 
views/view controllers aren't supported by this method. Anyone with insight?

Ross P. Sclafani
Design | Technology | Creative
347.204.5714
http://ross.sclafani.net
http://www.twitter.com/rosssclafani

On Nov 30, 2011, at 5:42 PM, tom rhodes  wrote:

> On windows there is flashdevelop which is a good IDE.
> 
> don't really get why you think there is no type checking Eugene? in all the
> various plug-ins etc. for different editors/IDE's that support haxe the
> autocompletion is done by the haxe compiler so type checking goes on all
> the time.
> 
> you also concentrate on writing AS3 to publish HTML5+JS+CSS, you can use
> haxe for that. you can also compile to iOS and android etc. etc etc. as
> mentioned above.
> 
> PLUS you can use the same language on the server side, the php target works
> very well and neko is very fast indeed. ah, for the server side there is
> also support for nodeJS too. so you can reuse the same objects (the very
> same classes) in the client and the server. this is very cool indeed.
> 
> haxe is not a toy to play with, or a swiss army knife dream. it's a very
> real and very usefull tool.
> 
> On 30 November 2011 20:07, Matt Perkins  wrote:
> 
>> Yep, on Windows, FlashDevelop is much better for haXe than FDT.
>> Haven't had luck with refactoring yet ... Maybe I'm doing it wrong
>> since I'm used to FDT for AS3.
>> 
>> --
>> Matt Perkins
>> -
>> http://www.nudoru.com
>> 
>> On Nov 30, 2011, at 2:05 PM, "Merrill, Jason"
>>  wrote:
>> 
>>> FlashDevelop IDE support HaXe, though I don't know how far it goes.  But
>> FlashDevelop does have many of those features, like refactoring for example.
>>> 
>>> Jason Merrill
>>> Instructional Technology Architect II
>>> Bank of America  Global Learning
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 
>>> 
>>> -Original Message-
>>> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ??? ?
>>> Sent: Wednesday, November 30, 2011 1:48 PM
>>> To: Flash Coders List
>>> Subject: Re: [Flashcoders] Switching to HaXe?
>>> 
>>> Alas, HaXe still doesn't have an IDE support in a proper level to call
>> it a language for real projects. It's a good toy to play with. Or maybe to
>> dream of a swiss-knife style language "for any purpose whatsoever".
>> Nevertheless, without any IDE supporting refactoring, find usages, type
>> checking and all sorts of things utilized by developers, the practical use
>> of this language seems not to be possible.
>>> 
>>> As a developer with a real experience in creating IDE, I can affirm that
>> you can expect the uprise of an editor that would provide a fully-featured
>> HaXe support, not earlier than in one year or two (I don't count the
>> rudimentary HaXe support in FDT - basic code highlight and autocomplete is
>> clearly not enough).
>>> 
>>> I also think that such a biodiversity of target platforms is more
>> marketing than advantage. It's enough to concentrate on platform like HTML5
>> (JS + HTML + CSS) and provide tools to package an application in the manner
>> of PhoneGap. If you need a native language solution - you can always write
>> a plugin - one more reference to the PhoneGap project. That is not only
>> reasonable, but more realistic.
>>> 
>>> In the late December a new version of Realaxy Editor (1.1) will be
>> launched. Its key feature will be JS + HTML generation from the AS3 code.
>>> 
>>> That means, you will be able to create HTML5 projects using the regular
>> ActionScript3.
>>> 
>>> ...with a debugger (breakpoints right in AS3 code).
>>> ...with language extensions to deal with jquery, dom, css3, d3,
>> processing.
>>> ...with flash-api support, sound, embed, inline xml, e4x.
>>> ...with functionality to port your Flash projects to HTML5.
>>> ...with WebGL shaders support (this is the next version, close to April
>> 2012).
>>> 
>>> As a bonus: when the JS generator is used instead of the flash/flex
>> compiler, building process is almost instant - see
>> http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1
>>> In addition, Realaxy allows to combine JS and Flash in the same project
>> (if you want to implement some functionality that is available only in
>> Flash - like working with microphone and camera in a browser - just embed
>> small Flash insertions in your HTML5 project).
>>> 
>>> In order not to get lost in the details, a small announcement. A working
>> prototype or Realaxy 1.1 will be presented just within a few days, at a
>> conference FlashGAMM 10-12 December in Kiev. Keep in touch.
>>> 
>>> 
 Yeah, I didn't realize NME had been ported to all these other HaXe
>> targets (I may have simply misunderstood NME, I thought it was just a C++
>> target).
 
 That's just awesome. :-)
 
 Kevin N.
 
 
 On 11/30/11 6:16 AM, tom rhodes wrote:
> just catching up on the thread a bit , Kevin wrote...
>>>

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
On windows there is flashdevelop which is a good IDE.

don't really get why you think there is no type checking Eugene? in all the
various plug-ins etc. for different editors/IDE's that support haxe the
autocompletion is done by the haxe compiler so type checking goes on all
the time.

you also concentrate on writing AS3 to publish HTML5+JS+CSS, you can use
haxe for that. you can also compile to iOS and android etc. etc etc. as
mentioned above.

PLUS you can use the same language on the server side, the php target works
very well and neko is very fast indeed. ah, for the server side there is
also support for nodeJS too. so you can reuse the same objects (the very
same classes) in the client and the server. this is very cool indeed.

haxe is not a toy to play with, or a swiss army knife dream. it's a very
real and very usefull tool.

On 30 November 2011 20:07, Matt Perkins  wrote:

> Yep, on Windows, FlashDevelop is much better for haXe than FDT.
> Haven't had luck with refactoring yet ... Maybe I'm doing it wrong
> since I'm used to FDT for AS3.
>
> --
> Matt Perkins
> -
> http://www.nudoru.com
>
> On Nov 30, 2011, at 2:05 PM, "Merrill, Jason"
>  wrote:
>
> > FlashDevelop IDE support HaXe, though I don't know how far it goes.  But
> FlashDevelop does have many of those features, like refactoring for example.
> >
> > Jason Merrill
> > Instructional Technology Architect II
> > Bank of America  Global Learning
> >
> >
> >
> >
> >
> > ___
> >
> >
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ??? ?
> > Sent: Wednesday, November 30, 2011 1:48 PM
> > To: Flash Coders List
> > Subject: Re: [Flashcoders] Switching to HaXe?
> >
> > Alas, HaXe still doesn't have an IDE support in a proper level to call
> it a language for real projects. It's a good toy to play with. Or maybe to
> dream of a swiss-knife style language "for any purpose whatsoever".
> Nevertheless, without any IDE supporting refactoring, find usages, type
> checking and all sorts of things utilized by developers, the practical use
> of this language seems not to be possible.
> >
> > As a developer with a real experience in creating IDE, I can affirm that
> you can expect the uprise of an editor that would provide a fully-featured
> HaXe support, not earlier than in one year or two (I don't count the
> rudimentary HaXe support in FDT - basic code highlight and autocomplete is
> clearly not enough).
> >
> > I also think that such a biodiversity of target platforms is more
> marketing than advantage. It's enough to concentrate on platform like HTML5
> (JS + HTML + CSS) and provide tools to package an application in the manner
> of PhoneGap. If you need a native language solution - you can always write
> a plugin - one more reference to the PhoneGap project. That is not only
> reasonable, but more realistic.
> >
> > In the late December a new version of Realaxy Editor (1.1) will be
> launched. Its key feature will be JS + HTML generation from the AS3 code.
> >
> > That means, you will be able to create HTML5 projects using the regular
> ActionScript3.
> >
> > ...with a debugger (breakpoints right in AS3 code).
> > ...with language extensions to deal with jquery, dom, css3, d3,
> processing.
> > ...with flash-api support, sound, embed, inline xml, e4x.
> > ...with functionality to port your Flash projects to HTML5.
> > ...with WebGL shaders support (this is the next version, close to April
> 2012).
> >
> > As a bonus: when the JS generator is used instead of the flash/flex
> compiler, building process is almost instant - see
> http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1
> > In addition, Realaxy allows to combine JS and Flash in the same project
> (if you want to implement some functionality that is available only in
> Flash - like working with microphone and camera in a browser - just embed
> small Flash insertions in your HTML5 project).
> >
> > In order not to get lost in the details, a small announcement. A working
> prototype or Realaxy 1.1 will be presented just within a few days, at a
> conference FlashGAMM 10-12 December in Kiev. Keep in touch.
> >
> >
> >> Yeah, I didn't realize NME had been ported to all these other HaXe
> targets (I may have simply misunderstood NME, I thought it was just a C++
> target).
> >>
> >> That's just awesome. :-)
> >>
> >> Kevin N.
> >>
> >>
> >> On 11/30/11 6:16 AM, tom rhodes wrote:
> >>> just catching up on the thread a bit , Kevin wrote...
> >>>
> >>> "but it doesn't do any emulation of Flash's APIs (I'm pretty sure)"
> >>>
> >>> check it out...
> >>>
> >>> http://www.haxenme.org/api/
> >>>
> >>> then have a look at all the stuff in the nme package, display,
> >>> errors, events, external, filters, text etc. are all used as you
> >>> would use them in flash except they compile to c++ (iOS, android,
> >>> webOS, mac, pc, linux), flash and html5.
> >>
> >> __

Re: [Flashcoders] Is it possible to over-ride as3 code in a compiled swf with external javascript?

2011-11-30 Thread Karl DeSaulniers
I'm not entirely sure about AS3, but couldn't you use FlashVars to  
override the stage.scaleMode = StageScaleMode.NO_SCALE; ?
If so, then you would just wrap it in SWFObject for display and use  
flashvars in your setting with that parameter added. I think that  
would be the easiest.

I could be corrected though.

HTH,
Best,
Karl


On Nov 30, 2011, at 12:13 PM, Patricia Britt wrote:

I have some compiled captivate files I am troubleshooting.  They  
have a widget.  The widget does not allow scale.  My authors do not  
have time to re-do all the captivate sims - hundreds.


I know the widget contains code to over-ride scale
  public function StaticWidget(param1:Number = NaN, param2:Number =  
NaN, param3:ICaptivateWidgetData = null)

{
var onStageLoad:Function;
var propertiesDialogWidth:* = param1;
var propertiesDialogHeight:* = param2;
var propertiesObject:* = param3;
onStageLoad = function (event:Event) : void
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE,  
onResizeDispatchEnterPropertiesWindow);

return;
}// end function

and has some external callback functions
 private function init() : void
{
try
{
if (ExternalInterface.available == true)
{
ExternalInterface.addCallback("isStatic",  
this.isStatic);
 
ExternalInterface.addCallback("getInspectorParameters",  
this.getInspectorParameters);
 
ExternalInterface.addCallback("setInspectorParameters",  
this.setInspectorParameters);
ExternalInterface.addCallback("setParameters",  
this.setParameters);
ExternalInterface.addCallback("cpSetValue",  
this.cpSetValue);
 
ExternalInterface.addCallback("getEditModeWidth",  
this.getEditModeWidth);
 
ExternalInterface.addCallback("getEditModeHeight",  
this.getEditModeHeight);
 
ExternalInterface.addCallback("IsReadyForSnapShot",  
this.IsReadyForSnapShot);

}
}
catch (e:Error)
{
}
return;
}// end function
function isStatic() : Boolean
{
return true;
}// end function


can i use the above external calls in a js file to over-ride the no  
scale option? or will i be fighting with scale the entire length of  
the animation?

Thanks
Patty
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Matt Perkins
Yep, on Windows, FlashDevelop is much better for haXe than FDT.
Haven't had luck with refactoring yet ... Maybe I'm doing it wrong
since I'm used to FDT for AS3.

--
Matt Perkins
-
http://www.nudoru.com

On Nov 30, 2011, at 2:05 PM, "Merrill, Jason"
 wrote:

> FlashDevelop IDE support HaXe, though I don't know how far it goes.  But 
> FlashDevelop does have many of those features, like refactoring for example.
>
> Jason Merrill
> Instructional Technology Architect II
> Bank of America  Global Learning
>
>
>
>
>
> ___
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com 
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ??? 
> ?
> Sent: Wednesday, November 30, 2011 1:48 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Switching to HaXe?
>
> Alas, HaXe still doesn't have an IDE support in a proper level to call it a 
> language for real projects. It's a good toy to play with. Or maybe to dream 
> of a swiss-knife style language "for any purpose whatsoever". Nevertheless, 
> without any IDE supporting refactoring, find usages, type checking and all 
> sorts of things utilized by developers, the practical use of this language 
> seems not to be possible.
>
> As a developer with a real experience in creating IDE, I can affirm that you 
> can expect the uprise of an editor that would provide a fully-featured HaXe 
> support, not earlier than in one year or two (I don't count the rudimentary 
> HaXe support in FDT - basic code highlight and autocomplete is clearly not 
> enough).
>
> I also think that such a biodiversity of target platforms is more marketing 
> than advantage. It's enough to concentrate on platform like HTML5 (JS + HTML 
> + CSS) and provide tools to package an application in the manner of PhoneGap. 
> If you need a native language solution - you can always write a plugin - one 
> more reference to the PhoneGap project. That is not only reasonable, but more 
> realistic.
>
> In the late December a new version of Realaxy Editor (1.1) will be launched. 
> Its key feature will be JS + HTML generation from the AS3 code.
>
> That means, you will be able to create HTML5 projects using the regular 
> ActionScript3.
>
> ...with a debugger (breakpoints right in AS3 code).
> ...with language extensions to deal with jquery, dom, css3, d3, processing.
> ...with flash-api support, sound, embed, inline xml, e4x.
> ...with functionality to port your Flash projects to HTML5.
> ...with WebGL shaders support (this is the next version, close to April 2012).
>
> As a bonus: when the JS generator is used instead of the flash/flex compiler, 
> building process is almost instant - see 
> http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1
> In addition, Realaxy allows to combine JS and Flash in the same project (if 
> you want to implement some functionality that is available only in Flash - 
> like working with microphone and camera in a browser - just embed small Flash 
> insertions in your HTML5 project).
>
> In order not to get lost in the details, a small announcement. A working 
> prototype or Realaxy 1.1 will be presented just within a few days, at a 
> conference FlashGAMM 10-12 December in Kiev. Keep in touch.
>
>
>> Yeah, I didn't realize NME had been ported to all these other HaXe targets 
>> (I may have simply misunderstood NME, I thought it was just a C++ target).
>>
>> That's just awesome. :-)
>>
>> Kevin N.
>>
>>
>> On 11/30/11 6:16 AM, tom rhodes wrote:
>>> just catching up on the thread a bit , Kevin wrote...
>>>
>>> "but it doesn't do any emulation of Flash's APIs (I'm pretty sure)"
>>>
>>> check it out...
>>>
>>> http://www.haxenme.org/api/
>>>
>>> then have a look at all the stuff in the nme package, display,
>>> errors, events, external, filters, text etc. are all used as you
>>> would use them in flash except they compile to c++ (iOS, android,
>>> webOS, mac, pc, linux), flash and html5.
>>
>> ___
>> 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
>
> --
> This message w/attachments (message) is intended solely for the use of the 
> intended recipient(s) and may contain information that is privileged, 
> confidential or proprietary. If you are not an intended recipient, please 
> notify the sender, and then please delete and destroy all copies and 
> attachments, and be advised that any review or dissemination of, or the 
> taking of any action in reliance on, the information contained in or attached 
> to this message is prohibited.
> Unless specifically indicated, this message is not an offer to sell or a 
> solicitation of any investment prod

RE: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Merrill, Jason
FlashDevelop IDE support HaXe, though I don't know how far it goes.  But 
FlashDevelop does have many of those features, like refactoring for example.

 Jason Merrill
 Instructional Technology Architect II
 Bank of America  Global Learning 





___


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ??? 
?
Sent: Wednesday, November 30, 2011 1:48 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Switching to HaXe?

Alas, HaXe still doesn't have an IDE support in a proper level to call it a 
language for real projects. It's a good toy to play with. Or maybe to dream of 
a swiss-knife style language "for any purpose whatsoever". Nevertheless, 
without any IDE supporting refactoring, find usages, type checking and all 
sorts of things utilized by developers, the practical use of this language 
seems not to be possible.

As a developer with a real experience in creating IDE, I can affirm that you 
can expect the uprise of an editor that would provide a fully-featured HaXe 
support, not earlier than in one year or two (I don't count the rudimentary 
HaXe support in FDT - basic code highlight and autocomplete is clearly not 
enough).

I also think that such a biodiversity of target platforms is more marketing 
than advantage. It's enough to concentrate on platform like HTML5 (JS + HTML + 
CSS) and provide tools to package an application in the manner of PhoneGap. If 
you need a native language solution - you can always write a plugin - one more 
reference to the PhoneGap project. That is not only reasonable, but more 
realistic. 

In the late December a new version of Realaxy Editor (1.1) will be launched. 
Its key feature will be JS + HTML generation from the AS3 code.

That means, you will be able to create HTML5 projects using the regular 
ActionScript3.

...with a debugger (breakpoints right in AS3 code).
...with language extensions to deal with jquery, dom, css3, d3, processing.
...with flash-api support, sound, embed, inline xml, e4x.
...with functionality to port your Flash projects to HTML5.
...with WebGL shaders support (this is the next version, close to April 2012).

As a bonus: when the JS generator is used instead of the flash/flex compiler, 
building process is almost instant - see 
http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1
In addition, Realaxy allows to combine JS and Flash in the same project (if you 
want to implement some functionality that is available only in Flash - like 
working with microphone and camera in a browser - just embed small Flash 
insertions in your HTML5 project).

In order not to get lost in the details, a small announcement. A working 
prototype or Realaxy 1.1 will be presented just within a few days, at a 
conference FlashGAMM 10-12 December in Kiev. Keep in touch.


> Yeah, I didn't realize NME had been ported to all these other HaXe targets (I 
> may have simply misunderstood NME, I thought it was just a C++ target).
> 
> That's just awesome. :-)
> 
> Kevin N.
> 
> 
> On 11/30/11 6:16 AM, tom rhodes wrote:
>> just catching up on the thread a bit , Kevin wrote...
>> 
>> "but it doesn't do any emulation of Flash's APIs (I'm pretty sure)"
>> 
>> check it out...
>> 
>> http://www.haxenme.org/api/
>> 
>> then have a look at all the stuff in the nme package, display, 
>> errors, events, external, filters, text etc. are all used as you 
>> would use them in flash except they compile to c++ (iOS, android, 
>> webOS, mac, pc, linux), flash and html5.
> 
> ___
> 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

--
This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law. 
The laws of the country of each sender/recipient may impact the 

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Евгений Потапенко
Alas, HaXe still doesn't have an IDE support in a proper level to call it a 
language for real projects. It's a good toy to play with. Or maybe to dream of 
a swiss-knife style language "for any purpose whatsoever". Nevertheless, 
without any IDE supporting refactoring, find usages, type checking and all 
sorts of things utilized by developers, the practical use of this language 
seems not to be possible.

As a developer with a real experience in creating IDE, I can affirm that you 
can expect the uprise of an editor that would provide a fully-featured HaXe 
support, not earlier than in one year or two (I don't count the rudimentary 
HaXe support in FDT — basic code highlight and autocomplete is clearly not 
enough).

I also think that such a biodiversity of target platforms is more marketing 
than advantage. It's enough to concentrate on platform like HTML5 (JS + HTML + 
CSS) and provide tools to package an application in the manner of PhoneGap. If 
you need a native language solution - you can always write a plugin - one more 
reference to the PhoneGap project. That is not only reasonable, but more 
realistic. 

In the late December a new version of Realaxy Editor (1.1) will be launched. 
Its key feature will be JS + HTML generation from the AS3 code.

That means, you will be able to create HTML5 projects using the regular 
ActionScript3.

…with a debugger (breakpoints right in AS3 code).
…with language extensions to deal with jquery, dom, css3, d3, processing.
…with flash-api support, sound, embed, inline xml, e4x.
…with functionality to port your Flash projects to HTML5.
…with WebGL shaders support (this is the next version, close to April 2012).

As a bonus: when the JS generator is used instead of the flash/flex compiler, 
building process is almost instant - see 
http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1
In addition, Realaxy allows to combine JS and Flash in the same project (if you 
want to implement some functionality that is available only in Flash - like 
working with microphone and camera in a browser - just embed small Flash 
insertions in your HTML5 project).

In order not to get lost in the details, a small announcement. A working 
prototype or Realaxy 1.1 will be presented just within a few days, at a 
conference FlashGAMM 10-12 December in Kiev. Keep in touch.


> Yeah, I didn't realize NME had been ported to all these other HaXe targets (I 
> may have simply misunderstood NME, I thought it was just a C++ target).
> 
> That's just awesome. :-)
> 
> Kevin N.
> 
> 
> On 11/30/11 6:16 AM, tom rhodes wrote:
>> just catching up on the thread a bit , Kevin wrote...
>> 
>> "but it doesn't do any emulation of Flash's APIs (I'm pretty sure)"
>> 
>> check it out...
>> 
>> http://www.haxenme.org/api/
>> 
>> then have a look at all the stuff in the nme package, display, errors,
>> events, external, filters, text etc. are all used as you would use them in
>> flash except they compile to c++ (iOS, android, webOS, mac, pc, linux),
>> flash and html5.
> 
> ___
> 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


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kevin Newman
My info seems to be out of date (re: NME for example) - but HaXe came 
from MTASC, which was an alternative AS2 to bytecode compiler. I think 
haXe's first target was AVM2 bytecode, having been built after MTASC, 
and the creator not wanting to bother with "questionable" AS3 design 
considerations (and limitations - he might also have started it before 
AS3, I don't remember). Then came the JavaScript port - and the many 
other "meta language" ports. There is even a "native" runtime (Neko) for 
HaXe and there has been talk of an LLVM target on occasion (no idea what 
the status is on that).


Basically, HaXe mostly compiles to other languages instead of machine or 
bytecode, but in the case of Flash, it compiles straight to (highly 
optimized) AVM2 bytecode.


Kevin N.


On 11/30/11 12:41 PM, Merrill, Jason wrote:

Ooh - awesome.  Compiling to Java and C# also - so it produces the actual class 
files for the languages - not just compiles down to the executable runtimes 
right?  Like it produces .as files not just a .swf?


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kevin Newman
Wow, they have Stage3D in there - I may have to seriously consider 
moving into HaXe. Sounds awesome. :-)


Kevin N.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Is it possible to over-ride as3 code in a compiled swf with external javascript?

2011-11-30 Thread Patricia Britt
I have some compiled captivate files I am troubleshooting.  They have a 
widget.  The widget does not allow scale.  My authors do not have time to re-do 
all the captivate sims - hundreds.
 
I know the widget contains code to over-ride scale
  public function StaticWidget(param1:Number = NaN, param2:Number = NaN, 
param3:ICaptivateWidgetData = null)
    {
    var onStageLoad:Function;
    var propertiesDialogWidth:* = param1;
    var propertiesDialogHeight:* = param2;
    var propertiesObject:* = param3;
    onStageLoad = function (event:Event) : void
    {
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, 
onResizeDispatchEnterPropertiesWindow);
    return;
    }// end function
 
and has some external callback functions
 private function init() : void
    {
    try
    {
    if (ExternalInterface.available == true)
    {
    ExternalInterface.addCallback("isStatic", this.isStatic);
    ExternalInterface.addCallback("getInspectorParameters", 
this.getInspectorParameters);
    ExternalInterface.addCallback("setInspectorParameters", 
this.setInspectorParameters);
    ExternalInterface.addCallback("setParameters", 
this.setParameters);
    ExternalInterface.addCallback("cpSetValue", 
this.cpSetValue);
    ExternalInterface.addCallback("getEditModeWidth", 
this.getEditModeWidth);
    ExternalInterface.addCallback("getEditModeHeight", 
this.getEditModeHeight);
    ExternalInterface.addCallback("IsReadyForSnapShot", 
this.IsReadyForSnapShot);
    }
    }
    catch (e:Error)
    {
    }
    return;
    }// end function
    function isStatic() : Boolean
    {
    return true;
    }// end function
 
 
can i use the above external calls in a js file to over-ride the no scale 
option? or will i be fighting with scale the entire length of the animation?
Thanks
Patty
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
you can choose to compile to swf or AS3 classes :)

http://haxe.org/doc/flash/as3gen


On 30 November 2011 18:41, Merrill, Jason
wrote:

> Ooh - awesome.  Compiling to Java and C# also - so it produces the actual
> class files for the languages - not just compiles down to the executable
> runtimes right?  Like it produces .as files not just a .swf?
>
>  Jason Merrill
>  Instructional Technology Architect II
>  Bank of America  Global Learning
>
>
>
>
>
> ___
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of tom rhodes
> Sent: Wednesday, November 30, 2011 12:18 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Switching to HaXe?
>
> haxe has been around for a long time already. the community is growing and
> not shrinking. open source as a model i would say is better in the long run
> than proprietary (just look at what adobe have done to flash/flex).
>
> haxe also isn't tied to one particular technology, so it stands a greater
> chance of adapting to change. it compiles to readable JS code, PHP, AS3,
> c++ code etc. so what you make with it is also maintanable without using
> haxe.
>
> there are also more targets coming for haxe, java and c# will be coming
> soon (was supposed to be for the end of the year, but may be a little
> after).
>
>
> On 30 November 2011 17:43, Andrew Sinning  wrote:
>
> > Jumping into this discussion.
> >
> > Is anybody concerned that HaXe will die or languish, that features
> > will be unsupported or broken on customer platforms?  I don't see any
> > major players on the list of HaXe projects (http://haxe.org/com/projects
> ).
> >
> > GWT on the other hand.  You get the full faith and credit of one of
> > the most powerful companies in the world behind your development
> > platform.  On the downside, you have to learn Java.
> > ___
> > 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
>
> --
> This message w/attachments (message) is intended solely for the use of the
> intended recipient(s) and may contain information that is privileged,
> confidential or proprietary. If you are not an intended recipient, please
> notify the sender, and then please delete and destroy all copies and
> attachments, and be advised that any review or dissemination of, or the
> taking of any action in reliance on, the information contained in or
> attached to this message is prohibited.
> Unless specifically indicated, this message is not an offer to sell or a
> solicitation of any investment products or other financial product or
> service, an official confirmation of any transaction, or an official
> statement of Sender. Subject to applicable law, Sender may intercept,
> monitor, review and retain e-communications (EC) traveling through its
> networks/systems and may produce any such EC to regulators, law
> enforcement, in litigation and as required by law.
> The laws of the country of each sender/recipient may impact the handling
> of EC, and EC may be archived, supervised and produced in countries other
> than the country in which you are located. This message cannot be
> guaranteed to be secure or free of errors or viruses.
>
> References to "Sender" are references to any subsidiary of Bank of America
> Corporation. Securities and Insurance Products: * Are Not FDIC Insured *
> Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not
> a Condition to Any Banking Service or Activity * Are Not Insured by Any
> Federal Government Agency. Attachments that are part of this EC may have
> additional important disclosures and disclaimers, which you should read.
> This message is subject to terms available at the following link:
> http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender
> you consent to the foregoing.
> ___
> 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


RE: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Merrill, Jason
Ooh - awesome.  Compiling to Java and C# also - so it produces the actual class 
files for the languages - not just compiles down to the executable runtimes 
right?  Like it produces .as files not just a .swf?

 Jason Merrill
 Instructional Technology Architect II
 Bank of America  Global Learning 





___


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of tom rhodes
Sent: Wednesday, November 30, 2011 12:18 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Switching to HaXe?

haxe has been around for a long time already. the community is growing and not 
shrinking. open source as a model i would say is better in the long run than 
proprietary (just look at what adobe have done to flash/flex).

haxe also isn't tied to one particular technology, so it stands a greater 
chance of adapting to change. it compiles to readable JS code, PHP, AS3,
c++ code etc. so what you make with it is also maintanable without using
haxe.

there are also more targets coming for haxe, java and c# will be coming soon 
(was supposed to be for the end of the year, but may be a little after).


On 30 November 2011 17:43, Andrew Sinning  wrote:

> Jumping into this discussion.
>
> Is anybody concerned that HaXe will die or languish, that features 
> will be unsupported or broken on customer platforms?  I don't see any 
> major players on the list of HaXe projects (http://haxe.org/com/projects).
>
> GWT on the other hand.  You get the full faith and credit of one of 
> the most powerful companies in the world behind your development 
> platform.  On the downside, you have to learn Java.
> ___
> 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

--
This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law. 
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses. 

References to "Sender" are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link: 
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Andrew Sinning
PHP was started in 1995.  HaXe in 2005.  6 years out, in 2001, PHP was HUGE!

More importantly, HaXe if far more ambitious than PHP.


On Wed, Nov 30, 2011 at 11:10 AM, Kevin Newman  wrote:

> The same thing could have been said of PHP many years ago. I don't think
> HaXe is going anywhere.
>
> Kevin N.
>
>
> On 11/30/11 11:43 AM, Andrew Sinning wrote:
>
>> Jumping into this discussion.
>>
>> Is anybody concerned that HaXe will die or languish, that features will be
>> unsupported or broken on customer platforms?  I don't see any major
>> players
>> on the list of HaXe projects (http://haxe.org/com/projects)**.
>>
>> GWT on the other hand.  You get the full faith and credit of one of the
>> most powerful companies in the world behind your development platform.  On
>> the downside, you have to learn Java.
>>
>
> __**_
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.**com 
> http://chattyfig.figleaf.com/**mailman/listinfo/flashcoders
>



-- 
Andrew Sinning
LearningWare Engineer
Desk: 651-289-7373
Cell: 612-296-3646
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
haxe has been around for a long time already. the community is growing and
not shrinking. open source as a model i would say is better in the long run
than proprietary (just look at what adobe have done to flash/flex).

haxe also isn't tied to one particular technology, so it stands a greater
chance of adapting to change. it compiles to readable JS code, PHP, AS3,
c++ code etc. so what you make with it is also maintanable without using
haxe.

there are also more targets coming for haxe, java and c# will be coming
soon (was supposed to be for the end of the year, but may be a little
after).


On 30 November 2011 17:43, Andrew Sinning  wrote:

> Jumping into this discussion.
>
> Is anybody concerned that HaXe will die or languish, that features will be
> unsupported or broken on customer platforms?  I don't see any major players
> on the list of HaXe projects (http://haxe.org/com/projects).
>
> GWT on the other hand.  You get the full faith and credit of one of the
> most powerful companies in the world behind your development platform.  On
> the downside, you have to learn Java.
> ___
> 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


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kevin Newman
The same thing could have been said of PHP many years ago. I don't think 
HaXe is going anywhere.


Kevin N.


On 11/30/11 11:43 AM, Andrew Sinning wrote:

Jumping into this discussion.

Is anybody concerned that HaXe will die or languish, that features will be
unsupported or broken on customer platforms?  I don't see any major players
on the list of HaXe projects (http://haxe.org/com/projects).

GWT on the other hand.  You get the full faith and credit of one of the
most powerful companies in the world behind your development platform.  On
the downside, you have to learn Java.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kevin Newman
Yeah, I didn't realize NME had been ported to all these other HaXe 
targets (I may have simply misunderstood NME, I thought it was just a 
C++ target).


That's just awesome. :-)

Kevin N.


On 11/30/11 6:16 AM, tom rhodes wrote:

just catching up on the thread a bit , Kevin wrote...

"but it doesn't do any emulation of Flash's APIs (I'm pretty sure)"

check it out...

http://www.haxenme.org/api/

then have a look at all the stuff in the nme package, display, errors,
events, external, filters, text etc. are all used as you would use them in
flash except they compile to c++ (iOS, android, webOS, mac, pc, linux),
flash and html5.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Matt Perkins
I'm not too worried about it dying right now.  It's interesting to
learn something new and you get the benefits of being able to produce
code for other languages without learning too much about them right
away.

I'm treating it as a mental exercise that let's me produce Flash apps
while getting out of AS3 and learning new skills as I look to move
into JS/HTML5/native later on.

--
Matt Perkins
-
http://www.nudoru.com

On Nov 30, 2011, at 11:45 AM, Andrew Sinning  wrote:

> Jumping into this discussion.
>
> Is anybody concerned that HaXe will die or languish, that features will be
> unsupported or broken on customer platforms?  I don't see any major players
> on the list of HaXe projects (http://haxe.org/com/projects).
>
> GWT on the other hand.  You get the full faith and credit of one of the
> most powerful companies in the world behind your development platform.  On
> the downside, you have to learn Java.
> ___
> 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


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Andrew Sinning
Jumping into this discussion.

Is anybody concerned that HaXe will die or languish, that features will be
unsupported or broken on customer platforms?  I don't see any major players
on the list of HaXe projects (http://haxe.org/com/projects).

GWT on the other hand.  You get the full faith and credit of one of the
most powerful companies in the world behind your development platform.  On
the downside, you have to learn Java.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
@Kurt: yeah the list is the best resource.

haxe is based on AS3, but you get better structure, type inference, enums,
typedefs all sorts of extra goodies

On 30 November 2011 17:20, Matt Perkins  wrote:

> It's only been three days but haXe seems to be able to use all of AS3
> intermingled with haXe syntax, so I'm thinking of it as AS3++.  (maybe
> that's a stretch)
>
> --
> Matt Perkins
> -
> http://www.nudoru.com
>
> On Nov 30, 2011, at 9:53 AM, "Merrill, Jason"
>  wrote:
>
> > Wow, thanks for all this discussion - this is great!  So many good
> responses, thanks everyone for contributing and keep it coming!  I think
> I'm definitely taking up haXe in 2012!
> >
> > Another question, I know haXe is just as good and powerful (if not more)
> than AS3, but does AS3 have any syntactical / features that give it an
> advantage over haXe or is haXe just a better language overall in your
> opinion(s)?
> >
> > Jason Merrill
> > Instructional Technology Architect II
> > Bank of America  Global Learning
> >
> >
> >
> >
> >
> > ___
> >
> >
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kurt Dommermuth
> > Sent: Wednesday, November 30, 2011 8:35 AM
> > To: Flash Coders List
> > Subject: Re: [Flashcoders] Switching to HaXe?
> >
> > Thanks again Tom. The example is impressive.
> >
> > On Wed, Nov 30, 2011 at 8:21 AM, tom rhodes 
> wrote:
> >
> >> Hi,
> >>
> >> ok, initially the haxe flash api to html5 was done with a lib called
> jeash.
> >> which has been around for a while now. the nme project has very
> >> recently incorporated jeash as it's route to html5.
> >>
> >> here is a nice example of using one codebase to hit swf and html5...
> >>
> >>
> >> http://www.joshuagranick.com/blog/2011/09/22/first-glimpse-at-cross-pl
> >> atform-game-running-flash-and-html5/
> >>
> >> if you do a google for haxe jeash, you'll see it's been around for a
> >> while and it's integration into nme seems pretty natural. they were
> >> parallel efforts in intepreting the flash api for ages...
> >>
> >> On 30 November 2011 14:03, Kurt Dommermuth 
> >> wrote:
> >>
> >>> Hi Tom,
> >>>
> >>> Thank you.  I'm going to look into Haxe more.
> >>>
> >>> Psychologically I have a stumbling block with NME.  On their how it
> >>> works page (http://www.haxenme.org/about-nme/how-it-works/) there
> >>> are
> >> solutions
> >>> that go in the opposite direction of what I'm personally interested in.
> >>>
> >>> They very nicely show how NME publishes to SWF, iOS, webOS, Android,
> >>> MAC/LInux, but it doesn't mention publishing to HTML5/JS.
> >>>
> >>> It very well may, but you can understand why I'd tend to move on if
> >>> it's not mentioned on that page.
> >>>
> >>> Forgive me if I'm missing something.  I'm deep in this search for a
> >>> solution and I'll be the first to admit I could easily misunderstand
> >>> something.
> >>>
> >>> Kurt
> >>>
> >>> On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes 
> >> wrote:
> >>>
>  the haxe forum isn't very active but the mailing list is, and it
>  is a
> >>> great
>  place to get help to get started.
> 
>  this is the new home of the list
> 
>  https://groups.google.com/group/haxelang/topics?pli=1
> 
>  you have to dig around a bit to get going as documentation is
>  limited
> >> at
>  the moment but the list is the best place to get the information
>  you
> >>> need.
> 
>  if you want to do html5 using code that is familiar to you as an
>  AS3
> >>> coder
>  then look at NME as i mentioned in a previous post.
> 
>  On 30 November 2011 13:16, Kurt Dommermuth
>  
>  wrote:
> 
> > Hi Jason,
> >
> > You're very first statement is exactly what interests me too.
> > You
> >>> wrote
> > "Thinking of starting to learn haXe to produce OOP apps and
> > export as Javascript for HTML 5 apps."
> >
> > What are your thoughts so far?  I just looked at Haxe too but
> > I'm
>  concerned
> > because there doesn't seem to be a lot of actvity in the Haxe forum.
> >
> > I'm at a loss this morning because at this moment I really just
> > want
> >> to
> > make a web based app that performs well on the iPhone. I have
> > looked
> >> at
>  the
> > following and am not finding satisfaction:
> >
> > appmobi - they get too many hooks into you and force you down
> > paths
> >> you
>  may
> > not necessarily want to go - like using the Amazon network to
> > store
>  files.
> > I just wanted to grab my resources and upload them to MY server.
> > No
> >>> easy
> > task with appmobi.
> >
> > phonegap - everyone seems to love it, but it seems to be
> > primarily
> >>> geared
> > to use traditional web based tools to compile to native apps.  I
> > want
> >>> to
>  be
> > on the web - not 

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Matt Perkins
It's only been three days but haXe seems to be able to use all of AS3
intermingled with haXe syntax, so I'm thinking of it as AS3++.  (maybe
that's a stretch)

--
Matt Perkins
-
http://www.nudoru.com

On Nov 30, 2011, at 9:53 AM, "Merrill, Jason"
 wrote:

> Wow, thanks for all this discussion - this is great!  So many good responses, 
> thanks everyone for contributing and keep it coming!  I think I'm definitely 
> taking up haXe in 2012!
>
> Another question, I know haXe is just as good and powerful (if not more) than 
> AS3, but does AS3 have any syntactical / features that give it an advantage 
> over haXe or is haXe just a better language overall in your opinion(s)?
>
> Jason Merrill
> Instructional Technology Architect II
> Bank of America  Global Learning
>
>
>
>
>
> ___
>
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com 
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kurt 
> Dommermuth
> Sent: Wednesday, November 30, 2011 8:35 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Switching to HaXe?
>
> Thanks again Tom. The example is impressive.
>
> On Wed, Nov 30, 2011 at 8:21 AM, tom rhodes  wrote:
>
>> Hi,
>>
>> ok, initially the haxe flash api to html5 was done with a lib called jeash.
>> which has been around for a while now. the nme project has very
>> recently incorporated jeash as it's route to html5.
>>
>> here is a nice example of using one codebase to hit swf and html5...
>>
>>
>> http://www.joshuagranick.com/blog/2011/09/22/first-glimpse-at-cross-pl
>> atform-game-running-flash-and-html5/
>>
>> if you do a google for haxe jeash, you'll see it's been around for a
>> while and it's integration into nme seems pretty natural. they were
>> parallel efforts in intepreting the flash api for ages...
>>
>> On 30 November 2011 14:03, Kurt Dommermuth 
>> wrote:
>>
>>> Hi Tom,
>>>
>>> Thank you.  I'm going to look into Haxe more.
>>>
>>> Psychologically I have a stumbling block with NME.  On their how it
>>> works page (http://www.haxenme.org/about-nme/how-it-works/) there
>>> are
>> solutions
>>> that go in the opposite direction of what I'm personally interested in.
>>>
>>> They very nicely show how NME publishes to SWF, iOS, webOS, Android,
>>> MAC/LInux, but it doesn't mention publishing to HTML5/JS.
>>>
>>> It very well may, but you can understand why I'd tend to move on if
>>> it's not mentioned on that page.
>>>
>>> Forgive me if I'm missing something.  I'm deep in this search for a
>>> solution and I'll be the first to admit I could easily misunderstand
>>> something.
>>>
>>> Kurt
>>>
>>> On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes 
>> wrote:
>>>
 the haxe forum isn't very active but the mailing list is, and it
 is a
>>> great
 place to get help to get started.

 this is the new home of the list

 https://groups.google.com/group/haxelang/topics?pli=1

 you have to dig around a bit to get going as documentation is
 limited
>> at
 the moment but the list is the best place to get the information
 you
>>> need.

 if you want to do html5 using code that is familiar to you as an
 AS3
>>> coder
 then look at NME as i mentioned in a previous post.

 On 30 November 2011 13:16, Kurt Dommermuth
 
 wrote:

> Hi Jason,
>
> You're very first statement is exactly what interests me too.
> You
>>> wrote
> "Thinking of starting to learn haXe to produce OOP apps and
> export as Javascript for HTML 5 apps."
>
> What are your thoughts so far?  I just looked at Haxe too but
> I'm
 concerned
> because there doesn't seem to be a lot of actvity in the Haxe forum.
>
> I'm at a loss this morning because at this moment I really just
> want
>> to
> make a web based app that performs well on the iPhone. I have
> looked
>> at
 the
> following and am not finding satisfaction:
>
> appmobi - they get too many hooks into you and force you down
> paths
>> you
 may
> not necessarily want to go - like using the Amazon network to
> store
 files.
> I just wanted to grab my resources and upload them to MY server.
> No
>>> easy
> task with appmobi.
>
> phonegap - everyone seems to love it, but it seems to be
> primarily
>>> geared
> to use traditional web based tools to compile to native apps.  I
> want
>>> to
 be
> on the web - not the device.
>
> jQuery mobile - assumes you want to make a web site, not an app
> and
 injects
> all kinds of styles that get in the way.  I'm a big fan of
> jQuery,
>> but
> jQuery mobile is very confining.
>
> sencha - seems promising, but within 2 hours of working with it
> I
>> seem
>>> to
> have found a bug.  I cannot add a listener.  May be my
>> misunderstanding
> though, so I'm going to continue.
>
> Based on this conversation I look

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Tom,

You're right about the haXe mailing list being active.  It's encouraging.

Kurt

On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes  wrote:

> the haxe forum isn't very active but the mailing list is, and it is a great
> place to get help to get started.
>
> this is the new home of the list
>
> https://groups.google.com/group/haxelang/topics?pli=1
>
> you have to dig around a bit to get going as documentation is limited at
> the moment but the list is the best place to get the information you need.
>
> if you want to do html5 using code that is familiar to you as an AS3 coder
> then look at NME as i mentioned in a previous post.
>
> On 30 November 2011 13:16, Kurt Dommermuth 
> wrote:
>
> > Hi Jason,
> >
> > You're very first statement is exactly what interests me too.  You wrote
> > "Thinking of starting to learn haXe to produce OOP apps and export as
> > Javascript for HTML 5 apps."
> >
> > What are your thoughts so far?  I just looked at Haxe too but I'm
> concerned
> > because there doesn't seem to be a lot of actvity in the Haxe forum.
> >
> > I'm at a loss this morning because at this moment I really just want to
> > make a web based app that performs well on the iPhone. I have looked at
> the
> > following and am not finding satisfaction:
> >
> > appmobi - they get too many hooks into you and force you down paths you
> may
> > not necessarily want to go - like using the Amazon network to store
> files.
> > I just wanted to grab my resources and upload them to MY server.  No easy
> > task with appmobi.
> >
> > phonegap - everyone seems to love it, but it seems to be primarily geared
> > to use traditional web based tools to compile to native apps.  I want to
> be
> > on the web - not the device.
> >
> > jQuery mobile - assumes you want to make a web site, not an app and
> injects
> > all kinds of styles that get in the way.  I'm a big fan of jQuery, but
> > jQuery mobile is very confining.
> >
> > sencha - seems promising, but within 2 hours of working with it I seem to
> > have found a bug.  I cannot add a listener.  May be my misunderstanding
> > though, so I'm going to continue.
> >
> > Based on this conversation I looked at NME, but again, my small
> mindedness,
> > it feels like voodoo and it just doesn't seem to put much emphasis on
> > publishing for web based apps.
> >
> > Overall, I must say I resent the hell out of Steve Jobs.  His comments
> have
> > thrown us back into the dark ages. I look at the options to accommodate
> his
> > vision and I see one Frankenstein solution after another.  HTML5 seems to
> > be a handful of multimedia tags meant to make everyone and their mom a
> web
> > programer and that it will work on everything.  Hahhahahaha.  The problem
> > is that the reality is it takes a boat load of JS and fall backs to make
> it
> > work.
> >
> > We had AS3.  It did the job and though it was flawed it was far and away
> > the best cross platform solution there was. dammit.  Because of one dummy
> > and his legions of lemmings we're back to using 15 year old scripting
> > languages to get things done.
> >
> > H.  Guess I'm a little feisty and bitter this morning!
> >
> > :)
> >
> > Thanks for letting me vent.
> >
> > Anyway, I appreciate the discussion very much on this topic.
> >
> > Kurt
> >
> >
> >
> >
> >
> > On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
> > jason.merr...@bankofamerica.com> wrote:
> >
> > > Thinking of starting to learn haXe to produce OOP apps and export as
> > > Javascript for HTML 5 apps. Checked it out years ago, but decided
> against
> > > it since it was not part of the normal ecosystem and would have to be
> > > sharing code with non-haXe AS3 developers. But not thinking of the
> > future,
> > > I am more interested in it given what's happening with Adobe and HTML5.
> > > Anyone done that and does it work well for that?  Can you have a single
> > > source base and export for AS3 apps and Javascript for HTML 5 or are
> > there
> > > caveats?
> > >
> > >  Jason Merrill
> > >  Instructional Technology Architect II
> > >  Bank of America  Global Learning
> > >
> > >
> > >
> > > --
> > > This message w/attachments (message) is intended solely for the use of
> > the
> > > intended recipient(s) and may contain information that is privileged,
> > > confidential or proprietary. If you are not an intended recipient,
> please
> > > notify the sender, and then please delete and destroy all copies and
> > > attachments, and be advised that any review or dissemination of, or the
> > > taking of any action in reliance on, the information contained in or
> > > attached to this message is prohibited.
> > > Unless specifically indicated, this message is not an offer to sell or
> a
> > > solicitation of any investment products or other financial product or
> > > service, an official confirmation of any transaction, or an official
> > > statement of Sender. Subject to applicable law, Sender may in

RE: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Merrill, Jason
Wow, thanks for all this discussion - this is great!  So many good responses, 
thanks everyone for contributing and keep it coming!  I think I'm definitely 
taking up haXe in 2012!

Another question, I know haXe is just as good and powerful (if not more) than 
AS3, but does AS3 have any syntactical / features that give it an advantage 
over haXe or is haXe just a better language overall in your opinion(s)? 

 Jason Merrill
 Instructional Technology Architect II
 Bank of America  Global Learning 





___


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Kurt Dommermuth
Sent: Wednesday, November 30, 2011 8:35 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Switching to HaXe?

Thanks again Tom. The example is impressive.

On Wed, Nov 30, 2011 at 8:21 AM, tom rhodes  wrote:

> Hi,
>
> ok, initially the haxe flash api to html5 was done with a lib called jeash.
> which has been around for a while now. the nme project has very 
> recently incorporated jeash as it's route to html5.
>
> here is a nice example of using one codebase to hit swf and html5...
>
>
> http://www.joshuagranick.com/blog/2011/09/22/first-glimpse-at-cross-pl
> atform-game-running-flash-and-html5/
>
> if you do a google for haxe jeash, you'll see it's been around for a 
> while and it's integration into nme seems pretty natural. they were 
> parallel efforts in intepreting the flash api for ages...
>
> On 30 November 2011 14:03, Kurt Dommermuth 
> wrote:
>
> > Hi Tom,
> >
> > Thank you.  I'm going to look into Haxe more.
> >
> > Psychologically I have a stumbling block with NME.  On their how it 
> > works page (http://www.haxenme.org/about-nme/how-it-works/) there 
> > are
> solutions
> > that go in the opposite direction of what I'm personally interested in.
> >
> > They very nicely show how NME publishes to SWF, iOS, webOS, Android, 
> > MAC/LInux, but it doesn't mention publishing to HTML5/JS.
> >
> > It very well may, but you can understand why I'd tend to move on if 
> > it's not mentioned on that page.
> >
> > Forgive me if I'm missing something.  I'm deep in this search for a 
> > solution and I'll be the first to admit I could easily misunderstand 
> > something.
> >
> > Kurt
> >
> > On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes 
> wrote:
> >
> > > the haxe forum isn't very active but the mailing list is, and it 
> > > is a
> > great
> > > place to get help to get started.
> > >
> > > this is the new home of the list
> > >
> > > https://groups.google.com/group/haxelang/topics?pli=1
> > >
> > > you have to dig around a bit to get going as documentation is 
> > > limited
> at
> > > the moment but the list is the best place to get the information 
> > > you
> > need.
> > >
> > > if you want to do html5 using code that is familiar to you as an 
> > > AS3
> > coder
> > > then look at NME as i mentioned in a previous post.
> > >
> > > On 30 November 2011 13:16, Kurt Dommermuth 
> > > 
> > > wrote:
> > >
> > > > Hi Jason,
> > > >
> > > > You're very first statement is exactly what interests me too.  
> > > > You
> > wrote
> > > > "Thinking of starting to learn haXe to produce OOP apps and 
> > > > export as Javascript for HTML 5 apps."
> > > >
> > > > What are your thoughts so far?  I just looked at Haxe too but 
> > > > I'm
> > > concerned
> > > > because there doesn't seem to be a lot of actvity in the Haxe forum.
> > > >
> > > > I'm at a loss this morning because at this moment I really just 
> > > > want
> to
> > > > make a web based app that performs well on the iPhone. I have 
> > > > looked
> at
> > > the
> > > > following and am not finding satisfaction:
> > > >
> > > > appmobi - they get too many hooks into you and force you down 
> > > > paths
> you
> > > may
> > > > not necessarily want to go - like using the Amazon network to 
> > > > store
> > > files.
> > > > I just wanted to grab my resources and upload them to MY server.  
> > > > No
> > easy
> > > > task with appmobi.
> > > >
> > > > phonegap - everyone seems to love it, but it seems to be 
> > > > primarily
> > geared
> > > > to use traditional web based tools to compile to native apps.  I 
> > > > want
> > to
> > > be
> > > > on the web - not the device.
> > > >
> > > > jQuery mobile - assumes you want to make a web site, not an app 
> > > > and
> > > injects
> > > > all kinds of styles that get in the way.  I'm a big fan of 
> > > > jQuery,
> but
> > > > jQuery mobile is very confining.
> > > >
> > > > sencha - seems promising, but within 2 hours of working with it 
> > > > I
> seem
> > to
> > > > have found a bug.  I cannot add a listener.  May be my
> misunderstanding
> > > > though, so I'm going to continue.
> > > >
> > > > Based on this conversation I looked at NME, but again, my small
> > > mindedness,
> > > > it feels like voodoo and it just doesn't seem to put much 
> > > > emphasis on publishing for web based apps.
> > > >
> > > > Overall, I must say I

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Thanks again Tom. The example is impressive.

On Wed, Nov 30, 2011 at 8:21 AM, tom rhodes  wrote:

> Hi,
>
> ok, initially the haxe flash api to html5 was done with a lib called jeash.
> which has been around for a while now. the nme project has very recently
> incorporated jeash as it's route to html5.
>
> here is a nice example of using one codebase to hit swf and html5...
>
>
> http://www.joshuagranick.com/blog/2011/09/22/first-glimpse-at-cross-platform-game-running-flash-and-html5/
>
> if you do a google for haxe jeash, you'll see it's been around for a while
> and it's integration into nme seems pretty natural. they were parallel
> efforts in intepreting the flash api for ages...
>
> On 30 November 2011 14:03, Kurt Dommermuth 
> wrote:
>
> > Hi Tom,
> >
> > Thank you.  I'm going to look into Haxe more.
> >
> > Psychologically I have a stumbling block with NME.  On their how it works
> > page (http://www.haxenme.org/about-nme/how-it-works/) there are
> solutions
> > that go in the opposite direction of what I'm personally interested in.
> >
> > They very nicely show how NME publishes to SWF, iOS, webOS, Android,
> > MAC/LInux, but it doesn't mention publishing to HTML5/JS.
> >
> > It very well may, but you can understand why I'd tend to move on if it's
> > not mentioned on that page.
> >
> > Forgive me if I'm missing something.  I'm deep in this search for a
> > solution and I'll be the first to admit I could easily misunderstand
> > something.
> >
> > Kurt
> >
> > On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes 
> wrote:
> >
> > > the haxe forum isn't very active but the mailing list is, and it is a
> > great
> > > place to get help to get started.
> > >
> > > this is the new home of the list
> > >
> > > https://groups.google.com/group/haxelang/topics?pli=1
> > >
> > > you have to dig around a bit to get going as documentation is limited
> at
> > > the moment but the list is the best place to get the information you
> > need.
> > >
> > > if you want to do html5 using code that is familiar to you as an AS3
> > coder
> > > then look at NME as i mentioned in a previous post.
> > >
> > > On 30 November 2011 13:16, Kurt Dommermuth 
> > > wrote:
> > >
> > > > Hi Jason,
> > > >
> > > > You're very first statement is exactly what interests me too.  You
> > wrote
> > > > "Thinking of starting to learn haXe to produce OOP apps and export as
> > > > Javascript for HTML 5 apps."
> > > >
> > > > What are your thoughts so far?  I just looked at Haxe too but I'm
> > > concerned
> > > > because there doesn't seem to be a lot of actvity in the Haxe forum.
> > > >
> > > > I'm at a loss this morning because at this moment I really just want
> to
> > > > make a web based app that performs well on the iPhone. I have looked
> at
> > > the
> > > > following and am not finding satisfaction:
> > > >
> > > > appmobi - they get too many hooks into you and force you down paths
> you
> > > may
> > > > not necessarily want to go - like using the Amazon network to store
> > > files.
> > > > I just wanted to grab my resources and upload them to MY server.  No
> > easy
> > > > task with appmobi.
> > > >
> > > > phonegap - everyone seems to love it, but it seems to be primarily
> > geared
> > > > to use traditional web based tools to compile to native apps.  I want
> > to
> > > be
> > > > on the web - not the device.
> > > >
> > > > jQuery mobile - assumes you want to make a web site, not an app and
> > > injects
> > > > all kinds of styles that get in the way.  I'm a big fan of jQuery,
> but
> > > > jQuery mobile is very confining.
> > > >
> > > > sencha - seems promising, but within 2 hours of working with it I
> seem
> > to
> > > > have found a bug.  I cannot add a listener.  May be my
> misunderstanding
> > > > though, so I'm going to continue.
> > > >
> > > > Based on this conversation I looked at NME, but again, my small
> > > mindedness,
> > > > it feels like voodoo and it just doesn't seem to put much emphasis on
> > > > publishing for web based apps.
> > > >
> > > > Overall, I must say I resent the hell out of Steve Jobs.  His
> comments
> > > have
> > > > thrown us back into the dark ages. I look at the options to
> accommodate
> > > his
> > > > vision and I see one Frankenstein solution after another.  HTML5
> seems
> > to
> > > > be a handful of multimedia tags meant to make everyone and their mom
> a
> > > web
> > > > programer and that it will work on everything.  Hahhahahaha.  The
> > problem
> > > > is that the reality is it takes a boat load of JS and fall backs to
> > make
> > > it
> > > > work.
> > > >
> > > > We had AS3.  It did the job and though it was flawed it was far and
> > away
> > > > the best cross platform solution there was. dammit.  Because of one
> > dummy
> > > > and his legions of lemmings we're back to using 15 year old scripting
> > > > languages to get things done.
> > > >
> > > > H.  Guess I'm a little feisty and bitter this morning!
> > > >
> > > > :)
> > > >
> > > > Thanks for letting me vent.

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
Hi,

ok, initially the haxe flash api to html5 was done with a lib called jeash.
which has been around for a while now. the nme project has very recently
incorporated jeash as it's route to html5.

here is a nice example of using one codebase to hit swf and html5...

http://www.joshuagranick.com/blog/2011/09/22/first-glimpse-at-cross-platform-game-running-flash-and-html5/

if you do a google for haxe jeash, you'll see it's been around for a while
and it's integration into nme seems pretty natural. they were parallel
efforts in intepreting the flash api for ages...

On 30 November 2011 14:03, Kurt Dommermuth  wrote:

> Hi Tom,
>
> Thank you.  I'm going to look into Haxe more.
>
> Psychologically I have a stumbling block with NME.  On their how it works
> page (http://www.haxenme.org/about-nme/how-it-works/) there are solutions
> that go in the opposite direction of what I'm personally interested in.
>
> They very nicely show how NME publishes to SWF, iOS, webOS, Android,
> MAC/LInux, but it doesn't mention publishing to HTML5/JS.
>
> It very well may, but you can understand why I'd tend to move on if it's
> not mentioned on that page.
>
> Forgive me if I'm missing something.  I'm deep in this search for a
> solution and I'll be the first to admit I could easily misunderstand
> something.
>
> Kurt
>
> On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes  wrote:
>
> > the haxe forum isn't very active but the mailing list is, and it is a
> great
> > place to get help to get started.
> >
> > this is the new home of the list
> >
> > https://groups.google.com/group/haxelang/topics?pli=1
> >
> > you have to dig around a bit to get going as documentation is limited at
> > the moment but the list is the best place to get the information you
> need.
> >
> > if you want to do html5 using code that is familiar to you as an AS3
> coder
> > then look at NME as i mentioned in a previous post.
> >
> > On 30 November 2011 13:16, Kurt Dommermuth 
> > wrote:
> >
> > > Hi Jason,
> > >
> > > You're very first statement is exactly what interests me too.  You
> wrote
> > > "Thinking of starting to learn haXe to produce OOP apps and export as
> > > Javascript for HTML 5 apps."
> > >
> > > What are your thoughts so far?  I just looked at Haxe too but I'm
> > concerned
> > > because there doesn't seem to be a lot of actvity in the Haxe forum.
> > >
> > > I'm at a loss this morning because at this moment I really just want to
> > > make a web based app that performs well on the iPhone. I have looked at
> > the
> > > following and am not finding satisfaction:
> > >
> > > appmobi - they get too many hooks into you and force you down paths you
> > may
> > > not necessarily want to go - like using the Amazon network to store
> > files.
> > > I just wanted to grab my resources and upload them to MY server.  No
> easy
> > > task with appmobi.
> > >
> > > phonegap - everyone seems to love it, but it seems to be primarily
> geared
> > > to use traditional web based tools to compile to native apps.  I want
> to
> > be
> > > on the web - not the device.
> > >
> > > jQuery mobile - assumes you want to make a web site, not an app and
> > injects
> > > all kinds of styles that get in the way.  I'm a big fan of jQuery, but
> > > jQuery mobile is very confining.
> > >
> > > sencha - seems promising, but within 2 hours of working with it I seem
> to
> > > have found a bug.  I cannot add a listener.  May be my misunderstanding
> > > though, so I'm going to continue.
> > >
> > > Based on this conversation I looked at NME, but again, my small
> > mindedness,
> > > it feels like voodoo and it just doesn't seem to put much emphasis on
> > > publishing for web based apps.
> > >
> > > Overall, I must say I resent the hell out of Steve Jobs.  His comments
> > have
> > > thrown us back into the dark ages. I look at the options to accommodate
> > his
> > > vision and I see one Frankenstein solution after another.  HTML5 seems
> to
> > > be a handful of multimedia tags meant to make everyone and their mom a
> > web
> > > programer and that it will work on everything.  Hahhahahaha.  The
> problem
> > > is that the reality is it takes a boat load of JS and fall backs to
> make
> > it
> > > work.
> > >
> > > We had AS3.  It did the job and though it was flawed it was far and
> away
> > > the best cross platform solution there was. dammit.  Because of one
> dummy
> > > and his legions of lemmings we're back to using 15 year old scripting
> > > languages to get things done.
> > >
> > > H.  Guess I'm a little feisty and bitter this morning!
> > >
> > > :)
> > >
> > > Thanks for letting me vent.
> > >
> > > Anyway, I appreciate the discussion very much on this topic.
> > >
> > > Kurt
> > >
> > >
> > >
> > >
> > >
> > > On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
> > > jason.merr...@bankofamerica.com> wrote:
> > >
> > > > Thinking of starting to learn haXe to produce OOP apps and export as
> > > > Javascript for HTML 5 apps. Checked it out years ago, but decided
> >

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Hi Tom,

Thank you.  I'm going to look into Haxe more.

Psychologically I have a stumbling block with NME.  On their how it works
page (http://www.haxenme.org/about-nme/how-it-works/) there are solutions
that go in the opposite direction of what I'm personally interested in.

They very nicely show how NME publishes to SWF, iOS, webOS, Android,
MAC/LInux, but it doesn't mention publishing to HTML5/JS.

It very well may, but you can understand why I'd tend to move on if it's
not mentioned on that page.

Forgive me if I'm missing something.  I'm deep in this search for a
solution and I'll be the first to admit I could easily misunderstand
something.

Kurt

On Wed, Nov 30, 2011 at 7:33 AM, tom rhodes  wrote:

> the haxe forum isn't very active but the mailing list is, and it is a great
> place to get help to get started.
>
> this is the new home of the list
>
> https://groups.google.com/group/haxelang/topics?pli=1
>
> you have to dig around a bit to get going as documentation is limited at
> the moment but the list is the best place to get the information you need.
>
> if you want to do html5 using code that is familiar to you as an AS3 coder
> then look at NME as i mentioned in a previous post.
>
> On 30 November 2011 13:16, Kurt Dommermuth 
> wrote:
>
> > Hi Jason,
> >
> > You're very first statement is exactly what interests me too.  You wrote
> > "Thinking of starting to learn haXe to produce OOP apps and export as
> > Javascript for HTML 5 apps."
> >
> > What are your thoughts so far?  I just looked at Haxe too but I'm
> concerned
> > because there doesn't seem to be a lot of actvity in the Haxe forum.
> >
> > I'm at a loss this morning because at this moment I really just want to
> > make a web based app that performs well on the iPhone. I have looked at
> the
> > following and am not finding satisfaction:
> >
> > appmobi - they get too many hooks into you and force you down paths you
> may
> > not necessarily want to go - like using the Amazon network to store
> files.
> > I just wanted to grab my resources and upload them to MY server.  No easy
> > task with appmobi.
> >
> > phonegap - everyone seems to love it, but it seems to be primarily geared
> > to use traditional web based tools to compile to native apps.  I want to
> be
> > on the web - not the device.
> >
> > jQuery mobile - assumes you want to make a web site, not an app and
> injects
> > all kinds of styles that get in the way.  I'm a big fan of jQuery, but
> > jQuery mobile is very confining.
> >
> > sencha - seems promising, but within 2 hours of working with it I seem to
> > have found a bug.  I cannot add a listener.  May be my misunderstanding
> > though, so I'm going to continue.
> >
> > Based on this conversation I looked at NME, but again, my small
> mindedness,
> > it feels like voodoo and it just doesn't seem to put much emphasis on
> > publishing for web based apps.
> >
> > Overall, I must say I resent the hell out of Steve Jobs.  His comments
> have
> > thrown us back into the dark ages. I look at the options to accommodate
> his
> > vision and I see one Frankenstein solution after another.  HTML5 seems to
> > be a handful of multimedia tags meant to make everyone and their mom a
> web
> > programer and that it will work on everything.  Hahhahahaha.  The problem
> > is that the reality is it takes a boat load of JS and fall backs to make
> it
> > work.
> >
> > We had AS3.  It did the job and though it was flawed it was far and away
> > the best cross platform solution there was. dammit.  Because of one dummy
> > and his legions of lemmings we're back to using 15 year old scripting
> > languages to get things done.
> >
> > H.  Guess I'm a little feisty and bitter this morning!
> >
> > :)
> >
> > Thanks for letting me vent.
> >
> > Anyway, I appreciate the discussion very much on this topic.
> >
> > Kurt
> >
> >
> >
> >
> >
> > On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
> > jason.merr...@bankofamerica.com> wrote:
> >
> > > Thinking of starting to learn haXe to produce OOP apps and export as
> > > Javascript for HTML 5 apps. Checked it out years ago, but decided
> against
> > > it since it was not part of the normal ecosystem and would have to be
> > > sharing code with non-haXe AS3 developers. But not thinking of the
> > future,
> > > I am more interested in it given what's happening with Adobe and HTML5.
> > > Anyone done that and does it work well for that?  Can you have a single
> > > source base and export for AS3 apps and Javascript for HTML 5 or are
> > there
> > > caveats?
> > >
> > >  Jason Merrill
> > >  Instructional Technology Architect II
> > >  Bank of America  Global Learning
> > >
> > >
> > >
> > > --
> > > This message w/attachments (message) is intended solely for the use of
> > the
> > > intended recipient(s) and may contain information that is privileged,
> > > confidential or proprietary. If you are not an intended recipient,
> pleas

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
the haxe forum isn't very active but the mailing list is, and it is a great
place to get help to get started.

this is the new home of the list

https://groups.google.com/group/haxelang/topics?pli=1

you have to dig around a bit to get going as documentation is limited at
the moment but the list is the best place to get the information you need.

if you want to do html5 using code that is familiar to you as an AS3 coder
then look at NME as i mentioned in a previous post.

On 30 November 2011 13:16, Kurt Dommermuth  wrote:

> Hi Jason,
>
> You're very first statement is exactly what interests me too.  You wrote
> "Thinking of starting to learn haXe to produce OOP apps and export as
> Javascript for HTML 5 apps."
>
> What are your thoughts so far?  I just looked at Haxe too but I'm concerned
> because there doesn't seem to be a lot of actvity in the Haxe forum.
>
> I'm at a loss this morning because at this moment I really just want to
> make a web based app that performs well on the iPhone. I have looked at the
> following and am not finding satisfaction:
>
> appmobi - they get too many hooks into you and force you down paths you may
> not necessarily want to go - like using the Amazon network to store files.
> I just wanted to grab my resources and upload them to MY server.  No easy
> task with appmobi.
>
> phonegap - everyone seems to love it, but it seems to be primarily geared
> to use traditional web based tools to compile to native apps.  I want to be
> on the web - not the device.
>
> jQuery mobile - assumes you want to make a web site, not an app and injects
> all kinds of styles that get in the way.  I'm a big fan of jQuery, but
> jQuery mobile is very confining.
>
> sencha - seems promising, but within 2 hours of working with it I seem to
> have found a bug.  I cannot add a listener.  May be my misunderstanding
> though, so I'm going to continue.
>
> Based on this conversation I looked at NME, but again, my small mindedness,
> it feels like voodoo and it just doesn't seem to put much emphasis on
> publishing for web based apps.
>
> Overall, I must say I resent the hell out of Steve Jobs.  His comments have
> thrown us back into the dark ages. I look at the options to accommodate his
> vision and I see one Frankenstein solution after another.  HTML5 seems to
> be a handful of multimedia tags meant to make everyone and their mom a web
> programer and that it will work on everything.  Hahhahahaha.  The problem
> is that the reality is it takes a boat load of JS and fall backs to make it
> work.
>
> We had AS3.  It did the job and though it was flawed it was far and away
> the best cross platform solution there was. dammit.  Because of one dummy
> and his legions of lemmings we're back to using 15 year old scripting
> languages to get things done.
>
> H.  Guess I'm a little feisty and bitter this morning!
>
> :)
>
> Thanks for letting me vent.
>
> Anyway, I appreciate the discussion very much on this topic.
>
> Kurt
>
>
>
>
>
> On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
> jason.merr...@bankofamerica.com> wrote:
>
> > Thinking of starting to learn haXe to produce OOP apps and export as
> > Javascript for HTML 5 apps. Checked it out years ago, but decided against
> > it since it was not part of the normal ecosystem and would have to be
> > sharing code with non-haXe AS3 developers. But not thinking of the
> future,
> > I am more interested in it given what's happening with Adobe and HTML5.
> > Anyone done that and does it work well for that?  Can you have a single
> > source base and export for AS3 apps and Javascript for HTML 5 or are
> there
> > caveats?
> >
> >  Jason Merrill
> >  Instructional Technology Architect II
> >  Bank of America  Global Learning
> >
> >
> >
> > --
> > This message w/attachments (message) is intended solely for the use of
> the
> > intended recipient(s) and may contain information that is privileged,
> > confidential or proprietary. If you are not an intended recipient, please
> > notify the sender, and then please delete and destroy all copies and
> > attachments, and be advised that any review or dissemination of, or the
> > taking of any action in reliance on, the information contained in or
> > attached to this message is prohibited.
> > Unless specifically indicated, this message is not an offer to sell or a
> > solicitation of any investment products or other financial product or
> > service, an official confirmation of any transaction, or an official
> > statement of Sender. Subject to applicable law, Sender may intercept,
> > monitor, review and retain e-communications (EC) traveling through its
> > networks/systems and may produce any such EC to regulators, law
> > enforcement, in litigation and as required by law.
> > The laws of the country of each sender/recipient may impact the handling
> > of EC, and EC may be archived, supervised and produced in countries other
> > than the country

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kurt Dommermuth
Hi Jason,

You're very first statement is exactly what interests me too.  You wrote
"Thinking of starting to learn haXe to produce OOP apps and export as
Javascript for HTML 5 apps."

What are your thoughts so far?  I just looked at Haxe too but I'm concerned
because there doesn't seem to be a lot of actvity in the Haxe forum.

I'm at a loss this morning because at this moment I really just want to
make a web based app that performs well on the iPhone. I have looked at the
following and am not finding satisfaction:

appmobi - they get too many hooks into you and force you down paths you may
not necessarily want to go - like using the Amazon network to store files.
I just wanted to grab my resources and upload them to MY server.  No easy
task with appmobi.

phonegap - everyone seems to love it, but it seems to be primarily geared
to use traditional web based tools to compile to native apps.  I want to be
on the web - not the device.

jQuery mobile - assumes you want to make a web site, not an app and injects
all kinds of styles that get in the way.  I'm a big fan of jQuery, but
jQuery mobile is very confining.

sencha - seems promising, but within 2 hours of working with it I seem to
have found a bug.  I cannot add a listener.  May be my misunderstanding
though, so I'm going to continue.

Based on this conversation I looked at NME, but again, my small mindedness,
it feels like voodoo and it just doesn't seem to put much emphasis on
publishing for web based apps.

Overall, I must say I resent the hell out of Steve Jobs.  His comments have
thrown us back into the dark ages. I look at the options to accommodate his
vision and I see one Frankenstein solution after another.  HTML5 seems to
be a handful of multimedia tags meant to make everyone and their mom a web
programer and that it will work on everything.  Hahhahahaha.  The problem
is that the reality is it takes a boat load of JS and fall backs to make it
work.

We had AS3.  It did the job and though it was flawed it was far and away
the best cross platform solution there was. dammit.  Because of one dummy
and his legions of lemmings we're back to using 15 year old scripting
languages to get things done.

H.  Guess I'm a little feisty and bitter this morning!

:)

Thanks for letting me vent.

Anyway, I appreciate the discussion very much on this topic.

Kurt





On Tue, Nov 29, 2011 at 11:04 AM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> Thinking of starting to learn haXe to produce OOP apps and export as
> Javascript for HTML 5 apps. Checked it out years ago, but decided against
> it since it was not part of the normal ecosystem and would have to be
> sharing code with non-haXe AS3 developers. But not thinking of the future,
> I am more interested in it given what's happening with Adobe and HTML5.
> Anyone done that and does it work well for that?  Can you have a single
> source base and export for AS3 apps and Javascript for HTML 5 or are there
> caveats?
>
>  Jason Merrill
>  Instructional Technology Architect II
>  Bank of America  Global Learning
>
>
>
> --
> This message w/attachments (message) is intended solely for the use of the
> intended recipient(s) and may contain information that is privileged,
> confidential or proprietary. If you are not an intended recipient, please
> notify the sender, and then please delete and destroy all copies and
> attachments, and be advised that any review or dissemination of, or the
> taking of any action in reliance on, the information contained in or
> attached to this message is prohibited.
> Unless specifically indicated, this message is not an offer to sell or a
> solicitation of any investment products or other financial product or
> service, an official confirmation of any transaction, or an official
> statement of Sender. Subject to applicable law, Sender may intercept,
> monitor, review and retain e-communications (EC) traveling through its
> networks/systems and may produce any such EC to regulators, law
> enforcement, in litigation and as required by law.
> The laws of the country of each sender/recipient may impact the handling
> of EC, and EC may be archived, supervised and produced in countries other
> than the country in which you are located. This message cannot be
> guaranteed to be secure or free of errors or viruses.
>
> References to "Sender" are references to any subsidiary of Bank of America
> Corporation. Securities and Insurance Products: * Are Not FDIC Insured *
> Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not
> a Condition to Any Banking Service or Activity * Are Not Insured by Any
> Federal Government Agency. Attachments that are part of this EC may have
> additional important disclosures and disclaimers, which you should read.
> This message is subject to terms available at the following link:
> http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender
> you

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
just catching up on the thread a bit , Kevin wrote...

"but it doesn't do any emulation of Flash's APIs (I'm pretty sure)"

check it out...

http://www.haxenme.org/api/

then have a look at all the stuff in the nme package, display, errors,
events, external, filters, text etc. are all used as you would use them in
flash except they compile to c++ (iOS, android, webOS, mac, pc, linux),
flash and html5.


On 30 November 2011 12:09, tom rhodes  wrote:

> Hey Jason,
>
> haxe has fantastic potential now with NME, so you can export to iOS,
> andriod, webos, html5/JS, windows, osX and linux. all from the one codebase.
>
> but even vanilla haxe is fantastic for javascript. jQuery is in there as
> standard, here's a short example of assigning an event to a button...
>
> class Demo
> {
> private var myButton:JQuery;
>
> static function main()
> {
> new JQuery(Lib.document).ready(function(e) { new Demo(); } );
> }
>
> public function new()
> {
> myButton = new JQuery("#myButton");
> myButton.click(myButtonClicked);
> }
>
> private function myButtonClicked(e:JqEvent):Void
> {
> // do stuff
> }
> }
>
> ... that's straight up haxe targetting JS. it makes working with JS a LOT
> easier, you get all the compile time checks, nice structure etc.
>
> with conditional compilation, you can have all you logic/model shared and
> the code to handle the interactions and display stuff split to target the
> individual platforms of your choice.
>
>  ah, and don't forget, haxe brings all these benefits to the server side
> too :)
>
> tom.
>
>
> On 29 November 2011 21:19, John McCormack  wrote:
>
>> This FDT Haxe video may be of interest...
>> http://vimeo.com/31122674
>>
>> John
>>
>>
>> __**_
>> 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


Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread tom rhodes
Hey Jason,

haxe has fantastic potential now with NME, so you can export to iOS,
andriod, webos, html5/JS, windows, osX and linux. all from the one codebase.

but even vanilla haxe is fantastic for javascript. jQuery is in there as
standard, here's a short example of assigning an event to a button...

class Demo
{
private var myButton:JQuery;

static function main()
{
new JQuery(Lib.document).ready(function(e) { new Demo(); } );
}

public function new()
{
myButton = new JQuery("#myButton");
myButton.click(myButtonClicked);
}

private function myButtonClicked(e:JqEvent):Void
{
// do stuff
}
}

... that's straight up haxe targetting JS. it makes working with JS a LOT
easier, you get all the compile time checks, nice structure etc.

with conditional compilation, you can have all you logic/model shared and
the code to handle the interactions and display stuff split to target the
individual platforms of your choice.

ah, and don't forget, haxe brings all these benefits to the server side too
:)

tom.

On 29 November 2011 21:19, John McCormack  wrote:

> This FDT Haxe video may be of interest...
> http://vimeo.com/31122674
>
> John
>
>
> __**_
> 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