PDA

Prikaži potpunu verziju : Pomoc


Cyb0rg
8.4.2010, 16:20
Koristim FlashDevelop.Evo ga moj kod.
package
{
import org.flixel.*;
public class SuperMario extends FlxGame
public var text1.FlxText
{
[SWF(width = "400", height = "400")]


public function SuperMario()
{
super(200, 200, SM2, 1)
}


}

}
Ovo je main state i izbacuje mi error kad hocu da ga buildujem.
Error je sledeci:D:\Projekat3\src\SuperMario.as(5): col: 2 Error: Syntax error: expecting leftbrace before public.

Stevvan
8.4.2010, 18:08
fali ti { posle public class SuperMario extends FlxGame