PDA

View Full Version : Editable text


ally
10-28-2008, 09:41 PM
Hi
I have a client who is a writer and im going to be making his site fairly soon.
However he wants to add short stories quite often, is there a way i can set something up so he can manage a small portion of content. Just the text?

Many Thanks

p.s
is this any use:
http://www.webgurucms.com/

snickelfritz
10-29-2008, 12:46 AM
It's fairly straightforward to link a dynamic TextField to an external txt document that your client could edit in Notepad.
You might want to include a scrollbar in case his content exceeds the length of the textfield.

I set something this up for one of my clients last year and he loves it.

ally
10-29-2008, 01:58 AM
Cool, thankyou for your reply.

How did you client upload the text document? Just an ftp client?
I can't decide on the best approach.

snickelfritz
10-29-2008, 03:21 AM
I hooked him up with Fetch, which comes with a lot of useful automation scripts.
For example, you can very easily compile a right-click function that uploads the selected file to a specific FTP directory.

So, he can create a plain text document, name it to match the one on the server, save it to the desktop, right-click and choose: "upload file".
Pretty simple.

ally
10-29-2008, 12:29 PM
Great, thankyou.
Do you think fetch is the best? Hes not that great with computers

snickelfritz
10-29-2008, 04:42 PM
Great, thankyou.
Do you think fetch is the best? Hes not that great with computers

Not sure if it's the "best", but it's a very good FTP client.

ally
10-29-2008, 05:07 PM
Fetch is just for apple isn't it?
He has a PC.

Also how do i link a dynamic TextField to an external txt document?

snickelfritz
10-29-2008, 05:30 PM
If he's using WinXP, you could set up a "Network Place" on his computer. (IIRC)
He could then simply use Windows Explorer to upload the files.
(I am not experienced with any specific Windows-compatible FTP clients; try versionTracker (http://www.versiontracker.com/windows/internetutilities/ftp))

You load the text file with the URLLoader Class.
You should learn as much as possible about this class; it is used quite frequently in Flash development.
I highly recommend the book "Learning ActionScript 3.0" by Shupe/Rosser.

ally
10-29-2008, 08:11 PM
Just a thought but could a URLLoader Class load text from say a wordpress blog?