Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Rcamara webforumsuser@macromedia.com #1
get inteernet information - use javascript?
I would like to know how, or if, I can get the nasdaq quotes online to my director movie, into text fields.
I've found this javascript but I don't know how, or if I can use it.
public static String quote(String symbol) {
try {
java.net.URL url = new java.net.URL(
"http://quotes.nasdaq.com/quote.dll?page=_
xml&mode=stock&symbol=" + symbol);
com.borland.xml.XmlData data =
new com.borland.xml.XmlData(url).getKid("equity-quote");
return quote.getKidValue("trade-datetime") + " " +
quote.getKidValue("last-sale-price"));
} catch (Exception e) {
return "(no data)";
}
}
Thank you
Ricardo
Rcamara webforumsuser@macromedia.com Guest
-
Getting Certain Information
Hi, I have a question that I'm hoping someone could help me with. I'm use coldfusion and microsoft access. I have a database and I'm trying to... -
Include javascript in a javascript file
Hello, Is there a way to include a javascript file from WITHIN a javascript file? Something similar as in the "#include" directive in C++? ... -
output text in control location; calling control javascript from page javascript
Hi; If you don't know, I'm just learning javascript and aspnet, but I have a pretty good grounding in windows programming. I'm trying to build a... -
need javascript staff (anyone who knows javascript peroid) (READ)
hey its me ultimategamerx and im back in some clothes lol i need some people who know java script i need help please reply if ya know some -
pdf information..
Hello, I have been given a task to generate a business card program over the web. The option that i can think of it to make it easier is generate... -
Andrew Morton #2
Re: get inteernet information - use javascript?
Look at the source of
[url]http://quotes.nasdaq.com/reference/comlookup.stm[/url]
from which it appears that you can use getNetText to get the info you want.
Nowadays I can't see "nasdaq" without mis-reading it as naquada :-)
Andrew
Andrew Morton Guest
-
Ned #3
Re: get inteernet information - use javascript?
"Andrew Morton" <akm@in-press.co.uk.invalid> a écrit dans le message de
news:bqfr83$qjf$1@forums.macromedia.com...
|
| Nowadays I can't see "nasdaq" without mis-reading it as naquada :-)
|
LOL ! if only .... ;o)
--
----------------
-- Ned
----------------------------------------
Bien faire et laisser braire
----------------------------------------
Ned Guest



Reply With Quote

