Our goal is to ship a real, full featured, professional video game by the end
of the year using ActionScript3 and Starling Framework (as-is, not a fork)
running in a browser; with *and* without Flash Player.
Conceptually, we would like to see WebGL HTML5 JavaScript become just
another build target
We (actually, my coworker Bill) got the entire Starling 2.0 framework
successfully transpiled to JavaScript using FalconJX!
We are using lizhi's spriteflexjs library to provide code for the flash
runtime APIs.
In order to get a successful compilation, we developed a way to emit the
goog requires
Shoot! That "internal" was just a leftover from my last test. Same thing
happens with "public", though.
In any case, I will at least add to JIRA. We are becoming more familiar
with the compiler code each day, with the hope to be submitting patches and
test cases for sure.
Thank you.
--
View
I hope it's OK etiquette to add onto this old thread, but it appears related
to this issue. Please see the source AS3 and resulting JS below. The
"self" var is emitted but not used. If I manually add "self." in front of
the reference to "bar", it does work!
/ ACTIONSCRIPT /
package {
Class vars declared as internal do not end up using this. to when referenced
in class functions.
We're looking for where it decides when it uses this. but bringing it up
here in case someone knows more.
** ACTIONSCRIPT **
package {
public class foo {
internal var bar:String = "baz";
I thought there might be useful code in the redtamarin project.
I found the unit test implementation in ActionScript. But, the source for
the actual Array sortOn is written in C++, of course.
https://github.com/Corsaair/redtamarin/search?utf8=%E2%9C%93&q=sortOn
ActionScript's Array sortOn has a
Any support for the "constructor" property for Objects in FalconJX?
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Object.html#constructor
Right now the following translation occurs:
[AS3]
var c1:Class = Object(this).constructor as Class;
var c2:Class = this["co
Our team is currently using the nightly build of Falcon JX to try and compile
the Starling Framework to JavaScript. The compilation eventually fails
with:
java.lang.ClassCastException:
o.a.f.c.internal.tree.as.MemberAccessExpressionNode cannot be cast to
o.a.f.c.tree.as.IIdentifierNode
at