What I usually do is load in the assets swf through the MTASC
generated swf and use it as the root in the movieclip hierarchy. By
this I mean all movieclips created by my MTASC generated swf are
descendants of the asset swf. By doing so you can access all symbols
in the asset swf through attachMovieClip and you don't have to mess
around with injection. An added benefit is that you can display a
preloader on the asset swf which is quite likely large.

Hope that helps,
Scott

On 6/3/06, Weldon MacDonald <[EMAIL PROTECTED]> wrote:
Ok, I installed Eclipse, spent a better part of a day downloading
plugins and configuring everything. I'm using Ant tasks to compile
with MTASC and send it to the standalone player.
I don't see the need for swfmill, since I own Flash. My plan was to
create vector graphics and any timeline stuff in flash (mostly done by
my wife) and then move to Eclipse to write the code.
But now I'm not at all sure how to structure a project. I read about
several methods, but am at a loss as to how to proceed. What's best
practise?
Can I use one swf as a symbol library and compile it with the class
files and a 'main' entrypoint? Do I inject all the code into the
library swf?
I've been experimenting with a class that's tied to a symbol in an
.fla and would like to switch over to the new workflow, if I can
figure out what that is. The symbol is a movieclip with nested
movieclips. The class extends MovieClip and uses an init function
rather than a constructor. The code I've been using to test is in the
.fla  but the class file is external. How can I restructure this to
include Eclipse in the workflow?


Weldon MacDonald
_______________________________________________
[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

_______________________________________________
[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

Reply via email to