# Sending vars from one swf to another like this

**URL:** <https://forum.kirupa.com/t/sending-vars-from-one-swf-to-another-like-this/229117>\
**Category:** Uncategorized\
**Created:** [June 14, 2007, 7:56am UTC](https://forum.kirupa.com/t/sending-vars-from-one-swf-to-another-like-this/229117 "2007-06-14T07:56:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarah\_h](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Sarah\_h](https://forum.kirupa.com/u/Sarah_h)\
**Post date:** [June 14, 2007, 7:56am UTC](https://forum.kirupa.com/t/sending-vars-from-one-swf-to-another-like-this/229117/1 "2007-06-14T07:56:30Z")

</div>

I’ve always used this method to pass a var from one swf to another.

\_root.placeholder.loadMovie (“assets/images/1005/1005.swf?variable=4”);

So this passes var variable from the main movie to 1005.swf which is loaded into placeholder. Now, this used to work in previous versions of flash but in version I see an error complaining that the main movie (with placeholder) can’t find 1005.swf. If I remove ?variable=4 it find the movie ok but of course no vars get passed.

Can anyone help with this? Is this even do-able in 8?

Sarah
