views:

273

answers:

2

Hi All,

I am building a flash banner, which needs at one stage to expand beyond its 728x90 box. Something similar to the Corei7 ad currently on wired.com but not as drastic. I know ads like that are annoying, but getting evicted in winter is not an option. Viewing source on pages are difficult since they are almost always wrapped up in some third party code so I am stuck.

If you can give any help I would appreciate it. I have been trying searches with different combinations on stackoverflow and google and I have not found the right combination of keywords that give me proper results.

tl;dr : Please tell me how to make a Flash banner that expands transparently beyond its 728x90 box upon user interaction.

A: 

You need to use windowless mode so that the browser renders the application. This allows you to see behind the embedded object and see the html components behind it.

RHicke
Does the flash document change its dimensions or does it originally start with the larger dimensions hidden and the javascript reveals the rest of it?
Bookar Gee
I think the flash expands: to test this, try right-clicking around the page before the animation starts (normal HTML context menu) and after (flash context menu).
Richard Inglis
+1  A: 

You need some JavaScript on the outside that resizes the Flash movie. This JavaScript could be triggered using ExternalInterface.

Hippo