DEVPPL
http://www.devppl.com/forum/

A DIV containg flash to be closed from flash button within
http://www.devppl.com/forum/viewtopic.php?f=45&t=12799
Page 1 of 1

Author:  samko [ Mon Feb 02, 2009 9:31 am ]
Post subject:  A DIV containg flash to be closed from flash button within

Hello!

I would appreciate if you can help solve me the following problem:

I am using a dhtml popup on my site. The popup is a DIV that appears on load.

This div displays a flash movie. I wish to allow the user to close the DIV (and not just the flash) when button inside this flash is clicked.

Ideally, I need the entire code snippet to help me close the popped up div using a button inside the popped up flash div.

Any help will be highly appreciated.

Thanks

Samko

Author:  flabbyrabbit [ Mon Feb 02, 2009 1:37 pm ]
Post subject:  Re: A DIV containg flash to be closed from flash button within

Im not sure the exact code to do this, but it should be easy enough to find. In flash you can call javascript functions on the html page its self. This is usually used to create popups e.g. http://www.flash-db.com/PopUp/JavaScriptPopUp.php?page=1, then you could simply change the popup script to window.close();

If you need any more detail just shout.

Flabby Rabbit

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/