?
Solved

How to Convert JavaScript to asp.net code

Posted on 2010-11-23
3
Medium Priority
?
337 Views
Last Modified: 2012-05-10
hi,
 i am warrying about javascript to understand its functionality,could you please help me how to convert this javascript into asp.net code and it's functionality.

<script type="text/javascript">
                      var so = new SWFObject('flash/player.swf','player','474','377','9');
                      so.addParam('allowscriptaccess','always');
                      so.addParam('allowfullscreen','true');
                      so.addParam('flashvars','&file=http://www.zzzz.org/Flash/flv/yyyy.flv&skin=flash/snel.swf');
                      so.write('player');</script>

thanks in advance.
0
Comment
Question by:CPSRI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:sammySeltzer
ID: 34199988
Instead of trying to convert it to as.net, why not use it as part of clientscript in asp?

Just stick the function in the body of your asp.net file and it should work.
0
 
LVL 29

Accepted Solution

by:
sammySeltzer earned 1500 total points
ID: 34200038
if you decide to change it though, then static html embed may work.

<object width="474" height="377">
<param name="movie" value="player.swf" />
<embed src="player.swf" width="474" height="377" />
</embed>
</object>

Open in new window

0
 

Author Closing Comment

by:CPSRI
ID: 34434657
thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question