there is an old skool way: create a javascript function to close the thickbox. then in your flash file: getURL("javascript:closeThickbox()");
_____ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: vendredi 21 septembre 2007 14:08 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Closing a thickbox from within a Flash movie Gordon, In your flash file you need to put: import flash.external.*; Then at the last frame put something like: ExternalInterface.call("function(){\\code to close thickbox}"); If that does not work, try creating a new function on the javascript side and call it like: ExternalInterface.call('closeFunction'); On 9/21/07, Gordon <HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED] > wrote: I have been asked to update a website that provides help to the user by opening up Flash videos in popups when the user clicks a link. The Powers That be want them to open in the page itself, so I've decided to use a thickbox that links to a HTML page with the flash movie embedded in it. This works well and the results are a definate improvement over the popup windows, but I do have one question. It may be desireable for the thickbox to close itself when the video in the Flash player comes to an end. I was wondering, is there a way of triggering the Thickbox to close itself when the player stops? -- Benjamin Sterling HYPERLINK "http://www.KenzoMedia.com"http://www.KenzoMedia.com HYPERLINK "http://www.KenzoHosting.com"http://www.KenzoHosting.com Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.488 / Base de données virus: 269.13.27/1020 - Date: 20/09/2007 12:07