# Send data to module

**URL:** <https://forum.kirupa.com/t/send-data-to-module/280432>\
**Category:** flash\
**Created:** [January 27, 2009, 4:58pm UTC](https://forum.kirupa.com/t/send-data-to-module/280432 "2009-01-27T16:58:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DHDesign](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@DHDesign](https://forum.kirupa.com/u/DHDesign)\
**Post date:** [January 27, 2009, 4:58pm UTC](https://forum.kirupa.com/t/send-data-to-module/280432/1 "2009-01-27T16:58:44Z")

</div>

im calling a module in my flex app, but i need to send it a variable and have no idea how this is done (both sending the variable and then the module retrieving it)…basically, the module generates a tree which gathers data from a PHP-generated XML…so I need the data that is sent to the module to be sent to the PHP file to show the details depending on which page the user is on.

```auto

<mx:ModuleLoader url="lists.swf" width="30%" height="100%" />

```

just a thought, if I were to add “?id=3” to the SWF, would that work and how would I retrieve that value in the module to use?
