Closed Bug 271836 Opened 20 years ago Closed 20 years ago

can not close the flash by javascript

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: sandy.sun, Assigned: bugzilla)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910

In the left and right sides of page of the www.sina.com.cn,there are two flashs.
At the bottom of the flash,there is a |X| to close the flash.
But it is no use to clich the icon |X|

Reproducible: Always
Steps to Reproduce:
1.load the page
2.show the flash display
3.at the right-bottom of the flash,there is a |X| icon to close the display
4.click the icon,no response.

Actual Results:  
no response to the action

Expected Results:  
close the display of the flash
If you open the testcase in IE,it works well.
FYI
Version: unspecified → Trunk
Attached file Testcase for the bug (obsolete) —
You can use both IE and mozilla or firefox to test it.
Attached file TestCase
You can use IE and Mozilla to test it.
Attachment #167102 - Attachment is obsolete: true
Attached file TestCase-2
Well,I think I get the reason.

The script in the page use the FSCommand() to close the flash.But it is only for IE.

So I think it is not a bug for firefox

------------------------------
-The block of the page source-
------------------------------
<DIV id=couplet_left style="Z-INDEX: 1; VISIBILITY: visible;POSITION: absolute">
	<EMBED id=sinadl PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer 
		src=http://ad4.sina.com.cn/200411/24/5595_cz-hpwin-11.swf width=100 height=300 
		type=application/x-shockwave-flash wmode="opaque" quality="high">
	</EMBED> 
</DIV>

<SCRIPT language=JavaScript event=FSCommand() for=sinadl>
couplet_left.style.visibility='hidden';
</SCRIPT>
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
So I will close it
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: