Hi Dick, I've tried to get the applet, but the NYSE, AMEX and OPRA form agreement is only for US people (only US in the select...) and I prefer not to create a "fake" account.
The problem is that I have no idea how they get the data from the java applet.. Is it through a socket connection (real-time)? From which server? Or is it through a scheduled http call (to a web services?), for example every 10s. (nearly real-time)? It is pretty important to know from where you'll get those real-time data. You can do real time data with FlashMX by using the following ActionScript object: - XMLSocket(), you'll need a socket server (http://www.moock.org/unity/), XML text format messages, - NetConnection(), you'll need FlashCom server, AMF binary format messages (much better for the client and the bandwith). But to create a "nearly" real-time app is much easier to develop... You can easily go from static to "nearly" real-time. No need for a socket server, a simple application server is required (CFMX for example), the flash client could get data from the server through URL variables, XML data (web services) or flash remoting (prefered method especially if you have CFMX). In ActionScript on the client, you'll just have to create a function/method that get the data from the app server and then create a setInterval() to call this method every x secondes. Anyway, I'm afraid to be too OT for CF-Talk on this thread... You might try to post the question on a flash mailing list such as http://chattyfig.figleaf.com/ Good luck! Benoit Hediard www.benorama.com > -----Message d'origine----- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Envoy� : lundi 16 juin 2003 19:12 > � : CF-Talk > Objet : Re: SOT Flash vs Java Applet to display streaming data > > > On Monday, June 16, 2003, at 09:49 AM, Benoit Hediard wrote: > > > If you want to see what can be done with Flash for stocks/trading, you > > should have a look to this app : > > http://marketrac.nyse.com/mt/ > > > > Interesting... won't work on any of my Mac browsers (IE, Safari, > Mozilla) > > > I think it is Flash5 based... pretty impressive... > > It should be even faster if it was done with FlashMX. > > > > The example always shown by MM is the E*Trade stock quote widget. > > https://us.etrade.com/e/t/invest?traxui=F_HV ("flashlet" on the right) > > > > This appears to be static -- the java applet at scottrader is dynamic > with streaming data. > > > There is a small sample applications in DRK1 called "Stock Services > > Library" > > that allow you to easily retrieve and display historical stock > > information > > within Macromedia Flash MX : > > http://www.macromedia.com/software/drk/productinfo/product_overview/ > > volume1/ > > additional_resources.html#1 > > http://www.macromedia.com/software/drk/productinfo/product_overview/ > > volume1/ > > flash_remote_article.html > > > > These, too, appear to be static -- using historical data > > > I haven't seen the java applet from scotttrader.com but a Flash-based > > app > > should definitely offer a much better end results (portability, UI, > > experience...). > > > > If you have the time, Benoit, take a few moments and register for the > java applet at: > > https://www.scottrader.com/Agreements/Register.asp > > I'd like to hear what you think after seeing the applet. > > No pain & they will not spam or high-pressure you. > > The key is the use and display of dynamic real-time data. > > TIA > > Dick > > > > Benoit Hediard > > www.benorama.com > > > >> -----Message d'origine----- > >> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > >> Envoy� : lundi 16 juin 2003 18:12 > >> � : CF-Talk > >> Objet : SOT Flash vs Java Applet to display streaming data > >> > >> > >> Not exactly CF, but there are lots of Flash users out there. > >> > >> Scotttrader at www.scotttrader.com provides a free java applet that > >> allows you to monitor stock positions in real time. ( a more robust > >> version of the java applet is available if you set up a Scottrade > >> account). > >> > >> You can enter multiple lists of up to 10 stocks and it will display > >> real time activity from some sort of streaming feed. A stock ticker > >> and other goodies are also available, but the real-time display of > >> multiple stock positions is the most useful (and most impressive, > >> challenging, etc). As each activity is posted to the spreadsheet-like > >> form, the background color of each affected cell changes to reflect > >> the > >> plus or minus direction of the activity -- green = plus, red = minus, > >> yellow = high or low for the day. Each cell changes color when the > >> activity warrants. It is quite useful to see the colors and numbers > >> ripple through the spreadsheet, every second, or so. > >> > >> In general it is fast and quite nice, but suffers from some of the > >> common Java applet problems: > >> > >> -- works with only certain browser versions > >> -- displays differently (incorrectly) in different browser versions > >> -- does not play nicely with other browser windows. > >> > >> I was wondering if some of the Flash experts out there could answer > >> some general questions: > >> > >> -- Could this be done with Flash? > >> -- Would a Flash implementation perform as well, worse, better than > >> the > >> Java applet? > >> > >> If there is no performance penalty, a Flash implementation would > >> appear > >> to be a better solution. > >> > >> Just to throw something else into the pot, the "robust" version has an > >> interactive tutorial that works just OK in Java, but would be a > >> natural > >> for Flash. > >> > >> Thoughts > >> > >> Dick > >> > >> P.S. MACR was up .25 to $20.80 at last look! > >> > >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

