?
Solved

How to Convert JavaScript to asp.net code

Posted on 2010-11-23
3
Medium Priority
?
328 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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 would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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