This content has been marked as final. Show 4 replies
of course. All you do when you import data from a .txt file is import variables. (or create variables by importing the entire file).
in you .txt file, you can write
the & symbol tells flash a new variable is a-commin'. Then just use the LoadVars() .load() method to import the .txt file, assign the variables to buttons, and you can have the buttons be links using those variables.
I am sorry - I might have not been clear about what I am using.
I am using the Loader Compnent from the compnents panel.
I want to tell that component to load a picture from a folder on my server through a TXT file making updating the picture simple.
I need the code to tell the component to look to the TXT file for the link where the image is held.
Oh I'm sorry. I generally hand build that stuff. I can help you if you'd like to do that, but if you want to just use a canned component, I'm sure they have documentation around to help you out. (ie- I don't know)
Do as Mr. Helpy explains and then use this code below with the instance name
of your loader component as "loader":
loader.contentPath = link1;
--> Adobe Community Expert
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog
"Mr Helpy mcHelpson" <email@example.com> wrote in message
> Oh I'm sorry. I generally hand build that stuff. I can help you if you'd
> to do that, but if you want to just use a canned component, I'm sure they
> documentation around to help you out. (ie- I don't know)