I have a custom class called line that takes two sets of co
ordinates and draws a line between them.
The class uses _root.createEmptyMovieClip() to make a
container to draw in to but I need it to draw in to other movies on
the stage in a similar way to createEmptyMovieClip() eg
I have tried createEmptyMovieClip(),
this.createEmptyMovieClip(), _parent.createEmptyMovieClip() etc but
with no joy.
How can my Line constructor function get the path information
from the declaration or do I have to pass it as a parameter?
Whenever I design a class, that class always takes a
target:MovieClip parameter. then I create a container for the class
inside that target. This way, I can place my class objects inside
any clip I so desire at any level.