# Loaded Swfs not working when loaded through xml

**URL:** https://forum.kirupa.com/t/loaded-swfs-not-working-when-loaded-through-xml/310446
**Category:** flash
**Created:** [June 10, 2010, 11:36am UTC](https://forum.kirupa.com/t/loaded-swfs-not-working-when-loaded-through-xml/310446 "2010-06-10T11:36:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zeqopaa](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@Zeqopaa](https://forum.kirupa.com/u/Zeqopaa)
#### Post date: [June 10, 2010, 11:36am UTC](https://forum.kirupa.com/t/loaded-swfs-not-working-when-loaded-through-xml/310446/1 "2010-06-10T11:36:28Z")

</div>

Hi All,

Great forum, found many solutions to flash related problems. And now its time to add a question of my own as I cannot find a uasable solution on teh net.

I am creating digital learning material for kids.

I have a “photo” gallery that loads numerous SWFs through xml, one by one on click. All works fine. All my SWF work fine stand alone. But when I load them into the player, many swf dont work properly.

in example, I have textinput textfields in many of the swfs, which work fine on their own but not when loaded into the player. Then I have a word search game that works fine when alone, not when in player. I can see there is something as my mouse cursor changes into the “button finger”, but nothing visual.

All drag and drop assigments work fine etc.

I have no idea whats up. I have receantly switched to as3 and in as2 there was \_lockroot declaration that solved similar problems, but now in as3 (where it supposedly should be automatic) it doesnt work. As it seems that it cannot recognise it own stage value, or selection\_focus when loadedinside another swf through xml.

Using cs4, as3.

Please help me. Or push me to the right direction 🙂
