Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-30-2006, 03:40 PM   #1
mortenpink
Registered User
 
Join Date: Feb 2006
Posts: 13
Default linking external text files in different folders

here's the problem:

I am making a site for some people that have no experience using any web tools. They need to be able to update the texts on the site themselves.

The page will feature a number of artists and will be frequently updated. What I need is some smart way of a flash movie that loads whatever bioText file is in the current folder so that the same flash file can be used over and over again and yet load different files.

example:

A flash file called bio.swf contains a textArea component that loads the file bioText.txt into it.

each of the artist folders contains a bioText.txt file with the bios for each artist.

how do I make it so that depending on what folder the bio.swf file is loaded out of, the bioText.txt file originates from that folder and not from root?

Key point: they can not alter flash files, only text files.

if anyone has a smart idea it would be MUCH appreciated

mor10
mortenpink is offline   Reply With Quote
Old 06-30-2006, 04:08 PM   #2
Paerez
Chick dig raccoons
 
Paerez's Avatar
 
Join Date: Apr 2005
Location: Maryland / Massachusetts
Posts: 1,104
Send a message via AIM to Paerez
Default

well if you are loading a specific bio.swf out of a specific folder, then you know the folder. So set the folder as a variable when the user clicks that artist's button and use the variable again to load the txt.

I am not expert on loading txt files so maybe someone else can handle that part.

The easiest way is to use XML, but that may be too hard for the artist, although it could be pretty simple XML.

You could also create an Admin flash swf for the artist to go to and fill out their info, then write out the xml from it, and let them edit it, but thats more work for you.
Paerez is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading images into dynamic text boxes mprovojr ActionScript 2.0 5 10-09-2007 06:10 PM
Dynamic text from an external text file. issue michaelsillitoe ActionScript 1.0 (and below) 1 03-29-2005 01:29 PM
External Text File Slideshow flashboulder ActionScript 2.0 2 03-14-2005 03:23 AM
problem with mailto using external text files XploreR ActionScript 2.0 1 12-18-2004 01:07 PM
If anyone's bored, a custom class . . . retrotron ActionScript 1.0 (and below) 22 05-24-2003 10:01 PM


All times are GMT. The time now is 07:39 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.