Reading article 1361668 by heathrowe on getting the scroll position does not work when creating a new document in Edge Animate V5.0.1 (2014.1):
//"Text" on stage
sym.$("Text").css("position","fixed");
$(window).scroll(function () {
var myScroll = $(window).scrollTop();
sym.$("Text").html("You've scrolled " + myScroll + " pixels");
console.log('myscroll: ' + myScroll);
});
$('body').click(function(){
var scrollPost = $(document).scrollTop();
sym.$("Text").html("On click your scroll is at " + scrollPost + " pixels");
console.log("myscroll when clicked: " + scrollPost);
});
// console returns error
Likewise the Parallax Scrolling by Edge Docks doesn't work for the same reason, but works in V4.0.1 as does the scrollTop();
Is there an update coming soon?