-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathREADME
33 lines (22 loc) · 762 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
= FlipBook for Titanium
===========================================
This is a component to create a Flipbook to iPad.
This initial release uses images for pages.
== Add this to you project
---------------------------
Copy the 'flipbook' folder inside your 'Resource' project folder.
== Basic Usage
---------------
To add on a window:
// Add Flipbook Library
Ti.include('flipbook/flipbook.js');
// Create Flipbook Object
flipbook.create({
pages:['img/1.jpg','img/2.jpg','img/3.jpg','img/4.jpg','img/5.jpg'], // Add your Image Pages
top:0,
left:0,
width:768,
height:1004,
attachTo:win // ATTENTION, USE this to add object to you window instead of 'win.add(blabla);'
});
That's pretty much it! Any edits/improvements are appreciated.