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

**URL:** <https://forum.kirupa.com/t/mx-my-swf-can-load-only-locally/7656>\
**Category:** flash\
**Created:** [November 5, 2002, 6:12am UTC](https://forum.kirupa.com/t/mx-my-swf-can-load-only-locally/7656 "2002-11-05T06:12:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deril](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/deril/32/63_2.png) [@Deril](https://forum.kirupa.com/u/Deril)\
**Post date:** [November 5, 2002, 6:12am UTC](https://forum.kirupa.com/t/mx-my-swf-can-load-only-locally/7656/1 "2002-11-05T06:12:56Z")

</div>

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.☹

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2002, 11:41am UTC](https://forum.kirupa.com/t/mx-my-swf-can-load-only-locally/7656/2 "2002-11-05T11:41:17Z")

</div>

To answer yer 2nd question, use this loop:

```auto

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

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 5, 2002, 7:13pm UTC](https://forum.kirupa.com/t/mx-my-swf-can-load-only-locally/7656/3 "2002-11-05T19:13:11Z")

</div>

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