Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

swf disappears on click

Status
Not open for further replies.

frozenpeas

Technical User
Joined
Sep 13, 2001
Messages
893
Location
CA
I have an embedded swf that disappears when you click elsewhere on the page. This happens only in IE on a Mac.

Does anyone know how to fix this, or why it's happening?

Thanks.
 
Can you post the code of your page?

Have Fun...

Sharky99 >(::O>
 
Not really at the moment. Here is a little:

Code:
<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; onLoad=&quot;pic.focus()&quot;>

and the swf:

Code:
<object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&quot;[/URL] width=&quot;243&quot; height=&quot;165&quot; align=&quot;right&quot; vspace=&quot;5&quot; hspace=&quot;5&quot; name=&quot;pic&quot; id=&quot;pic&quot;>
                <param name=movie value=&quot;../swf/pic_profile.swf&quot;>
                <param name=quality value=high>
                <embed src=&quot;../swf/pic_profile.swf&quot; quality=high pluginspage=&quot;[URL unfurl="true"]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;[/URL] type=&quot;application/x-shockwave-flash&quot; width=&quot;243&quot; height=&quot;165&quot; align=&quot;right&quot; vspace=&quot;5&quot; hspace=&quot;5&quot; name=&quot;pic&quot;>
                </embed> 
              </object>

That's probably the only relevant code, anyway.

Thanks for your response.
 
Why the pic.focus???

First time i see someone use it with flash to be honest, i think this might be it. Remove it and see.

Hope it'll help ;-) Have Fun...

Sharky99 >(::O>
 
The swf is interactive, so the onLoad=&quot;pic.focus()&quot; is to make sure that the user doesn't have to click the swf to focus it, before interacting with it.

With or without it, I get the same problem.

Any other ideas? :(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top