The Flash max-height issue
While working at Flint on the site for Paper Stone Scissors, I ran in to the little explored area of flash player 9’s maximum rendering area – the site uses JQuery to dynamically resize the flash HTML container to use browser scrollbars for long pages and unfortunately FP9 stops rendering graphics beyond 2880×2880 pixels… a bit of a problem where the site often scrolls to 4000px or more…
Do this by:
– Initially setting the size of the flash element to the desired full size (this sets the correct scrollbar size).
– While scrolling, use external interface to pass the scroll value of the browser in to flash.
Track the value in JS and in flash, and if the scroll value hits the maximum value:
- In flash – as the browser scrolls, scroll the flash content container in the other direction (this keeps the flash content within the maximum render area)
I had a lot of trouble finding resources about this issue online, I hope this can help someone with the same problem.