Loading dynamic text/content - Soccer Livescore
Posted on 2003-02-21
I am developing a soccer live-score website by using php. The design is such the way when these is scoring, a new small window would be opened with a flash(ver6) curtain open slowly apart and show the score at the back loaded dynamically.
My design and critical problem is;
The flash loaded the dynamic result from a text file updated by my php script. However, the design would not work when there are concurrent users(and it will ofcourse) access my website. It is because the file will be opened and write concurrently, and therefore it corrupted at the end.
I have an idea where an unique text file will be opened to each user accessing to my website, thus to avoid the corruption. But the Flash seems accept one URL(my text file) only according to the MX FLASH, am I right?
In the Actions-Frame
URL: text.txt (this is the problem)
Variables: Send using GET
In the properties
In the text.txt;
datavalue=UEFACL 3' MANUTD 1-0 JUVENTUS;
How can I solve the problem with this design? I am quite new to MX FLASH, any better solution will be appreciated!