Welcome to WebmasterWorld Guest from 54.147.189.54

Forum Moderators: open

Message Too Old, No Replies

Javascript "style" popup from a Flash object

Possible?

     
6:14 pm on Jul 14, 2007 (gmt 0)

Senior Member

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

joined:Apr 15, 2003
posts:7242
votes: 0


I want to open a window as a popup when a link is clicked, but I can't use Javascript. Can't use target="_blank" either for a number of reasons.

Does Flash have a facility for opening a new window (and controlling its resulting size) when clicking on a link inside the Flash object?

Thanks!

TJ

10:22 pm on July 18, 2007 (gmt 0)

New User

5+ Year Member

joined:Nov 3, 2006
posts:20
votes: 0


There seems to be a way to use javascript for opening the new window, or something called fscommand that would allow you to control the dimensions:

fscommand("openWindow", "http://www.adobe.com¦win¦height=200,width=300,toolbar=no,scrollbars=yes");

But, I've never tried these myself and wouldn't know how to set them up correctly for you. The description for them is listed on "How to create pop-up browser windows in Flash" on Adobe's site.