By saying, "change it to: 'astro_interface_interfaceClass.as'", I am
actually saying that you should not use periods in the filename, and
that you would not at this point have a package for your class.



On Oct 26, 8:44 am, delfeld <[email protected]> wrote:
> This is not the best forum for finding an answer to that question.
> Try asking onhttp://www.flashdevelop.org/community/, and post a
> question in the "Support" category.  Usually you will get an answer
> within a few hours.
>
> But in the meantime, "astro.interface.interfaceClass.as" means that
> "astro.interface" is the package name, and "interfaceClass.as" is
> class (if not, then change it to:
> "astro_interface_interfaceClass.as").  The package should be listed as
> the first line of interfaceClass.as:
>
>   package astro.interface { . . .
>
> Make sure that for each level of the package, you have a different
> directory:
>
>   c:\\[...]\astro\interface\interfaceClass.as
>
> Make sure that you are referencing the directory in FlashDevelop
> correctly.  Under the "Project" menu, select "Properties. . ."; click
> the "Classpaths" tab, and click either the "Add Classpath. . ." or the
> "Edit Global Classpaths" button (either will work, but the Global edit
> will show up in all projects, which may not be ideal if it is a class
> for a specific project.)
> What you should be selecting for a directory here is the root
> directory of the package.  That is, if your package is
> astro.interface, and your package directory structure looks like this:
>
>   c:\\AS3\classes\astro\interface\interfaceClass.as
>
> then you would select add the classpath of "c:\\AS3\classes\" in order
> to correctly reference your package structure.  If you did things
> correctly, the package will show up in the "Project" panel.
>
> If none of these solutions are work for you, then cut and paste my
> comments intohttp://www.flashdevelop.org/communityin the "Support"
> section, and see if they can find out what's wrong.
>
> On Oct 23, 6:04 am, claudiul25 <[email protected]> wrote:
>
> > i want to use flashdevelop for my 3d project to compile faster (now
> > i'm waiting about 50 sec/compile).
> > but it's giving me a headache.
>
> > here's the problem...
> > i have a timeline movieclip that contains all my layout and i link it
> > with the astro.interface.interfaceClass.as class, and inside it i have
> > lots of movieclips and components linked with other classes.
>
> > the interfaceClass has public vars coresponding to each movieclip and
> > i have unchecked the option "automaticly declare stage instances".
>
> > i export the swc into the flashdevelop project but there, if i
> > instanciate the interfaceClass in the Main.as,  it doesn't see those
> > inside movieclips, it doesn't know about them, and they don't show up.
>
> > how does flashdevelop works? i simply don't understand.
>
> > can someone please enlighten me, i don't want to wait that long for a
> > compile.:(

Reply via email to