Seems a pretty amazing project (announcement at about 0:33:50):http://www.silexlabs.org/142542/the-blog/blog-silex-labs/wwx2013-speech-joshua-granick-openfl-announcement/
I’m not a fan of computer generated code and native will alway win for performance sake.
This won’t strictly generate code, in fact:
“The Toolkit generates Dart code that represents items on the stage, symbols, images, and sounds in the library.
The Toolkit doesn’t translate ActionScript to Dart. Instead, developers write Dart code for the interactive parts of the content.”
It seems it is more a library asset generator.
Interesting news for Dart users out there (like me)...http://news.dartlang.org/2013/05/adobes-flash-pro-cc-exports-to-dart-and.html
It seems Adobe is trying to reinvent Flash Pro as an asset exporter platform
So if your PHP code accesses MySQL, just place static values instead of any PHP code and it should work. You don’t even need to change files’ “php” extensions, PHP file names can remain as they are.
Better use an .xml or .txt extension as Envato servers may exclude calls to .php files (even if static)