These downloadable files also make use of the feature Shared Assets.
Download iPad Files
Open this page from your iPad and click here to download Oomph Viewer onto your iPad. Once Oomph Viewer is installed, you can click here to download an example file that can be viewed on your iPad.
If you are on your desktop or laptop, download the files to your desktop and sideload the files onto your iPad. Mac users can use Oomph Editor to preview files on their computer.
Smartfit is a mechanism to allow object hotspots to dynamically resize and reflow to suit their contents. This is especially useful when using shared assets as the final page layout will be determined by the content loaded into the template, rather than being restricted to rigid areas.
The Smartfit directive is an option that is appended to the hotspot definition immediately following a comma, e.g.:
Body,smartfit Photo,smartfit Object1,smartfit Cardflip1,smartfit
When an object is expanded due to smart fit, it will re-flow other objects on the page. So if for example you had a main body section using smartfit, and a footer below it, as the body expands it will push the footer further down the page.
In addition, the page will become longer to accommodate the expanded content. Note, however, that pages will only expand in the vertical direction - they cannot become wider, only taller.
NOTE: If you are using text objects or any other dynamic Oomph feature that will adjust the length of your page, you will notice that once your content exceeds the length of a standard page the default background pattern will appear (a grey swirly pattern). To avoid this, create a second layer that sits behind the rest of them. Make this a HTML layer and set the background colour to match the colour of your page, and set the height as so in a linked .css file:
PDF's can't stretch, but if the background layer's height is set as per above, it will adjust to fit the length of the page whatever that ends up being.