post #1 of 1
Thread Starter 
Hello,


I have just bought adobes creative cloud service and downloaded their application manager and downloaded Adobes Flash Builder 4.7 Premium. I ran the simple HelloWorld program just to make sure it was working, and it was. But when I tried to type in more complex code it was having tons of errors.

package
{
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.MouseEvent;
import flash.net.URLRequest;

[SWF(width="550", height="400",
backgroundColor="FFFFFF", frameRate="60")

public class GameWorld extends Sprite
{
//Declare the variables we need
public var backgroundURL:URLRequest;
public var backgroundLoader:Loader;
public var background:Sprite;


public function GameWorld()
{
//Add the background to the stage
backgroundURL = new URLRequest();
backgroundLoader = new Loader();
background = new Sprite();

backgroundURL.url = "../images/background.png";
backgroundLoader.load(backgroundURL);
background.addChild(backgroundLoader);
stage.addChild(background);
}
}
}

Flash Builder is having errors with the metadata tag and the import flash.events.MouseEvent; and the word public?

Please help!!

Thanks,
DarkRue