I want to write a script where I want to use cpdistance(CP1, CP2) as formula to get distance.
I want to calculate network distance between queue for which I am thinking to get the control point its connected to and then use the cpdistance to get the distance.
How can I get the controlpoints that my queues are connected to and store them in Object variable CP1 and CP2 with flexscript?