Copy link to clipboard
Copied
How do you create animation with a page similar to powerpoint? Looking to slide an image on the screen via click
You'd need to create an object that represented all of the button properties including the icon. Then add the button to the document at the start position, increment the coordinates, delete the button, then add it again at the new position.
I'd write you some code... but I assure you, it's going to look TERRIBLE.
If you feel you MUST do this, look at the samples around adding buttons here...
...Copy link to clipboard
Copied
You can do it by animating the position of a button that uses an image as it's icon... but you don't actually want to do that. Acrobat wasn't engineered for this type of animation and it will "flicker" into position more than animate. If you need PowerPoint functionality... use PowerPoint.
Copy link to clipboard
Copied
How do you "animating the position of a button that uses an image as it's icon"?
My issue is that powerpoint will not properly work when shared due to exclusive protected font.
Copy link to clipboard
Copied
You'd need to create an object that represented all of the button properties including the icon. Then add the button to the document at the start position, increment the coordinates, delete the button, then add it again at the new position.
I'd write you some code... but I assure you, it's going to look TERRIBLE.
If you feel you MUST do this, look at the samples around adding buttons here...
Specifically, look at the oCoords property. That's what you want to animate.