Reputation: 28
I have this error after using include in as3:
1084: Syntax error: expecting rightbrace before public. game.as /game line 9
the source code for Main is:
package
{
import flash.display.Sprite;
include "setings\resolution.as";
public class game extends Sprite
{
public function game()
{
}
}
}
and the resolution.as is empty. any solution/explication?
Thanks
Upvotes: 1
Views: 76