PowerPac v12.12 Released

Announcements of new releases, function enhancements and bug fixes.

PowerPac v12.12 Released

Postby Clifton » Mon Oct 20, 2014 5:05 pm

Changes since v12.051:
  1. PowerPac Engine Enhancements
    • JavaScript code optimizations saving 20-30kb in content load bandwidth.
    • Moved color picker code to separate js file. Only loads when a color picker is actually used in the content.
    • Extensive popup help clarifications for htmlVideoLoader().
    • During export the PowerPac fixes a longtime buggy Actions Editor function in classes.js called isNumber(). The bug fix ensures that the function always returns a correct value of true or false based on the input value. If the submitted value is an undefined variable, an empty string, an array or object, the function will return false as expected. Thus no errors will ever be thrown by the problematic isNumber() function in classes.js.
  2. Bug fixes to htmlVideoLoader().
    • Fixed a problem when loop was set to "rewind" or "reload"
    • Fixed a problem with allowFlashFallback interpretation when set to false. Non-MSIE browsers would still trigger Flash component loading.
  3. Enhanced setPageContentPosition()
    • Added support for parameters width and height to accept the string "browser" to force the ToolBook page to fill the entire browser window area.
    • When page is sized to "browser", the function will automatically resize the page if the user changes the size of the browser window. The function will also send an on user event to the current ToolBook page approximately every second with the value parameter set to "[name of page],[page width],[page height],sized".
    • You can build actions to respond to the on user event to move or resize various page objects to match the new size of the page.
    • This feature is used by the htmlVideoLoader() function when the user clicks to go to full screen/browser mode.
  4. Enhancements to htmlVideoLoader()
    • Updated third party VideoJS module from v4.6.4 to v4.10.2. The updated version incudes support for 11 languages (determined by the code page of the client computer).
    • Function now fully monitors playback of YouTube video streams.
    • Support has been added for EITHER PowerPac's normal video playback controls OR the standard YouTube controls. Set controls = "youtube" to use the YouTube controls.
    • Full browser window support has been enhanced so that if the user resizes the browser window while playing a video in full screen mode, the playbar and all related video objects will resize accordingly.
    Bug fixes for fullscreen transitioning. These bugs apparently crept in an earlier release v12.098.
  5. Bug fix to createTreeMenu()
    • Restoring status icons of visited items in a tree menu that had been modified by the release of newer content would not be restored correctly in some situations.
    • The fix is designed to read the tracking cookie and compare the stored visited items with the structure of the menu. If a discrepancy is found, the tracking cookie is deleted to prevent anomalies in restoring the menu status icons.
  6. Bug fix to PowerPac's color picker: pgColorPicker()
    • A previous release added some event listeners that had a negative impact on how the color picker functioned when used with multiple input field.
    • We reverted back to previous event listener code to restore proper functioning of the color picker.
  7. Added NEW parameter to pgArrayToString() called removeEmptyValues in increase the flexibility of the return from this function. If set to false, the function maintains empty strings in the return from the procedure. The default is true to preserve backward compatibility. Includes a modification to pgSort_Shuffle() to handle ToolBook object arrays which are structured differently than actual JavaScript arrays.
Direct Download
Clifton
Site Admin
 
Posts: 732
Joined: Tue Jan 14, 2014 1:04 am

Return to New Releases

Who is online

Users browsing this forum: No registered users and 3 guests

cron