Welcome to WebmasterWorld Guest from 54.147.158.215

Forum Moderators: open

Message Too Old, No Replies

autosize popup from flash

     
4:39 pm on May 12, 2007 (gmt 0)

New User

5+ Year Member

joined:Oct 2, 2006
posts:28
votes: 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.

4:19 pm on May 17, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 25, 2002
posts:3185
votes: 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]

11:17 am on May 20, 2007 (gmt 0)

New User

5+ Year Member

joined:Oct 2, 2006
posts:28
votes: 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.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members