swfobject error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yogarajan
    New Member
    • Apr 2007
    • 115

    swfobject error

    hi friend

    this is my code

    Code:
    <script type="text/javascript">
    		// <![CDATA[
    		var so = new SWFObject("./yoga/so_tester.swf", "sotester", "100%", "100%", "8", "#FF6600");
    		so.addVariable("flashVarText", "this is passed in via FlashVars for example only");
    		so.addParam("scale", "noscale");
    		so.write("flashcontent");
    		// ]]>
    	</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
    Code:
    filepath="file:///D:/WebSite4/swfobject/swfobject1-5/fullpage.html";
    Response.WriteFile(filepath);
    it not working


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

    why?
    pls help me
    Last edited by Dormilich; Jul 24 '09, 06:55 AM. Reason: added [code] tags
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Perhaps the JavaScript file has not been properly included.

    Comment

    • yogarajan
      New Member
      • Apr 2007
      • 115

      #3
      Hi
      No i am include properly
      pls check my code

      Comment

      • gopan
        New Member
        • Apr 2009
        • 41

        #4
        Where is your asp.net code located?? is that in the same directory of the HTML??

        Comment

        Working...