Skip to main content
Participant
January 27, 2011
Question

Move a Flow Element

  • January 27, 2011
  • 1 reply
  • 322 views

What is the best way to move an existing flow element or selection?

I am trying to move an Inline Graphic with drag and drop. I could not find a function that would allow me to specifiy a selection and a new position for it inside the existing flow.

I was playing with cutTextScrap and pasteTextScrap but when I wired it up to a mouse move it would only work the first time. Is the text scrap the way to go and I just have a issue with the event handlers, or is there a better way?

Thanks

This topic has been closed for replies.

1 reply

Adobe Employee
January 28, 2011

TLF 2.0 has a MoveChildrenOperation.  It should be ideal for your use case.

Hope that helps,

Richard