Hi List,

Does anyone have a bulletproof method for dynamically resizing your SWFs
from within the SWF? eg, if you have SWFs which have expandable vertical
content that sit within the flow of an HTML page. Something like this:
http://2mdc.com/resizableFlash/

I have tried doesnotcompute's lovely BrowserCanvas (
http://www.dncompute.com/blog/2008/06/23/browsercanvas-the-worlds-easiest-way-to-dynamically-resize-flash.html)
and
found that it only works for 1 SWF per page. (It always resizes the first
SWF, no matter which SWF needs resizing.)

I have also tried the wonderful Mustard Lab Resize Flash technique (
http://www.mustardlab.com/developer/flash/objectresize/) - however, to my
surprise I couldn't get it working with properly SWFObject in IE6 and
Safari. It works fine in FF and IE7. I found that, while the containing DIV
was resized appropriately, the Flash height (set to 100%) was not filling up
the DIV. I'm still not sure why this is; it works if the SWF is placed on
the page using JavaScript to write out the tags (which is how it is
implemented by Mustard Lab). Unfortunately it does need to work with
SWFObject.

Any ideas would be much appreciated,

Cheers,
CB.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to