A step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.
A C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.
This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.
Creating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.
Interfacing Flash with External Data SourcesThis tutorial will show you some ways in which Flash can use ActionScript to make use of external data sources. |
On Saturday, March 11th 2006 at 03:52 PM By Lewis Cowles (View Profile) ![]() ![]() ![]() ![]() (Rated 4 with 14 votes) |
||
|
Contextual Ads
More ActionScript Resources
Advertisement
Interfacing Flash with external data sourcesMacromedia Flash is a very robust tool for creating multimedia applications for both the internet and other applications It’s use has been documented as widespread as the PlayStation 2™ Incarnation of the game ridge racer. The key to this use of flash is being able to use flash with external data sources such as XML and text documents. In this tutorial we will investigate how to create a text reading application for use as a guestbook this way you could create the application and instead of opening up flash you would be able to change the contents of the text file and have the page updated on the fly. Before starting this tutorial you must ensure that you have at east Macromedia Flash MX these tutorials may work elsewhere but I can only guarantee their success within Flash MX and upwards. Step1: Create a New flash Document in the standard document dimensions 550px width and 400px height. Step2: Use the Text Tool to create a Dynamic Text Box with a variable name of text and the value Single Line change to Multiline. Step3: Right Click the first Frame and select Actions from the context menu. Step4: Use LoadVariable(“./data/textfile.txt”, _root); and then stop(); in the ActionScript window then click the arrow to make the Actions screen disappear. Step5: Now You can save the Flash source file and Export to an SWF file the flash part of this exercise is finished. Step6: Now you need to go into windows explorer and create a folder with the name data in the directory that you saved your flash file to. Step7: Inside this data directory create a file entitled textfile.txt with contents reading &text=hello this is my file Step8: Run your flash file and The text “hello this is my file” appears in the window. Step9: Now you have an application that works you can change the font in the flash application or pretty much anything you desire. I hope this helps you to create future flash masterpieces. Good Luck Guyz |
|||
Digg It!
Del.icio.us
Reddit
StumbleIt
Newsvine
Furl
BlinkList
|
|||
|
|||
Current Comments<a href= http://www.myfreeforum.co.uk/phpbb/churubusco/ >new york car insurance</a> quality car insurance
<a href= http://sites.centralpets.com/birds/greensburg/index.html >free online car insurance quote</a> free car insurance quote
<a href= http://cvgvb.forum66.com/ >low cost car insurance</a> compare car insurance quote
<a href= http://www.myfreeforum.co.uk/phpbb/bordentown/ >low car insurance</a> free online car insurance quote
<a href= http://sites.centralpets.com/birds/churchroad/index.html >free car insurance quote</a>
<a href= http://californiamls.blog.dada.net/ >california mls</a> AZ MLS
<a href= http://lasvegasmls.blog.dada.net/ >las vegas mls</a> us mls
<a href= http://lasvegasrealestatemls.blog.dada.net/ >las vegas real estate mls</a> MLS-CA
<a href= http://mlsflorida.blog.dada.net/ >mls florida</a> NW MLS
<a href= http://multiplelistingservice.blog.dada.net/ >multiple listing service</a>
i already trry to read from external source its works, but i have a little problem to create a text file or write to a text file from flash. ( without php script) just action script is that possible ?
please sombody help me. thx
I don't know can it help you, but f-in-box component http://f-in-box.com/ supports external api, and it works very good.
thnx!
Here it is
asdfds
Mauris sit amet leo. Integer eleifend est at nibh ultricies aliquet. Morbi mi lectus, gravida ullamcorper, rhoncus eu, sagittis eget, nisi. Aenean nec ante. Mauris ligula. Nam adipiscing dolor eu ligula. Duis vestibulum. Vivamus ipsum. Suspendisse ut mi at felis imperdiet convallis. Curabitur varius, ante vitae scelerisque imperdiet, sem urna cursus mi, non sollicitudin lorem erat eget orci. Morbi auctor, tortor sit amet euismod fermentum, eros magna dignissim lectus, id scelerisque turpis magna a metus. Lorem ipsum dolor sit amet, consectetur adipiscing elit
---------------------------
tribhuvan
-----------------------------
<a href="http://www.greatautoinsurance.com">Great Auto Insurance</a>-Great Auto Insurance
Related Tutorials
Related Source Code
ActionScript Job Search