I think the question is pretty self explanatory. Anyone done this before?
UPDATE: Clarification on why I need to do this. We have a single swf behemoth of an AS1 – AS2 site with a large video gallery section. The client wants to update the video section as the AS2 code cannot handle their more recent, much larger, video files. The client will not pay for the entire site to be updated. So, I would like to be able to overlay an AS3 based video browser and player on the existing site when that section is navigated to, thus leaving the rest of the site working correctly with it’s existing AS2 code.
Hope that explains things a little more clearly!
I wouldn’t think that whether it’s AS3 or AS2 has anything to do with it.
From the point of view of the web browser, they are both a black box that says ‘Flash Player Plugin’. You can only have one version of the plugin installed at one time, so even though you have an AS2 and an AS3 swf, the web browser just sees that it has 2 instances of ‘Flash player plugin version 10’
To boil it down what you seem to be trying to do is:
So, does this work? –
NoYes, very well, but you must setwmode='transparent'on your embedded flash objects (thanks grapefrukt in comments).I ran a test: here’s my source code:
Results:
Without
wmode=transparent, is inconsistent and minorly broken in firefox and IE. With it, does exactly what you think it should in both IE and firefox.The swf files behave (from a layout point of view) as if they are just images. It’s cool.