dcsimg
First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Zoubin Zarin | Website: http://www.zarinmedia.com/

Final Points

There are two more points to remember when using this graph to read data online. One is that when loading variables online, you must have the full URL pointing to your data.txt file (eg. http://www.zarinmedia.com/dgraph/data.txt ). The second being, there is a slight delay between the time the data is served, and flash catches it when youre online. So in this example I have made the swf loop back and constantly check itself to make sure the values are being displayed. (Another approach to this might be to designate a done variable such as "eof" (end of file) as a flag saying that the data is loaded in.. and then loop, refresh, and check until that done variable = 'true' after which you can have flash go on to the next task at hand)

Well that's it! I hope this has given you some ideas! I look forward to seeing some more dynamic graphs out there. Good luck and happy flashing.

» Level Advanced

Added: 2000-04-13
Rating: 7.98 Votes: 327
» Author
Zoubin Zarin is the core of zarinmedia, a newmedia company specializing in advanced flash design / development / and programming. Zoubin is also the creator of www.flashskills.com, a directory of freelance flash developersonline, listed according to skill level, location, availability for work.
» Download
Download the files used in this tutorial.
» Forums
tuteicon
More help? Search our boards for quick answers!
fk_wncornlft
fk_wnmid
fk_wncornrght
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.