# (MX) Sending data in & out from swf

**URL:** <https://forum.kirupa.com/t/mx-sending-data-in-out-from-swf/8930>\
**Category:** flash\
**Created:** [December 1, 2002, 9:08am UTC](https://forum.kirupa.com/t/mx-sending-data-in-out-from-swf/8930 "2002-12-01T09:08:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolguy13](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@coolguy13](https://forum.kirupa.com/u/coolguy13)\
**Post date:** [December 1, 2002, 9:08am UTC](https://forum.kirupa.com/t/mx-sending-data-in-out-from-swf/8930/1 "2002-12-01T09:08:01Z")

</div>

Hi guys,

I hv an swf called main.swf. from this movie i want to send some data to sub.swf which runs whenever any button on the main.swf is clicked. I want to use the data from main.swf to sub.swf.  
My query is how can i send the data from main.swf & how to get it in sub.swf.  
I tried using loadMovie & getURL function but dont know how exactly to use…  
Please help.  
Thanks in advance…

---

<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:** [December 1, 2002, 2:57pm UTC](https://forum.kirupa.com/t/mx-sending-data-in-out-from-swf/8930/2 "2002-12-01T14:57:08Z")

</div>

There are tutes about loadMovie if that’s what you are trying to do.

pom 🙂

---

<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:** [December 2, 2002, 3:29pm UTC](https://forum.kirupa.com/t/mx-sending-data-in-out-from-swf/8930/3 "2002-12-02T15:29:48Z")

</div>

I read the tutes about loadMovie but my question is something different. My problem is what exactly should i write to send data from one movie & to receive that data in some other movie.

looking for response…
