-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"DocumentClass doesn't contain a method update
" error using OpenFL
#17
Comments
I will try to look into it tomorrow. I am using haxe dev and it looks like OpenFL doesn't work with it. |
Hello, any news on this? All I could find was that OpenFL in fact creates a class DocumentClass extending the Main (at least for html5 target - https://github.com/openfl/openfl/blob/a9f8b0624cf6f4bc762395a262ae687dec746f37/templates/haxe/ApplicationMain.hx#L223). |
I really haven't tested it but Edge doesn't assume anything special about the environment. I will check ASAP but don't hold your breath ;) |
I've added debug print in macro public static function complete() : Array<Field> {
trace(Context.getLocalClass()); And I've got
Sorry if it's not helpful at all, just trying to wrap my head around macros. |
Sorry for spamming. Simplified version of the problem: class Foo implements ISystem
{
private function update()
{
trace("Boop");
}
}
class Bar extends Foo {}
|
During the weekend I tried to install openfl (v.4) and failed ... the |
I tried to see if I can integrate this system into OpenFL, but all I get is the error above, with "Build failure".
lime [2.8.3]
openfl [3.5.3]
thx.core [0.39.0]
edge [0.7.0]
Code is here:
Sorry if I'm actually missing out an important detail here.
The text was updated successfully, but these errors were encountered: