Controlling flippingbook api within loaded swf pages
FlippingBook HTML Edition is a set of JavaScript and SWF files running on your HTML page. When a page is loaded, the code contained in these files automatically builds in the flash album having such options as: zooming, printing, saving, contents, navigation.
All good until your client wants to add any extra features! For the record, Flippingbook’s support and documentation is crap. One simple requirement is having buttons on the internal pages that link to other pages within the book.
When you add the simple bit of actionscript below to any swf pages published you can start talking back to the JavaScript Object and methods. No Examples included but can be if requested…
import flash.external.*; function goToPage(_num):Void { ExternalInterface.call("flippingBook.flipGotoPage", _num); } function goToFirstPage():Void { ExternalInterface.call("flippingBook.flipGotoFirstPage", ""); } // this.btn_goToPage.onRelease = function() { goToPage(4); } this.btn_goToFirstPage.onRelease = function() { goToFirstPage(); }








oh yes! i have been looking for this answer for hours!!! THANK YOU can you please send me or post a working example. I am new to this. YOU ARE AWESOME!!!!