A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Variable : from flash to php

  1. #1
    Junior Member
    Join Date
    Apr 2004

    Variable : from flash to php

    I'm trying to make flash tell my php index where the user clicked in the flash window.

    Situation : i got an intro in flash, from there, the user can choose the site he wants to go(he can click on a couple of buttons, each one redirects to a different site). The site he chooses is made in php(some items change from one site to another, but the index.php is the same), so I need to know which site the user chose while he was still in the flash part. I didn't lose too much people with those messy explanations I hope?!

    I got : myvalue= new LoadVars();
    myvalue.site = "theonesite";

    well, I got Flash 5, I think this won't work in that version, right? If it really doesn't work, is there any other way to go trough (else than suicide!!)


  2. #2
    Join Date
    Aug 2003
    Just a suggestion but why dont you open something like index.php?site=SiteToOpen from flash, where SiteToOpen = one of you variables, and then you can just find out the site easily in php.

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Thanks a lot! That's the way I finally decided to go (with getURL(index.php?...)...but I'm not pleased with the info shown in the adress bar, well I guess I'll come back to this problem someday!


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