I am new to the forum and to scripting. I wrote couple of scrtipts so far, but I have very limited resourse for information.
If someone could help me. I need to flip a Rectangle, Path or a Graphic line around center point or around some specific coordinates on the page.
That's what I found in OMV:
myPath.flip.HORIZONTAL = AnchorPoint.CENTER_ANCHOR;
which runs through without interuption, but doesn't change anything.
Or this that errors out:
You help is greatly appreciated.
You are close -- you use the right commands, but you are missing that "absoluteFlip" is a property of graphic lines, not a method which you can apply to it. Think of a ball -- it is red and round (property) and you can throw it (method). You can change the color (method) or you can set the color to something (property).
myDieLine.flipItem (Flip.HORIZONTAL, AnchorPoint.CENTER_ANCHOR);
it works perfectly.