By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,934 Members | 1,476 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,934 IT Pros & Developers. It's quick & easy.

swfobject error

100+
P: 115
hi friend

this is my code

Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2.         // <![CDATA[
  3.         var so = new SWFObject("./yoga/so_tester.swf", "sotester", "100%", "100%", "8", "#FF6600");
  4.         so.addVariable("flashVarText", "this is passed in via FlashVars for example only");
  5.         so.addParam("scale", "noscale");
  6.         so.write("flashcontent");
  7.         // ]]>
  8.     </script>
it is working fine for (open file)
file:///D:/WebSite4/swfobject/swfobject1-5/fullpage.html

if i connect to the IIS (http://localhost/TEST/FULLPAGE.HTML)
it is also working fine

asp.net code
Expand|Select|Wrap|Line Numbers
  1. filepath="file:///D:/WebSite4/swfobject/swfobject1-5/fullpage.html";
  2. Response.WriteFile(filepath);
it not working


it gives error 'You need to upgrade your Flash Player '

why?
pls help me
Jul 24 '09 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Perhaps the JavaScript file has not been properly included.
Jul 24 '09 #2

100+
P: 115
Hi
No i am include properly
pls check my code
Nov 13 '09 #3

gopan
P: 41
Where is your asp.net code located?? is that in the same directory of the HTML??
Nov 16 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.