Home

Downloads

FAQs

Sample Book

Features

Forum

 

Pageflip in HTML pages

When you run pageflip within an HTML page it is possible to pass parameters. One possible use would be to pass the name of the pages.xml file and thus open different books/ audio playlists.

<param name="xmlFile" value="xml/pages.xml">

<param name="playList" value="xml/audioTracks.xml">

Basically, in the script actions_f1.as you can add conditional statements to use the passed in values like this:-

if(_level0.xmlFile==undefined) {
_level0.xmlFile = "xml/pages.xml";
}

Adobe has a number of technical references on the subject as listed below:-

Using <Object> and <Embed>

http://kb2.adobe.com/cps/415/tn_4150.html

Using Flashvars

http://kb2.adobe.com/cps/164/tn_16417.html