[mtasc] Compilation files missings
titi2027 at netplus.ch
Thu Sep 1 11:50:04 CEST 2005
I would try to explain clearly my problem, so first sorry for the
language, I'm french mother tongue.
I have some compilations problems... I don't know if it's normal
behaviour or if I miss anything...
I use Forms Application based.
I create a new project, with a "Form" interface.
In the same time, I create a new __library.fla to store symbols and
others thinks, to use it like a shared library.
In the __library.fla, I create a new mc, called "IconButton". I set the
ActionScript class to "ch.titouille.controls.IconButton" and the
exported name to "IconButtonSymbol". Finally, I add the "definition"
class path (right-click on library symbol and "component definition")
You can see that I want to use this clip like an extended movieClip class.
I create now the ch.titouille.controls.IconButton in the package (this
is a "global" package, stored in a "AS classes" directories, to use it
when I do. I create my class like Moock explanations, with a static
Now, I open my "Form" interface and attach to the "Application" form a
class called "Application.as". In this class, I add registerClass to
other sub-"Forms" classes, and I add the registerClass for the IconButton :
Object.registerClass( 'IconButton', ch.titouille.controls.IconButton );
In the compilations options, I add my "AS Classes" path with -cp, I have
tried to add a "-pack ch.titouille.controls", but my class IconButton is
It's because the IconButtonSymbol is on a shared library ?? I must
recompile the library each time ?? Is there any solution to compile the
class without recompile library ?
Thanks in advance for any response/solutions
Thierry aka titouille
More information about the mtasc