ArcMedia JavaScript Source Code 3000 Pro (gar448) for PC Logo

Related Topics:

Posted on Dec 11, 2009

Source code of 2 input numbers

How does code of java script ny the use of looping.

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

New Friend:

An expert that has 1 follower.

Hot-Shot:

An expert who has answered 20 questions.

  • Contributor 28 Answers
  • Posted on Dec 11, 2009
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

New Friend:

An expert that has 1 follower.

Hot-Shot:

An expert who has answered 20 questions.

Joined: Dec 11, 2009
Answers
28
Questions
0
Helped
3892
Points
49

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1helpful
2answers

My computer says it is running a script which will make it run slower. How do i correct this?

this is normally java running something, if it tells you its a different program close the program if not press Ctrl + alt + delete change to processes and pick java (it may have more in the name) right click and end process this should refresh java and stop it running excess scripts
2helpful
1answer

When i enter the chat room i got the notice... a error has occured in the script on this page line:7 char:2888 error:permision denied code:o url: http://yui.yahooapis.com/2.4.1/build/con... min.js

You may not have Internet Explorer as your default browser but it is coded with Yahoo Messenger
For this reason you must keep it up to date and the support software as well. You do not have to set it as default but you need to keep itclean.
Flashplayer FOR IE
Shockwaveplayer FOR IE
Java
Check out the Yahoo Messenger Scripting Help page
1) Visit this page and select your product version (Messenger version) using the drop box
http://help.yahoo.com/kb/index?page=prod...
2) Type into the search bar: ......... script error...........and hit 'Search'
3) Browse the section for your problem and your OS and click on the link


To enable scripting:Internet Explorer8

Click "Tools"
Click "Internet Options."
Click "Security" tab.
Click "Custom Level" button.
Scroll down to "Script ActiveX.controls marked safe for scripting"- enable
Scroll down to "Scripting - Active scripting" - enable
Scroll down to "Scripting of Java applets" - enable
Click OK
Click OK
Restart IE Source(s):
1helpful
1answer

Wirte a pogram in java using for loop,that will print out the first 1 numbers of a fibonacii series that is:1 1 2 3 5 13 21 34 55

package com.gpt;

import javax.swing.JOptionPane;

/*
This program computes Fibonacci numbers using a recursive
method.
*/
public class Fibonacci
{
public static void main(String[] args)
{
String input = JOptionPane.showInputDialog("Enter n: ");
int n = Integer.parseInt(input);

for (int i = 1; i {
int f = fib(i);
System.out.println("fib(" + i + ") = " + f);
}
System.exit(0);

}

/**
Computes a Fibonacci number.
@param n an integer
@return the nth Fibonacci number
*/
public static int fib(int n)
{
if (n return 1;
else
return fib(n - 1) + fib(n - 2);
}
}
0helpful
1answer

How do i install java script being a guest

java script is not an installalbe item. java script is run inside the browser.
1helpful
1answer

Source code in java for notepad

you can downlaod source code here

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3158&lngWId=2
0helpful
1answer

How to play audio clip in java

  • Create an AudioClip object
  • Load .au sound file into AudioClip
  • Play sounds once or loop continuously
  • Stop playback


Here's how the code for these steps looks:
import java.applet.*;
AudioClip ac = getAudioClip(getCodeBase(), soundFile);
ac.play(); //play once
ac.stop(); //stop playing
ac.loop(); //play continuously


It would seem logical to use this same code to play audio clips in a Java application. Unfortunately, if you do that you will get errors from the compiler. Why? Because the AudioClip object and the getAudioClip() method are part of the java.applet package -- and are not part of applications. The good news is we can dive down and make things work ourselves.
The trick to solving this problem is to use some undocumented features that are provided by Sun in its JDK. Taking a peek inside the classes.zip file from the Sun JDK (using any of the various zipfile utilities), we find not only the standard Java packages such as java.applet but also sun.audio. (These are in the directory sun/audio.)
The sun.audio package contains everything we need to be able to play audio clips! Here's the code:
import sun.audio.*; //import the sun.audio package
import java.io.*;
//** add this into your application code as appropriate
// Open an input stream to the audio file.
InputStream in = new FileInputStream(Filename);
// Create an AudioStream object from the input stream.
AudioStream as = new AudioStream(in);
// Use the static class member "player" from class AudioPlayer to play
// clip.
AudioPlayer.player.start(as);
// Similarly, to stop the audio.
AudioPlayer.player.stop(as);


To use a URL as the audio stream source, substitute the following for the input stream and audio stream setup:
AudioStream as = new AudioStream (url.openStream());


Playing the audio stream continuously adds a bit more complexity:
// Create audio stream as discussed previously.
// Create AudioData source.
AudioData data = as.getData();
// Create ContinuousAudioDataStream.
ContinuousAudioDataStream cas = new ContinuousAudioDataStream (data);
// Play audio.
AudioPlayer.player.play (cas);
// Similarly, to stop the audio.
AudioPlayer.player.stop (cas);
0helpful
1answer

Can u please send me the follwing code. I want 2009 calendar with java script code ,so the code shoude be seen by clicking mouse it shoude be disply thanks, wish u ahappy new year

here it is. check the example available to see if it suits your needs.
follow the instructions and it will display in your web page.
you can

http://www.java-scripts.net/javascripts/Calendar-Popup.phtml
0helpful
2answers

Source code for word count

Haha, i wrote one of thee a while ago for a competition. You need to us e the char at function mate :D
Inside a for loop
Ill havea look for you though :D
2helpful
3answers

Creating biodata form in java script

i want to create a biodata for every citizen and non-citizens in nigeria. how can i make it a dream come true.

1helpful
2answers

Help me to insert a java script

what is javascript of a button ceating in flash
Not finding what you are looking for?

85 views

Ask a Question

Usually answered in minutes!

Top ArcMedia Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1480 Answers

 Mikey
Mikey

Level 3 Expert

6904 Answers

Are you an ArcMedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...