For some reason in  5 years of director development, I've never worked
seriously with Parent/Child scripting.  Now I'm dumped into the middle
of it, and desperately need some help here.

I have a flash movie which has 25 moving objects on the screen, as well
as a number of obstacles.  These objects react to a mouse click in flash
to set their new destination.  However, due to the amount of processing
needed to find the shortest available route, I want to offload the
pathfinding scripts to director.

Now, in order to find the shortest route possible, I need to keep track
of several arrays specific to each flash "sprite".  I believe the
easiest way to do this is to make a new child instance each time my
pathfinding handler is called.  However, I have nothing to "attach"
these children to.

I guess my main question is, is it possible to have abstract children
off a parent script, where the children exist simply as invocations of a
script, and not invocations of a script which are attached to a specific
director sprite?

I know that may seem convulted, so if anything needs clarification, let
me know.

~matt desimone
[EMAIL PROTECTED]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to