compiling actuate example with jeash

Asked by rindra

hi, I'm building this really easy animation in haxe using the Actuate engine. Compiling the Flash works fine but when i try to compile the JS using Jeash the graphic shows up but no motion.

You can get the example here: https://www.yousendit.com/download/T2dkd0VOUnE1UjRzeHNUQw

Any help would be greatly appreciated,

Rindra

Question information

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

Actuate (and most tween engines) do not work with jeash, because they use reflection to set properties on a DisplayObject. Reflection in haxe does not work with getter/setters in js, because haxe-js does not implement them as native js getter/setters. Most properties on a DisplayObject are getter/setters, because the flash API is a retained-mode API.

GTween (in haxelib) was made to overcome this issue, so if you need tweening, then use GTween.

Revision history for this message
rindra (rajrindra) said :
#2

Thanks Niel Drummond, that solved my question.