Hello,
I am using Realaxy 1.1 Beta, Build 9164.
I watched
this video which demonstrates generating a simple HTML5 Application with AS3 and Realaxy Editor 1.1.
Seemed like a neat idea, and just what I wanted to do. So I tried to do exactly what is done in the video. However, when I attempt to run my app, I get a number of JavaScript errors:
Uncaught TypeError: Object #<Object> has no method 'run' index.html:39
First thing that jumped out at me is that jangaroo-runtime.joo.js is not found. If I look in the joo subfolder, I see
jangaroo-runtime.trace.info, but not jangaroo-runtime.joo.js.
The cannot read property '3' of null errors are on these lines:
var classMatch = classDef.match(/^\s*((public|internal|final|dynamic)\s+)*class\s+([A-Za-z][a-zA-Z$_0-9]*)(\s+extends\s+([a-zA-Z$_0-9.]+))?(\s+implements\s+([a-zA-Z$_0-9.,\s]+))?\s*$/);
var className = classMatch[3];
What's happening is that classDef is a string like "public interface Arguments" and the regular expression isn't matching, I think because it doesn't have "class" in it anywhere. So then classMatch[3] is throwing an error because classMatch is null.
Uncaught SyntaxError: Unexpected token ! is for this line:
if(<!TextGen not found for 'realaxy.js.structure.JSExpression'!>){
Is this a token replacement error? It looks like there was something else supposed to go there, but instead we've got error text inside the if() condition.
And let's not forget this: this:
Object #<Object> has no method 'run'
The entire thing won't run, because Object #<Object> has no method 'run'
You can see this app here:
Any help? What's going on here?
-Josh