How to use hadoop for text file?

How do I use an external text file to dynamically insert text into a text field in flash 8 professional?

  • the only thing I have been able to find so far is how to do it in flash mx and I can not find out how the text file should look. Is it just the name of the text, an equal sign and then what u want it to say, or do u have to put an "&" in front of it. These 2 different things I have found. Plus do I need to put any special tags such as <html> tags in the document

  • Answer:

    No you don't need the text file to have HTML tags.* The text file can hold multiple variables just like a dynamic URL. ex. your text file might look like this: variable1=foo&variable2=bar notice that the two variables are seperated by the apersand "&" that is how flash will understand that you want two seperate pieces of data. The two pieces of data will have the names Variable1 and Variable2. Once you use the loadvars object to call in the variables you can call them by name "variable1" or "variable2" to access the values in them. In this case "foo" and "bar" If you only need 1 piece of data, just use one variable ex. variable1=foo and there is no need for an ampersand. Loadvars object actionscript dictionary http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary427.html * The only time you might want to use HTML tags in the dynamic text is if you are going to use the HTML in a version of flash that has HTML support

shwain87... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.