| autosize popup from flash
|
akademik

msg:3338139 | 4:39 pm on May 12, 2007 (gmt 0) | Hello all, Can somebody please show me an example of how to use auto size popup window in Flash? I would like to load image in popup window and than resize window to match picture dimensions.
|
BlobFisk

msg:3342162 | 4:19 pm on May 17, 2007 (gmt 0) | Hi akademik, This is done the same way as you would from a webpage, use javascript and window.open and pass in the window dimensions: on (release) { getURL("javascript:window.open('http://www.example.com', 'windowName','location=1,status=1,scrollbars=1, width=800,height=600');"); } |
| HTH [edited by: BlobFisk at 4:20 pm (utc) on May 17, 2007]
|
akademik

msg:3344528 | 11:17 am on May 20, 2007 (gmt 0) | Thanks for your reply. I need window to be resized to dimensions of the picture, so instead of "width=800,height=600" it would resize to match picture dimension. I hope you understand. Thanks again.
|
|
|