[MX] my swf can load only locally ... :(

Hello,

I am confuzed agein. I bilding a simple code fo xml handing…

2: I use a big number of fields…
_root.f1
_root.f2
_root.f3
_root.f4
_root.f5

… can I place it in loop somehow… like
for (i=1;i<6;i++){
_root.fi = somthing*;
}

well this dosent work… but I hope you got the point.

? How to put varieble in _root.f1?

… thanks for your time.:frowning:

PS:
hm… so little visits… is it the word XML that scares you… strange… in fact. XML is much easer then HTML… you dont have to learn tags… or atributes. you make them up… but I am out of topic

To answer yer 2nd question, use this loop:


for (i=1;i<6;i++){
    _root["f"+i] = somthing*;
}

:slight_smile: thanks XemonerdX this will save me a lt of hand work…