homepage Welcome to WebmasterWorld Guest from 54.211.219.178
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Javascript "style" popup from a Flash object
Possible?
trillianjedi




msg:3394698
 6:14 pm on Jul 14, 2007 (gmt 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

 

firstodd




msg:3398612
 10:22 pm on Jul 18, 2007 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved