Solved

How to Convert JavaScript to asp.net code

Posted on 2010-11-23
3
318 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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

690 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