I have a similar application that I wrote in ActionScript w/ mtasc. I
have a class that corresponds to your app.as class. I do all of my
imports there. The app.as class instanciates the map.as and all of the
UI stuff. Since I didn't use the IDE, my app.as class has a main method.
I used an event model similar to the Java swing event model to control
what happens when files load or buttons are clicked. I don't know if any
of that is useful. You can look at the app here:
http://www.flashmaprealtor.com/
so I can do:
// classes
import com.mosesSupposes.fuse.*;
import Menu;
import Map;
class App {
private var objMenu:Menu;
private var objMap:Map;
function App ()
{
this.objMenu = new Menu ();
this.objMap = new Map ();
ZigoEngine.simpleSetup(Shortcuts,Fuse,PennerEasing);
}
}
Will my Map and Menu classes then have access to the Fuse Kit ?
Thanks,
Jon
--
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com