Sunday, March 11, 2007

Importing parameters via external .as

I'm trying to get my mind around making this map portable and reusable. I think I can do this by importing nested external actionscript files. The main reason why I want to keep my actionscript in an external file is to enable future editing without requiring any manipulation of the .fla file.

Ultimately, what I think will work is putting the load file action on a button in the map interface. When the user presses the button, it will load whatever data the author has included in the relevant file. A master .as file would contain general functions and attributes of the map, while supporting .as files would be author specific.

I feel like I'm on to something. I'll need to investigate this and try to better define how it will work. A workflow drawing should help.

More later....

0 comments: