Flash Object in HTML Page - IIS
I am a newbie and trying to develop a web site with HTML over IIS.
I have inserted a flash (swf) object into the html code and am able to see the object displayed via IIS (right-click virtual directory and browse).
However, it does not show if I try to access the same page via IE with http://localhost/Other. Only the text gets displayed.
What could be the reason.
Sorry but I don't quite follow what you are saying. When you "right-click virtual directory and browse" are you displaying the whole HTML page or just the .swf?
If so that could just mean that the .swf is in fact in the directory, not that the coding to display it is correct.
Without a little more info, it's kindof hard to tell what the problem may be.
Best of luck,
I am displaying the whole page. It is giving the same result in IE and FireFox. The code is below.
<title>favorites / bookmark title goes here </title>
<object data="C:\test\FlashObjects\logo.swf" type="application/x-shockwave-flash" width="1000" height="106">
<param name="movie" value="C:\test\FlashObjects\logo.swf">
<body bgcolor="white" text="blue">
<h1> The Other Page</h1>
This is the other page.
Looks like the problem is most likely a pathing issue. The data=".... part should be the path to the .swf relative to the Web page on which the .swf is located. So depending on the name of the folder in which the Web page is located (let's just say the Web page is in the "test" folder), the path would be
So remove the reference to C: and us forward slash to denote folder levels.
param name="movie" value="FlashObjects/logo.swf">
Thanks. It is working now.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)