need a way to run y with ui scrollpane while scrolled down or figure out the y of the scroll pane
basically I am moving an object out of the scroll pane and to a new parent myblank3all but if I am scrolled down the re-parent no longer holds the same y so when I drag the object out of the scroll pane its y is different and gets further off as I go down. When I scroll down and stop every object in the scrollpane is the same distance off. so I think if I could get the value of the top y or bottom y of the scrollpane but it has to be relative to the scrollpanes symbol that it holds then I could figure it out
function fl_drag(event: MouseEvent): void {
myblank3all = new MovieClip()
myblank3all.addChild(event.currentTarget.parent)
myblank3all.y = myblank3all.y + some number
myblank3all.startDrag()
}
