Hi!
You can do this using a condition in the OnWindowScroll interaction. (I have Axure 8 only so I can’t open your file.) Note that you do NOT want to pin the marker that defines where to change states.
OnWindowScroll
IF [[Window.scrollY]] is greater than or equal to [[LVAR_scrollMarker.y]]
Set panel textPanel to State2
ELSE
Set panel textPanel to State1
This assumes LVAR_scrollMarker is a local variable referring to the marker that triggers the scroll.
Here’s an example in Axure 8: changeTextOnScroll.rp (56.5 KB)