Quote:
Originally Posted by Kritjon
Probably when he posted all code it's a library what you're missing. Check the imports at the top of your Blox.as file. See if he's using an external library. If you're not sure, feel free to posts the imports here.
|
First of all, thanks for the help.
The imports are standard stuff:
Code:
import uk.co.bigroom.tetris.Controller;
import uk.co.bigroom.tetris.TetrisEvent;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.text.TextField;
(uk.co.bigroom.tetris is included with the package).
In fact, here's how the package is structured:
Code:
Blox.swf (pre-compiled binary)
Blox.fla
docs/*
src/Blox.as (and other .as files)
src/uk/co/bigroom/tetris/*.as
src/uk/co/bigroom/input/*.as
I build it with "cd src; mxmlc Blox.as".
I noticed the Blox.fla file in the toplevel dir is completely ignored as I build or run my own Blox.swf, and I'm thinking that could be the source of my problem (the Blox.fla includes graphics and sound resources for the game). How would I go about building the project including this file?
Like I mentioned in the OP, the source code for the program I'm trying to build can be found at "code.google.com/p/bigroom/wiki/TetrisGameEngine".
Appreciate the help!