# Please Help - Passing local variable to live content?

**URL:** https://forum.kirupa.com/t/please-help-passing-local-variable-to-live-content/197992
**Category:** flash
**Created:** [August 21, 2006, 4:00pm UTC](https://forum.kirupa.com/t/please-help-passing-local-variable-to-live-content/197992 "2006-08-21T16:00:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![atebit](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@atebit](https://forum.kirupa.com/u/atebit)
#### Post date: [August 21, 2006, 4:00pm UTC](https://forum.kirupa.com/t/please-help-passing-local-variable-to-live-content/197992/1 "2006-08-21T16:00:09Z")

</div>

i am trying to solve a problem and i think that i have a solution…i just don’t know if its possible…here’s the situation:

- an interactive cd with links to individual URLs; the user clicks a link and is  
taken to a log in page (which is basically just a password input screen)

- if their log in is successful, they are then directed to the specific page they  
clicked to, from the cd

**my question is this:**  
say that _from the cd_ , they click “link2”…is there a way to have flash store a variable (let’s call it “link2” as well) in this \*\*LOCAL \*\* content, that i can then check with an if statement in the **LIVE** content

i am thinking that if the login page just has an if statement that looks for that variable (“link2” , “linkX” , etc), and then depending on its name, takes you to the appropriate page (link2.html, etc)

i just don’t exactly know how to pass that variable from local content to a live flash site…can anyone help me wrap my head around this one? thanks for your time
