Groups | Blog | Home
all groups > macromedia mobile and devices flashlite > february 2005 >

macromedia mobile and devices flashlite : loadvariablenums() can use once for each level??


Staria
2/7/2005 5:04:08 PM
could you help me find the solution??

when i loaded .txt file using loadvariablenums(url,level)
it works at the first time of each level
but when i using this method to d/l another .txt file at the same level i've
loaded in before,
it seems that the data in that level doesn't update to the new data..
every time even when i close my application and open it again, the value in
that level still be the value which i loaded at the first time!

i wonder if i do something wrong or there are another solution of loading
many .txt files at the same target???

thank you >_<
Tom Krcha
2/7/2005 5:16:26 PM
Hi,

it should work, but it isn't loadvariablenums but loadVariablesNum.

Try better loadVariables(url,target), make MC e.g. "loaded" in the root and
load data trying this loadVariables(url,"/loaded");

Good Luck!
Staria
2/7/2005 6:05:56 PM
oh..
sorry about function's name >_<

and thank you for the answer!
Justin E-C
2/7/2005 6:07:18 PM
there are also some restrictions on opening the requests to the server. If you
have something else that is opening a connection in the same frame, then that
will block the second connection attempt.

Also, there is a maximum number of open connections that you can have at any
time. There was a thread about it before... I think it was three or four.

I would tend to agree with Tom though about changing your architecture to use
movie clips instead of levels. Other than some really specific reasons, I
mostly stopped using levels after Flash 3.
AddThis Social Bookmark Button