# Set a value to the loaded child

**URL:** https://forum.kirupa.com/t/set-a-value-to-the-loaded-child/301835
**Category:** Uncategorized
**Created:** [December 16, 2009, 3:38pm UTC](https://forum.kirupa.com/t/set-a-value-to-the-loaded-child/301835 "2009-12-16T15:38:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![akram85s](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@akram85s](https://forum.kirupa.com/u/akram85s)
#### Post date: [December 16, 2009, 3:38pm UTC](https://forum.kirupa.com/t/set-a-value-to-the-loaded-child/301835/1 "2009-12-16T15:38:06Z")

</div>

hello guys i’ve a small problem  
simply i have two movie clips:  
1.main.swf  
2.inner.swf  
i’m adding the inner.swf somewhere in the main.swf using addChild (and it’s added successfully).  
all i want to do is to pass a parameter to the inner.swf  
or make the inner.swf reads a root value from main.swf

all i know is that in AS2 it was as simple as \_root.x but here in AS3 i think it’s more complicated  
please help me mates
