Adding Pages to Kwik Book App Template
Let's add the second page to our app.
- From the Kwik panel, click the Open Project icon to open your project.
- Both the cover and page1 psd files will open into Photoshop.
We are going to use the page1.psd file as our template. It contains the navigational buttons, the page flip animation and the page flip sound.
- In the Page/Components section of the Kwik panel, select page1. You should see "@ page1" at the top of the section.
- In the Kwik panel, click on the Project and Pages icon in the Categories bar.
- Then click on the Add New Page icon to start a new page.
- In the New Page dialog box, give the new page a name such as "page2".
- Check the box for Use page1.psd.
- Check the box for Copy content from page1.
- Click OK. You will see the page1.psd file renamed to page2.psd. This indicates that you now have a psd file for page2 in the project folder.
You will also see 003 page2 listed in the Pages/Components section ( Switch to Pages View) of the Kwik panel. If you click on the Switch to Components View icon, you will see that our new page has all the components from the template.
- Open the mockup for page 2 of our app into Photoshop.
- From the Menubar, click Select - All.
- With the bottom layer in the Layers panel selected, click Edit - Copy to copy the layer contents to the clipboard.
- Go back to the new page2.psd file and select the bottom layer.
- From the Menubar, click Select - All. Then click Edit - Clear to remove the contents from the bottom layer.
- Rename the bottom layer to "bg_pg2".
- Click Edit - Paste to paste the new background graphic on to the bottom layer of page2.psd.
Now that we have renamed the bottom layer, Kwik will treat this layer as a new layer separate from the bg_pg1 layer. We need to set the layer property to tell Kwik to export this layer as a jpg.
- With the bottom layer still selected, click the Layers and Replacements icon in the Categories bar.
- Now, click the Layer Properties icon in the first row of tools.
- In the Layer Properties dialog box, check the box for Export image as jpg.
- Click File - Save to save the changes to the new page2 psd file.
Once all your pages are added, click the Publish button in the Kwik panel to test the project in the Corona simulator.
If all goes well, we are ready to add some animation and interactivity to our book app. But first, we should make a back up copy of our project folder, just in case we run in to any problems going foward. There are version tracking systems out there and some have all the bells and whistles. This is my low tech version. It doesn't cost anything.
- Inside your LearnKwik folder is your Template project folder.
- Right click and choose Copy from the menu.
- You will get a new folder named Template Copy. Let's rename the folder to "TemplateAllPgs". This will tell us that this folder contains a working copy of our project saved at the point where all pages where added to the book app.
Note: Do not try to work with any back up folders in Kwik. Always make a copy of the latest folder and use that backup folder as your working folder. In this way, if you run into trouble with the next step in building your book app, you also have the original.
Copyright 2018 Adobe Systems Incorporated. All rights reserved. Adobe product screen shot(s) reprinted with permission from Adobe Systems Incorporated. Adobe, Photoshop, Photoshop Album, Photoshop Elements, Illustrator, InDesign, GoLive, Acrobat, Cue, Premiere Pro, Premiere Elements, Bridge, After Effects, InCopy, Dreamweaver, Flash, ActionScript, Fireworks, Contribute, Captivate, Flash Catalyst and Flash Paper is/are either [a] registered trademark[s] or a trademark[s] of Adobe Systems Incorporated in the United States and/or other countries.
Kwik product, the Kwik logo and Kwiksher are properties of Kwiksher.com - Copyright 2011. Screen shots used by permission.
These tutorials are for the older version of Kwik 2 and may not be much help when using Kwik 3 and above. If you are having trouble, please use the Kwik forum.
Editor's Picks Articles
Top Ten Articles
Content copyright © 2019 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.