Monday, February 06, 2006

Browser Embedding and Opening Non Flash Windows

Undocumented - and not really pounded on test wise -

Version 2.0.2 (Mac) has a secret version of createWindow

Pass a file path (to a file othe than a swf) or a url to createWindow and it will open a new window and render the content - pretty much anything Safari can render will work, hml, quicktime, pdf and more.. pretty cool

Ok it gets cooler

set the owned by parent flag to true and it will "embed" the broser into your flash window.

parameters all make sense except you set the size by using the shapeFilename field and using a format like this {500,500)

1 comment: