View Full Version : Drop-in content box , how to make Flash content not play in the background

06-05-2008, 02:03 AM
1) Script Title: Drop-in content box

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem: I love this script and it works fine but I need to use a flash file (.swf) in the box and it has audio. When the box is hidden I can still hear the audio playing in the background. Is there anyway, via the coding or in the actionscript of the flash file that I can make the flash only play when its in view and not when its hidden ? I've searched the net all day and can only come up with 'ExternalInterface' in the AS, is this the right direction to go ? Any help would be greatly appreaciated.

thanks :D