The best way to make a flash popup
On my website, I want a small flash banner that the user can activate in some way, and it gets much larger to display a lot more information.
I've seen banner ads annoyingly do this when you hover over them, although I would like to ask the user to click the more button.
I can think of two ways 1) Make the flash movie full size and put it in transparent mode using the "wmode" parameter to flash the movie and only paint the whole thing when asked. 2) Place the movie in a div in the html page and find it using absolute positioning with css. When the user clicks, make a javascript flash callback on the page to make the div larger by overlaying part of the page
Both seem to have disadvantages and compatibility issues. Does anyone have any suggestions on what to use, or a third way?
I would use javascript to swap between a small swf for "normal" mode and a large overlay (using wmode = transparent).
This is because the flash overlay on the page does not allow clicks to go through some settings, it simply does not support transparency for flash (some Linux iirc configurations in particular), and this will render the entire site unusable.
Also, wmode = transparent is sloooow. So only use this when necessary.