# Loading variables, using flashVars, etc... please help!

**URL:** <https://forum.kirupa.com/t/loading-variables-using-flashvars-etc-please-help/182706>\
**Category:** Uncategorized\
**Created:** [March 20, 2006, 9:48pm UTC](https://forum.kirupa.com/t/loading-variables-using-flashvars-etc-please-help/182706 "2006-03-20T21:48:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [March 20, 2006, 9:48pm UTC](https://forum.kirupa.com/t/loading-variables-using-flashvars-etc-please-help/182706/1 "2006-03-20T21:48:56Z")

</div>

So I have almost finish my flash orientation with the help of this great forum [Kirupa.com](http://Kirupa.com) :thumb: .  
Now I’m faced with connecting my flash orientation to a database or viceversa.

My [[COLOR=blue]flash orientation[/COLOR] needs to accept a [COLOR=red]parameter[/COLOR] which contains a unique **ID** for the user running the [URL=“http://i-mambo.net/EAS/flash\_orientation.html”][COLOR=blue]flash orientation[/COLOR]. This **ID** needs to be stored throughout the session of the [URL=“http://i-mambo.net/EAS/flash\_orientation.html”][COLOR=blue]flash orientation[/COLOR], from section to section. Once a user travels from section-X to section-X in the [URL=“http://i-mambo.net/EAS/flash\_orientation.html”][COLOR=blue]Flash Orientation[/COLOR], the next button needs to call an aspx page in order to send that **ID** and the page position so the aspx can write to an XML file this information. If the user does not finish the [URL=“http://i-mambo.net/EAS/flash\_orientation.html”]flash orientation, once they return, the aspx needs to read the correct XML file and send 2 [COLOR=red]parameters[/COLOR] to the [COLOR=blue][URL=“http://i-mambo.net/EAS/flash\_orientation.html”]flash orientation](http://i-mambo.net/EAS/flash_orientation.html)[/COLOR]. These 2 [COLOR=red]parameters[/COLOR] will be the user’s **ID** and the page the user was on the flash can load the correct page. Instead of passing 2 [COLOR=red]parameters[/COLOR] so the flash can dynamically load the correct section, the aspx can call the correct flash file(i.e. flash\_file2.swf) but still pass the user’s **ID** as a [COLOR=red]parameter[/COLOR]. :hr:

Any advice on what should i search on… how should i begin?.. what coding should i add on my main.swf … etc? :ear:

please help.

thank you so much!

---

<div class="post-metadata">

**Author:** ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Post date:** [March 21, 2006, 2:25pm UTC](https://forum.kirupa.com/t/loading-variables-using-flashvars-etc-please-help/182706/2 "2006-03-21T14:25:13Z")

</div>

Anyone please help on how should I start by accomplish this?

by the way my flash orientation is here so you can see better what i’m talking about.

[http://i-mambo.net/EAS/flash\_orientation.html](http://i-mambo.net/EAS/flash_orientation.html)

please advice!
