Gah, sorry. Seems I forgot to finish that when I started it...
The function is already in the MegaZine class, but not yet in the JavaScript interface.
To get it, please add this to the IMegaZine interface:
/**
* Looks up the anchor associated with this page. If it exists, returns that, if
* not returns null.
*
* @param page The page for which to look up the anchor.
* @return The anchor associated with the given page.
*/
and this to the JSConnector class
// In 'init()'
// And this function
/**
* Looks up the anchor associated with this page. If it exists, returns that, if
* not returns null.
*
* @param page The page for which to look up the anchor.
* @return The anchor associated with the given page.
*/
public static
function getPageAnchor
(page
: uint) : String { if (_mz != null) return _mz.getPageAnchor(page);
}
Then recompile the megazine.swf