in4ray / firefly-sdk

Firefly - in4ray Gaming SDK
http://firefly.in4ray.com
Other
54 stars 11 forks source link

Errors in FlashBuilder in first test #1

Closed Pixerama closed 11 years ago

Pixerama commented 11 years ago

First, thank you very much for the nice framework, looks very promising.

After starting to use the framework, FlashBuilder throws the following error : Can not resolve config constant : 'debuggin'

It appears 17 times, and seems to be related with CONFIG::debugging for example in lines 341 and 355 in your GameApplication.as file.

Thanks in advance !

in4ray commented 11 years ago

Thank you very much for your feedback.

Regarding you finding, could you please verify "ActionScript Library Compiler" settings for the Firefly framework within Flash Builder. In the "Additional compiler argumets" should be defined following argument: For debug mode: -define=CONFIG::debugging,true For release mode: -define=CONFIG::debugging,false

Please verify and let me know if it works for you.

Pixerama commented 11 years ago

Thanks for your quick answer. I tried it yesterday without luck, i also load your test project in FB, and that one doesn't throw any error, and it didn't have the compiler extra params, so i think perhaps was the sources version or any other issue.

But i have seen the problem just now. With FB 4.7, it only accepts the additional compiler params, if i put them all in a line, i used to put them one by line, and seems that it doesn't longer works.

Now works like a charm.

Thanks again, and congratulations for the framework, i'm going to use it in my current App, i'll give you all the feedback i can ! :)

in4ray commented 11 years ago

Sounds great! Glad that you figured out with this issue. BTW you can start you App with a predefined game template: http://firefly.in4ray.com/gametemplates Looking forward for your suggestions and feedbacks.