www.webdeveloper.com
Results 1 to 6 of 6

Thread: Scripting for Parameter

  1. #1
    Join Date
    Feb 2013
    Posts
    1

    Smile Scripting for Parameter

    Hello in need of some real help trying to covert this script to run on a windows server. It will run on a Linux sever. Any help is welcomed.

    <script>
    var s = new SWFObject("cm.sdb","single","898","800","8");
    s.addParam("allowfullscreen","true");
    s.addParam("scale", "noscale");
    s.addParam("quality","high");
    s.addParam("wmode","transparent");
    s.addParam("allowScriptAccess","always");
    s.write("flashcontent");
    </script>

  2. #2
    Join Date
    Feb 2013
    Posts
    15
    Well, if this is Javascript code, AFAIK that code is run client sided, so how would you convert a clientsided script from a linux server to a windows server?

    Perhaps you should give more information, like what it is you want to do with that script?

    Also it seems the code simply embdes a Shockwave Flash Object into your page. It might be worth looking at simple HTML <embed> if that is what you are intending to do.

  3. #3
    Join Date
    Feb 2013
    Posts
    15
    Correction: Embed is deprecated, Applet seems to be the new way to do this. Google is my friend. *g*

  4. #4
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787
    Quote Originally Posted by dhe View Post
    Correction: Embed is deprecated, Applet seems to be the new way to do this. Google is my friend. *g*
    Applet is deprecated, use object.

  5. #5
    Join Date
    Feb 2013
    Posts
    15
    Seems like I am going to have a few words with my "friend"! *cracks knuckle*

    Thanks for the correction.

  6. #6
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787
    might try copying the crossdomain.xml file from the toot of your linux server to the root of your windows server.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles