# Sharing information between movies?

**URL:** <https://forum.kirupa.com/t/sharing-information-between-movies/28705>\
**Category:** flash\
**Created:** [August 17, 2003, 7:06am UTC](https://forum.kirupa.com/t/sharing-information-between-movies/28705 "2003-08-17T07:06:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samurai\_Moo\_Cow](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Samurai\_Moo\_Cow](https://forum.kirupa.com/u/Samurai_Moo_Cow)\
**Post date:** [August 17, 2003, 7:06am UTC](https://forum.kirupa.com/t/sharing-information-between-movies/28705/1 "2003-08-17T07:06:17Z")

</div>

How would i carry over variables and arrays and stuff into seperate movies?

---

<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:** [August 17, 2003, 7:14am UTC](https://forum.kirupa.com/t/sharing-information-between-movies/28705/2 "2003-08-17T07:14:40Z")

</div>

When a movie is loaded into another, they share \_root. So simply put vars in \_root and they’ll both be able to write and read them.

---

<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:** [August 17, 2003, 7:27am UTC](https://forum.kirupa.com/t/sharing-information-between-movies/28705/3 "2003-08-17T07:27:09Z")

</div>

okay thanks

---

<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:** [August 17, 2003, 7:27am UTC](https://forum.kirupa.com/t/sharing-information-between-movies/28705/4 "2003-08-17T07:27:49Z")

</div>

voet, i think he means two separate swf files… if so, use LocalConnection… see this:

[http://www.kirupaforum.com/forums/showthread.php?threadid=27105&highlight=localConnection](http://www.kirupaforum.com/forums/showthread.php?threadid=27105&highlight=localConnection)

---

<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:** [August 17, 2003, 7:39am UTC](https://forum.kirupa.com/t/sharing-information-between-movies/28705/5 "2003-08-17T07:39:23Z")

</div>

Could be … well, now he has them both 🙂

---

<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:** [August 17, 2003, 8:38am UTC](https://forum.kirupa.com/t/sharing-information-between-movies/28705/6 "2003-08-17T08:38:12Z")

</div>

yeah thanks both of you 😉
