Tutorial: http://pushbuttonengine.com/docs/Lesson-01-FlashCS4.html
When I get to hello world, It gives me the error "Packages cannot be nested but, when I remove the { and } it gets mad at me.
Code:
package
{
import flash.display.Sprite;
import com.pblabs.engine.PBE;
import com.pblabs.engine.debug.Logger;
public class Lesson1FlashCS4 extends Sprite
{
public function Lesson1FlashCS4():void
{
PBE.startup(this);
Logger.print(this, "Hello, World!");
}
}
}
Sorry about my strange language, I have not programmed in a long time and have forgotten most everything. Did remember this site though!