Thanks to all who replied on this one!
Much appreciated.
d
dnk wrote:
> Hi there i have written a very simple class in AS that has ben added
> to a personal library (SWC).
>
> Now in mxml I can reference the classes and components easily by
> putting a:
>
> xmlns:mycomps="*"
>
>
> Now what I would like to know is how would I reference a class that is
Using xmlns (XML Namespace) is mostly for the benefit of MXML. In your xmlns
you're pointing to "*", which is the default package. So your Tracer.as
file is on the root of the SWC file.
Let's say you adding a longer package name within your SWC...
"net.natebeck.utils.Tracer". Which is essentiall
If you've added the swc to your project you should be able to access it as if
the class is in the same project.
Try bringing up code hints as you type 'Tracer' and see if it's listed.
Otherwise try adding an import to the package that the class is in (assuming
it's in a package).
On 1/8/09
Hi there i have written a very simple class in AS that has ben added
to a personal library (SWC).
Now in mxml I can reference the classes and components easily by
putting a:
xmlns:mycomps="*"
Now what I would like to know is how would I reference a class that is
in a SWC from action scri
5 matches
Mail list logo