A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Is it possible to pass local variables to live content?

  1. #1

    Is it possible to pass local variables to live content?

    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

  2. #2
    say no more loydall's Avatar
    Join Date
    Feb 2001
    Location
    London
    Posts
    1,261
    Not entirely sure if this is what you're after but what about, on your cd, just use like:

    www.awebsite.com/login/?fromLink=link2

    And then pass that link2 variable like that and pick it up on the log in page?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center