
July 29th, 2003, 02:15 PM
|
|
Junior Member
|
|
Join Date: Jul 2003
Location: Wakefield, West Yorkshire, UK
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Flash integration problem
A value is called from a mySQL database using a PHP file. THe number of records is counted and it is called "posts". This number in my case so far is 2.
In flash I have an for command, that has this first line,
for (i=0; i==posts; i++) {
But, the for command keeps going and going, as in when i gets greater than the variable posts, it doesn't read it.
I also have the same problem earlier in the code. The last variable stated by the PHP is newsstatus = complete
In flash when I use if (newsstatus == "complete") { it doesn't register at all.
But, if I place dynamic text fields in the movieclip that all this code is placed upon, all the variables are shown correctly.
Can someone tell me why this is?!?
Thanks in advance.
|