I have a rectangle called `pageBar` on my master page !
I would like to create a script that will automatically resize the width of the rectangle based on the page number.
Something like : `width = 1280 * (pageNumber / pageTotal)`
Any help would be much appreciated.
Thanks in advance,
J.