Hmmm ... It looks like Amazon doesn't always run ads. I will give another example.
Take a look at http://digg.com/
There is a 300x250 ad at the top of the right-column. Ignore that.
In addition, there is a second 300x250 ad halfway down the page in the right column.
This second 300x250 ad appears when you scroll down.
The interesting thing is that the ad plays from the beginning when you first see it after scrolling down!
Most flash ads run for 15 seconds. After that the animation stops. When you see this second 300x250 ad, you will find it at the beginning of its 15 second animation. It plays from the beginning even if you wait for some time before scrolling down. This means that the ad is waiting for you to scroll down before it begins to play.
How is this done?
OK I figured it out.
If you embed a flash object with wmode of opaque (or transparent) then it will play ONLY when it is visible within the web browser window. If you place the flash object at the bottom of your page, it will play the animation only when you scroll down and the flash object comes into view.
But if the wmode is window, then the animation will play regardless of whether the flash object is visible within the browser window or not.
Strange... I don't recall seeing this in any of the documentation, but perhaps I missed it.
thanks for sharing that
Hijacking this thread for my own means:
Where is the wmode setting? I opened the html that was automatically published with the .swf and the wmode in there is already set to "window", yet the animation pauses when not in the current window.
This is a major problem because my animation is synced with music and the music does NOT stop when not in the current window. So the instant someone navigates away from the flash object, it unsyncs.