A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Simple question: Flash and PHP

  1. #1

    Simple question: Flash and PHP

    Hello!

    I though this would be easy but as it turns out, I don't know what I'me doing

    I have a index.php that contains a flash menu. And I want the links in flash to change depending on the php e.g:

    If I go to index.php?language=eng&store=discshop

    I want the flash button get the URL

    index.php?language=eng&store=discshop

    se what I mean?

    So I start by loading variables from php:
    Code:
    loadVariables ("index.php", 0);
    but i'me not sure about the as for the button... It should be something like:
    Code:
    on (release) {
    	gotoAndStop(3);
    	getURL("index.php?&language=$language&store=$store)
    }
    Thanks for any help!

  2. #2
    Found this line of code in a tut here at FK

    Code:
    loadVariables ("http://www.musicbay.se/oscar/index.php?store"+store, 0);
    I guess that tells flash which variable to load from the php...

  3. #3
    anybody know if it's even possible? really need this!

  4. #4
    Member
    Join Date
    Aug 2003
    Location
    Romania
    Posts
    39
    i have attached 2 examples that i've used and worked for me.

    George
    Attached Files Attached Files

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