that's incomplete flash embedding code.
either use the embed code published by flash or use swfobject.
The page with exact same code on our production server works perfectly fine. The page was setup by consultant, I know nothing about flash,. so I would rather figure out what other could be wrong than changing the code.
The flash was included in the file of home page like this:
<iframe src="/Pages/HomeFlash.htm" width="618" height="187" frameborder="0" scrolling="no" style="z-index:-1; "></iframe>
Any other suggestions please?
make sure your swf is in the same relative directory (/_layouts/mpsimages/DistrictHome.swf) and good luck!
It is in the directory.
I will repaste the html file that incudes the swf file. on my first post, I pasted the code copied from source. BUt this one I copied from html editor.
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
<!--[if gte mso 9]><xml>
<mso:Comments msdt:dt="string">Home Page Flash </mso:Comments><mso:PublishingContact msdt:dt="string"></mso:PublishingContact><mso:PublishingContactPicture msdt:dt="string">, </mso:PublishingContactPicture><mso:RedirectURL msdt:dt="string">, </mso:RedirectURL></mso:CustomDocumentProperties></xml><![endif]-->
<body topmargin="0" leftmargin="0">
<object width="618" height="187" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" style="z-index:-1">
<param name="quality" value="best" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="ffffff" />
<param name="movie" value="/_layouts/mpsimages/ComanyHome.swf" />
<embed src="/_layouts/mpsimages/DistrictHome.swf" width="618" height="187" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="z-index:-1;" wmode="transparent"></embed>
I have more observations about the homeflash.html.
Even on the production site, if I use http://servername/pages/homeflash.html, the flash will not shown.
I have to use the dns name like: http://www.mycompany.com/pages/homeflash.html. then the flash will be shown.
For my new server we haven't setup the dsn name, just use servername, so the flash not shown either.
So my question is now : why flash works if I use dns name on URL, but not working if use servername?
that's probably a cross-domain security issue. what's the comparable url (that should work) and non-working url (that never worked).
the name of your company is mycompany?
and a string containing an ellipsis isn't a url.
No, our site URL is not mycomany.com. Just want to show one is dns/url of our home page, the other is access it internallly using servername.
I don't really want to post the real name of our URL and servername here.
Will posting that be helpful to answer the question?
I opened the swf file in CS4-Flash program, in control tab, list variables, output
there is hard coded url in the flash:
Variable _level0.image = [object #12, class 'Array'] [
But the file seems not editable, not sure how to change it?
that info would probably be helpful but, possibly not.
if you want, you can pm me that info.
Actually I found out the URL is hard coded in the swf file. See my last message.
But I cannot edit it. It seems the file is locked.
1 person found this helpful
you can't edit the report but you can edit the fla.