Jeash and NME

Asked by Sam McFadden

I am really enjoying using NME and Jeash, thanks for all your amazing work. Any idea of if or when the latest or next version of jeash will be compatible with NME?

Thanks,

Sam

Question information

Language:
English Edit question
Status:
Answered
For:
jeash Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Niel Drummond (niel-drummond) said :
#1

Jeash's goal is to be compatible with the flash API, it's a beneficial
side-effect that NME's goal is the same. I think for this subset,
compatibility is mostly there.. unless you are pointing out inconsistent
behaviour in the flash API ?

- Niel

On Tue, Mar 27, 2012 at 5:35 PM, Sam McFadden <
<email address hidden>> wrote:

> New question #191853 on jeash:
> https://answers.launchpad.net/jeash/+question/191853
>
> I am really enjoying using NME and Jeash, thanks for all your amazing
> work. Any idea of if or when the latest or next version of jeash will be
> compatible with NME?
>
> Thanks,
>
> Sam
>
> --
> You received this question notification because you are an answer
> contact for jeash.
>

Revision history for this message
Sam McFadden (sam-mcfadden) said :
#2

Hi Niel,

My issue is that when I try to use 0,8,8 I then get this compile time error:-

/usr/lib/haxe/lib/nme/3,2,0/nme/display/DisplayObject.hx:763: characters 0-23 : Class not found : flash.display.DisplayObject

The code in NME at this point is:-

#else
typedef DisplayObject = flash.display.DisplayObject;
#end

Previous to these lines were all the DisplayObject logic nested inside this part of the conditional:-

package nme.display;
#if (cpp || neko)

Any ideas?

Much thanks,

Sam

Revision history for this message
Niel Drummond (niel-drummond) said :
#3

It's possible that this is related to #620 in the haxe compiler issue
tracker, where the --remap flag does not always work as expected [1]. This
is marked as "wont fix", so NME should be pointing to jeash's class
directly (i.e. jeash.display.DisplayObject). You could try updating to the
latest haxe trunk copy, that might fix it too.

[1] http://code.google.com/p/haxe/issues/detail?id=620

- Niel

On Wed, Mar 28, 2012 at 10:50 AM, Sam McFadden <
<email address hidden>> wrote:

> Question #191853 on jeash changed:
> https://answers.launchpad.net/jeash/+question/191853
>
> Sam McFadden posted a new comment:
> Hi Niel,
>
> My issue is that when I try to use 0,8,8 I then get this compile time
> error:-
>
> /usr/lib/haxe/lib/nme/3,2,0/nme/display/DisplayObject.hx:763: characters
> 0-23 : Class not found : flash.display.DisplayObject
>
> The code in NME at this point is:-
>
> #else
> typedef DisplayObject = flash.display.DisplayObject;
> #end
>
> Previous to these lines were all the DisplayObject logic nested inside
> this part of the conditional:-
>
> package nme.display;
> #if (cpp || neko)
>
> Any ideas?
>
> Much thanks,
>
> Sam
>
> --
> You received this question notification because you are an answer
> contact for jeash.
>

Can you help with this problem?

Provide an answer of your own, or ask Sam McFadden for more information if necessary.

To post a message you must log in.