PDA

View Full Version : Dynamic News Page thingo



_ferret
February 25th, 2004, 03:58 AM
greetings ladies and gents,

i'm working on getting a simple php news that can write to a text file but then be read by the flash news page. Simple, but the script im using (QuickBlogger) sticks the newest news at the top. This is fine except it doesnt have any template features so im trying to figure out how to prepend the "news=" variable ID to the start of the text file.

Is there any way of doing this without having to massively rehash the code? (im not a php fluent person.. lack of time, lack of decent resources.... )

Or, is there a way of gettin flash to read the contents of the text file without the variable thing being at the start of the file?

the site, by the way, is for a local Christian band, and is @ www.magnify.co.nz/flash_index.html

I've spent about 4 hours on google and various forums trying to find a decent solution to my problem, so any help would be greatly appreciated.

nikoka
February 25th, 2004, 09:13 AM
"is there a way of gettin flash to read the contents of the text file without the variable thing being at the start of the file?"

I got the exact same problem and I'd really like to know... been wondering about this for a long time. If anyone knows, please please reply!

Thanks!

_ferret
February 26th, 2004, 02:59 AM
yeh it seems to be a real tricky one... i dont really wanna use a php thing to toss the contents of the file on to flash, because news pages have a habit of getting long, and i dont know enough php to get it to array and delete/edit entries and prefix the variable ID etc to the top.... i think this is one thing they'd better sort out in future versions of flash, because its driving me insane not being able to do this!! I mean there must be heaps of people with similar problems.


Thus, design is a sort of paradox, where we try to do things to be creative and dynamic etc etc but are still to some degree limited by the technology.