Hi,
If it's not too much of a bother I wish to request a 'thumbtype' book property for when Thumbpath is used, this is to override the hardcoded ".jpg" extension wish seems unnecessarily restrictive...
PS: We'r hacking it by registering the property in 'MegaZine.as' at the 'registerSettings' function and then we access the property from 'PageSide.as' at the 'loadThumbnail' function:
MegaZine.as:
(...)
private function registerSettings():void {
(...)
settings_.register("thumbauto", false);
settings_.register("thumbscale", 0.25);
settings_.register("thumbpath", "");
settings_.register("thumbtype", ".jpg");
(...)
}
(...)
PageSide.as:
(...)
private function loadThumbnail():void {
var l:LoaderExt = new LoaderExt();
lec_.add(l.contentLoaderInfo, Event.COMPLETE,
handleThumbnailDone, LECUtil.AUTO_REMOVE);
lec_.add(l.contentLoaderInfo, IOErrorEvent.IO_ERROR,
handleThumbnailError, LECUtil.AUTO_REMOVE);
lec_.add(l.contentLoaderInfo, SecurityErrorEvent.SECURITY_ERROR,
handleThumbnailError, LECUtil.AUTO_REMOVE);
var mz:IMegaZine = page_.chapter.megazine;
l.loadPrioritized(new URLRequest(mz.getAbsPath(mz.settings.
getSetting("thumbpath") + number_ + mz.settings.
getSetting("thumbtype"))), null, 10);
}
(...)